]> Git Repo - linux.git/commit
drm/i915: Retire the VMA's fence tracker before unbinding
authorChris Wilson <[email protected]>
Tue, 20 Jun 2017 12:43:19 +0000 (13:43 +0100)
committerChris Wilson <[email protected]>
Wed, 21 Jun 2017 09:23:28 +0000 (10:23 +0100)
commit760a898d8069111704e1bd43f00ebf369ae46e57
tree35d9f3eaecee81856802c300893848b01be30e40
parenta25bcadd0d9204d9d9e00de4d71d7be570f44c6c
drm/i915: Retire the VMA's fence tracker before unbinding

Since we may track unfenced access (GPU access to the vma that
explicitly requires no fence), vma->last_fence may be set without any
attached fence (vma->fence) and so will not be flushed when we call
i915_vma_put_fence(). Since we stopped doing a full retire of the
activity trackers for unbind, we need to explicitly retire each tracker.

Fixes: b0decaf75bd9 ("drm/i915: Track active vma requests")
Signed-off-by: Chris Wilson <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Tvrtko Ursulin <[email protected]>
drivers/gpu/drm/i915/i915_vma.c
This page took 0.058028 seconds and 4 git commands to generate.