[Intel-gfx] [PATCH] Graphics corruption issues

Peter Clifton pcjc2 at cam.ac.uk
Thu Apr 22 20:19:01 CEST 2010


Here is a patch for some graphics corruption issues I discovered since
this commit:

commit 1cc2c2c44ac72460cf1c4e6bdc13c612235809c9
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Wed Apr 14 11:18:25 2010 +0100

    i830: Use pixman_blt directly for performing the in-memory copy
    
    In order to avoid an infinite recursion after enabling CopyArea to use
    the put_image acceleration to either stream a blit or to copy in-place,
    we cannot call CopyArea from put_image for the fallback path. Instead,
    we can simply call pixman_blt directly, which coincidentally is a tiny
    bit faster.
    
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>


I've also attached a cosmetic clean-up in the same area.

-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)
Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-i830-pixman_blt-may-fail-ensure-we-pass-this-result-.patch
Type: text/x-patch
Size: 1324 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20100422/bd2a32d7/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-i830-Use-the-i830_pixmap_pitch-helper-function-for-c.patch
Type: text/x-patch
Size: 1092 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20100422/bd2a32d7/attachment-0001.bin>


More information about the Intel-gfx mailing list