[PATCH] drm/radeon: copy userspace cmd to local copy before processing it v3

2013-02-08 Thread Alex Deucher
On Fri, Feb 8, 2013 at 6:13 PM, wrote: > From: Jerome Glisse > > In some rare case were packet is big enough to go over page boundary > we might not have copied yet the userspace data into the local copy > resulting in kernel reading garbage data. > > Without this patch kernel might submit unpro

[PATCH] drm/radeon: copy userspace cmd to local copy before processing it v3

2013-02-08 Thread j.gli...@gmail.com
From: Jerome Glisse In some rare case were packet is big enough to go over page boundary we might not have copied yet the userspace data into the local copy resulting in kernel reading garbage data. Without this patch kernel might submit unprocessed/unrelocated cmd to the GPU which might lead to

Re: [PATCH] drm/radeon: copy userspace cmd to local copy before processing it v3

2013-02-08 Thread Alex Deucher
On Fri, Feb 8, 2013 at 6:13 PM, wrote: > From: Jerome Glisse > > In some rare case were packet is big enough to go over page boundary > we might not have copied yet the userspace data into the local copy > resulting in kernel reading garbage data. > > Without this patch kernel might submit unpro

[PATCH] drm/radeon: copy userspace cmd to local copy before processing it v3

2013-02-08 Thread j . glisse
From: Jerome Glisse In some rare case were packet is big enough to go over page boundary we might not have copied yet the userspace data into the local copy resulting in kernel reading garbage data. Without this patch kernel might submit unprocessed/unrelocated cmd to the GPU which might lead to