diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-08-09 17:37:24 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-08-11 12:20:25 +0200 |
commit | 82b6b6d786466e705e7244cc676189ce47a9199a (patch) | |
tree | 419ed0e45084fe3cab2a373ee05123f9cc2546c7 /drivers/gpu/drm/i915/i915_gem_tiling.c | |
parent | e6a844687cf929ec053c7578d5ecc794a8a6c5cf (diff) | |
download | op-kernel-dev-82b6b6d786466e705e7244cc676189ce47a9199a.zip op-kernel-dev-82b6b6d786466e705e7244cc676189ce47a9199a.tar.gz |
drm/i915: Remove fenced_gpu_access and pending_fenced_gpu_access
This migrates the fence tracking onto the existing seqno
infrastructure so that the later conversion to tracking via requests is
simplified.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem_tiling.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_gem_tiling.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem_tiling.c b/drivers/gpu/drm/i915/i915_gem_tiling.c index cb150e8..7e623bf 100644 --- a/drivers/gpu/drm/i915/i915_gem_tiling.c +++ b/drivers/gpu/drm/i915/i915_gem_tiling.c @@ -376,7 +376,7 @@ i915_gem_set_tiling(struct drm_device *dev, void *data, if (ret == 0) { obj->fence_dirty = - obj->fenced_gpu_access || + obj->last_fenced_seqno || obj->fence_reg != I915_FENCE_REG_NONE; obj->tiling_mode = args->tiling_mode; |