]> www.infradead.org Git - users/hch/misc.git/commit
drm/xe/exec_queue: Remove duplicated code
authorFrancois Dugast <francois.dugast@intel.com>
Fri, 9 Aug 2024 15:51:30 +0000 (17:51 +0200)
committerMatthew Brost <matthew.brost@intel.com>
Sun, 18 Aug 2024 01:31:53 +0000 (18:31 -0700)
commit7f0d7bee2079fc899c8280e177b0c0feb8b9debe
tree1aa2eea75fcaa35e6681f90e9855ebe87d2f8245
parent53fdfa19e6a9220a14c0bb21273880774ea70dbd
drm/xe/exec_queue: Remove duplicated code

This code section is the same as the body of
xe_exec_queue_last_fence_put_unlocked() so call the function instead and
remove duplicated code to make maintenance easier.

Signed-off-by: Francois Dugast <francois.dugast@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240809155156.1955925-6-francois.dugast@intel.com
drivers/gpu/drm/xe/xe_exec_queue.c