diff options
author | Andrzej Hajda <andrzej.hajda@intel.com> | 2023-07-20 13:30:02 +0200 |
---|---|---|
committer | Andrzej Hajda <andrzej.hajda@intel.com> | 2023-07-24 17:24:35 +0200 |
commit | d3f23ab93a1ecb70e8483aa40e997a2142addc86 (patch) | |
tree | 0a2d30a0ae64de8d9a36bce5d5be3a2853e3f69e /drivers/gpu/drm/i915/i915_request.c | |
parent | e4731b51c847e09ff87d50d6e4cd7ed7501978e9 (diff) | |
download | lwn-d3f23ab93a1ecb70e8483aa40e997a2142addc86.tar.gz lwn-d3f23ab93a1ecb70e8483aa40e997a2142addc86.zip |
drm/i915: use direct alias for i915 in requests
i915_request contains direct alias to i915, there is no point to go via
rq->engine->i915.
v2: added missing rq.i915 initialization in measure_breadcrumb_dw.
Signed-off-by: Andrzej Hajda <andrzej.hajda@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Acked-by: Nirmoy Das <nirmoy.das@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230720113002.1541572-1-andrzej.hajda@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_request.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_request.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_request.c b/drivers/gpu/drm/i915/i915_request.c index 630a732aaecc..f87da1b33e55 100644 --- a/drivers/gpu/drm/i915/i915_request.c +++ b/drivers/gpu/drm/i915/i915_request.c @@ -1353,7 +1353,7 @@ __i915_request_await_external(struct i915_request *rq, struct dma_fence *fence) { mark_external(rq); return i915_sw_fence_await_dma_fence(&rq->submit, fence, - i915_fence_context_timeout(rq->engine->i915, + i915_fence_context_timeout(rq->i915, fence->context), I915_FENCE_GFP); } |