]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/xe: Adjust ringbuf emission for maximum possible size
authorTvrtko Ursulin <tvrtko.ursulin@igalia.com>
Thu, 3 Apr 2025 19:03:01 +0000 (20:03 +0100)
committerLucas De Marchi <lucas.demarchi@intel.com>
Tue, 15 Apr 2025 14:20:41 +0000 (07:20 -0700)
commit53e11d245c34656af56625bb06d59b9934428aba
tree732f681afbac493124d0e9936bfb0e2d37ab5fcc
parentc31a0b6402d15b530514eee9925adfcb8cfbb1c9
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>
drivers/gpu/drm/xe/xe_ring_ops_types.h