]> bbs.cooldavid.org Git - net-next-2.6.git/commit - drivers/gpu/drm/i915/i915_gem.c
drm/i915: Clear GPU read domains on reset
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 19 Sep 2010 11:31:36 +0000 (12:31 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 21 Sep 2010 10:19:53 +0000 (11:19 +0100)
commit77f01230223a08792f5320ebba27af9cbb81b0cf
tree26781f9316514cabec7b8cd449827dc04cb349b1
parent9375e446e7f43be9a7c21e246cee35ea912532ec
drm/i915: Clear GPU read domains on reset

Clear the GPU read domain for the inactive objects on a reset so that
they are correctly invalidated on reuse.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c