Skip to content

Commit 53e11d2

Browse files
Tvrtko Ursulinlucasdemarchi
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 <[email protected]> Reviewed-by: Francois Dugast <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lucas De Marchi <[email protected]>
1 parent c31a0b6 commit 53e11d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)