Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/xe: Adjust ringbuf emission for maximum possible size

MAX_JOB_SIZE_DW seems to be undersized. For the worst case emission from
__emit_job_gen12_render_compute I hand count 57 dwords so lets bump this
to an even 58.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
Reviewed-by: Francois Dugast <francois.dugast@intel.com>
Link: https://lore.kernel.org/r/20250403190317.6064-2-tvrtko.ursulin@igalia.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>

authored by

Tvrtko Ursulin and committed by
Lucas De Marchi
53e11d24 c31a0b64

+1 -1
+1 -1
drivers/gpu/drm/xe/xe_ring_ops_types.h
··· 8 8 9 9 struct xe_sched_job; 10 10 11 - #define MAX_JOB_SIZE_DW 48 11 + #define MAX_JOB_SIZE_DW 58 12 12 #define MAX_JOB_SIZE_BYTES (MAX_JOB_SIZE_DW * 4) 13 13 14 14 /**