]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: move the wait_rendering call into flush_gpu_write_domain
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 11 Feb 2010 21:37:04 +0000 (22:37 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 8 Sep 2010 09:23:38 +0000 (10:23 +0100)
commitf494684d0aa6b71906daaf72a5efa8b810ca8bd8
treeb937406ef24ecc5fc1fdf9e479b3e915c7e60909
parentfc13f56e039dfc25fdb2dc0f6751da26a84d385f
drm/i915: move the wait_rendering call into flush_gpu_write_domain

One caller (for the pageflip support) wants a purely pipelined flush.
Distinguish this case by a new parameter. This will also be useful
later on for pipelined fencing.

v2: Simplify the code by depending upon the implicit request emitting
of i915_wait_request.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
[ickle: And drop the non-interruptible support in the process.]
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_gem.c