[Intel-gfx] [regression] drm/i915/execbuffer: Reorder binding of objects to favour restrictions

Alexey Fisher bug-track at fisher-privat.net
Fri Jan 14 16:11:07 CET 2011


Hi Chris,

i have new regression after this patch. Like usual, artifakts,
disappearing icons, with only one difference gl seems to work ok.

see screencast in attachment.

My HW:
board Intel DG45ID, graphic:
Vendor: 0x8086, Device: 0x2e22, Revision: 0x03 (A3)

xserver-xorg-video-intel
2:2.14.0+git20110110.fd9235eb-0ubuntu0sarvatt~maverick

xserver-xorg
1:7.5+6+xserver1.9

commit 6fe4f14044f181e146cdc15485428f95fa541ce8
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Mon Jan 10 17:35:37 2011 +0000

drm/i915/execbuffer: Reorder binding of objects to favour restrictions

As the mappable portion of the aperture is always a small subset at the
start of the GTT, it is allocated preferentially by drm_mm. This is
useful in case we ever need to map an object later. However, if you have
a large object that can consume the entire mappable region of the
GTT this prevents the batchbuffer from fitting and so causing an error.
Instead allocate all those that require a mapping up front in order to
improve the likelihood of finding sufficient space to bind them.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
-- 
Regards,
        Alexey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bild-1.ogv
Type: video/ogg
Size: 1705930 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20110114/076ba587/attachment.ogv>


More information about the Intel-gfx mailing list