Skip to content

Commit

Permalink
drm/i915: Remove unwanted pointer unpacking
Browse files Browse the repository at this point in the history
In await_fence_array(), unpacking syncobj pointer is not needed.
Remove it.

Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220927181346.1187-1-niranjana.vishwanathapura@intel.com
  • Loading branch information
Niranjana Vishwanathapura authored and Tvrtko Ursulin committed Sep 28, 2022
1 parent 1e88da4 commit b801d71
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -2955,11 +2955,6 @@ await_fence_array(struct i915_execbuffer *eb,
int err;

for (n = 0; n < eb->num_fences; n++) {
struct drm_syncobj *syncobj;
unsigned int flags;

syncobj = ptr_unpack_bits(eb->fences[n].syncobj, &flags, 2);

if (!eb->fences[n].dma_fence)
continue;

Expand Down

0 comments on commit b801d71

Please sign in to comment.