]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Remove assertion over write domain after i915_gem_object_sync()
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 20 Jul 2012 11:41:00 +0000 (12:41 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 25 Jul 2012 16:23:51 +0000 (18:23 +0200)
commita3f8b528707ba084814c820f0df518c8d2dab365
treeedf6cbe1e7259b2597ff140141d033723db33b73
parentbdc60ffa44eef96895b4817d265b8f7c3e01e6e7
drm/i915: Remove assertion over write domain after i915_gem_object_sync()

As we move to lazily clearing the GPU write domain only when the buffer
becomes inactive, this leaves a window of opportunity for
i915_gem_object_pin_to_display_plane() to detect a seemingly
inconsistent value. This function is special as it tries to pipeline the
operation to avoid the stall and so may not retires the buffer and we
may not get the opportunity to clear the write domain. However, we know
all is good, so drop the assertion.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c