summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-10-09 19:24:38 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-01-20 13:11:17 +0100
commit97c809fd9cf5e914322b53773ad0d67efe503fde (patch)
tree7316ce9d5bab69dc233f98f6860a1df510e1fa19 /drivers/gpu/drm/i915/i915_drv.h
parentd0a57789d5ec807fc218151b2fb2de4da30fbef5 (diff)
downloadlwn-97c809fd9cf5e914322b53773ad0d67efe503fde.tar.gz
lwn-97c809fd9cf5e914322b53773ad0d67efe503fde.zip
drm/i915: Only apply the mb() when flushing the GTT domain during a finish
Now that we seem to have brought order to the GTT barriers, the last one to review is the terminal barrier before we unbind the buffer from the GTT. This needs to only be performed if the buffer still resides in the GTT domain, and so we can skip some needless barriers otherwise. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
0 files changed, 0 insertions, 0 deletions