]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Remove early exit on i915_gpu_idle
authorBen Widawsky <ben@bwidawsk.net>
Mon, 17 Oct 2011 22:51:54 +0000 (15:51 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 20 Oct 2011 22:26:38 +0000 (15:26 -0700)
commit7c03cbad3f668cca5ff7d685447ce92e094c9077
treec7db0fe0b11c133ed29499cdb8ae9e500bcb7111
parent0d2f5645bdb19da4e5d6ed8e708df947293e74f5
drm/i915: Remove early exit on i915_gpu_idle

[Description from: Daniel Vetter]
I've just discussed this quickly with Chris on irc and it's probably
best to just kill the list_empty early bailout. gpu_idle isn't a
fastpath, so who cares. One candidate where we emit commands to the ring
without adding anything onto these lists is e.g. pageflip. There are
probably more.

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/i915_gem.c