drm/xe/sched_job: prefer dma_fence_is_later
authorMatthew Auld <matthew.auld@intel.com>
Thu, 6 Apr 2023 16:26:24 +0000 (17:26 +0100)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 19 Dec 2023 23:31:41 +0000 (18:31 -0500)
commit1a9d163c4243c679e7a8d4c4abd787e40249485f
treeef4543c9035d9b4350e65d7f334d7bc753765081
parent79f2432e3138a3240a99441fc077181e2e8c8fb9
drm/xe/sched_job: prefer dma_fence_is_later

Doesn't look like we are accounting for seqno wrap. Just use
__dma_fence_is_later() like we already do for xe_hw_fence_signaled().

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_sched_job.c