aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-01-07 10:39:13 +0000
committerEric Anholt <eric@anholt.net>2010-02-16 11:48:43 -0800
commit29105ccc43ead5a0179d04b1404611981e92e278 (patch)
tree1b6cf8f79d73e2ab17c7ab3d9a56e4784777681f /drivers/gpu/drm/i915/i915_drv.h
parent724e6d3fe8003c3f60bf404bf22e4e331327c596 (diff)
downloadkernel_samsung_aries-29105ccc43ead5a0179d04b1404611981e92e278.zip
kernel_samsung_aries-29105ccc43ead5a0179d04b1404611981e92e278.tar.gz
kernel_samsung_aries-29105ccc43ead5a0179d04b1404611981e92e278.tar.bz2
drm/i915: Replace open-coded eviction in i915_gem_idle()
With the introduction of the hang-check, we can safely expect that i915_wait_request() will always return even when the GPU hangs, and so do not need to open code the wait in order to manually check for the hang. Also we do not need to always evict all buffers, so only flush the GPU (and wait for it to idle) for KMS, but continue to evict for UMS. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
0 files changed, 0 insertions, 0 deletions