]> www.infradead.org Git - users/hch/misc.git/commit
drm/xe: Decouple job seqno and lrc seqno
authorMatthew Brost <matthew.brost@intel.com>
Mon, 27 May 2024 13:59:08 +0000 (15:59 +0200)
committerThomas Hellström <thomas.hellstrom@linux.intel.com>
Mon, 27 May 2024 19:25:59 +0000 (21:25 +0200)
commit08f7200899ca72dec550af092ae424b7db099abd
treeece7273ee4ce60d71ca6d2fabcec5f6f16925208
parentd79e8cab32371b0f08ae0ed6f1b2b9bd8b7a2873
drm/xe: Decouple job seqno and lrc seqno

Tightly coupling these seqno presents problems if alternative fences for
jobs are used. Decouple these for correctness.

v2:
- Slightly reword commit message (Thomas)
- Make sure the lrc fence ops are used in comparison (Thomas)
- Assume seqno is unsigned rather than signed in format string (Thomas)

Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240527135912.152156-2-thomas.hellstrom@linux.intel.com
drivers/gpu/drm/xe/xe_exec_queue.c
drivers/gpu/drm/xe/xe_guc_submit.c
drivers/gpu/drm/xe/xe_ring_ops.c
drivers/gpu/drm/xe/xe_sched_job.c
drivers/gpu/drm/xe/xe_sched_job.h
drivers/gpu/drm/xe/xe_sched_job_types.h
drivers/gpu/drm/xe/xe_trace.h