[Intel-gfx] [PATCH] drm/i915: Move non-phys cursors into the GTT

Arkadiusz Miskiewicz arekm at maven.pl
Wed Jun 2 22:05:42 CEST 2010


On Wednesday 02 of June 2010, Chris Wilson wrote:
> Cursors need to be in the GTT domain when being accessed by the GPU.
> Previously this was a fortuitous byproduct of userspace using pwrite()
> to upload the image data into the cursor. The redundant clflush was
> removed in commit 9b8c4a and so the image was no longer being flushed
> out of the caches into main memory. One could also devise a scenario
> where the cursor was rendered by the GPU, prior to being attached as the
> cursor, resulting in similar corruption due to the missing MI_FLUSH.
> 
> Fixes:
> 
>   Bug 28335 - Cursor corruption caused by commit 9b8c4a0b21
>   https://bugs.freedesktop.org/show_bug.cgi?id=28335
> 
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

Tested-by: Arkadiusz Miśkiewicz <arekm at maven.pl>

-- 
Arkadiusz Miśkiewicz        PLD/Linux Team
arekm / maven.pl            http://ftp.pld-linux.org/



More information about the Intel-gfx mailing list