Skip to content

Commit 53e11d2

Browse files
Tvrtko UrsulinLucas De Marchi
authored andcommitted
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>
1 parent c31a0b6 commit 53e11d2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/gpu/drm/xe/xe_ring_ops_types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
struct xe_sched_job;
1010

11-
#define MAX_JOB_SIZE_DW 48
11+
#define MAX_JOB_SIZE_DW 58
1212
#define MAX_JOB_SIZE_BYTES (MAX_JOB_SIZE_DW * 4)
1313

1414
/**

0 commit comments

Comments
 (0)