[PATCH v5 01/16] drm/xe: Adjust ringbuf emission for maximum possible size
Tvrtko Ursulin
tvrtko.ursulin at igalia.com
Tue Apr 15 12:40:26 UTC 2025
On 15/04/2025 12:59, Francois Dugast wrote:
> On Thu, Apr 03, 2025 at 08:03:01PM +0100, Tvrtko Ursulin wrote:
>> 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 at igalia.com>
>
> Reviewed-by: Francois Dugast <francois.dugast at intel.com>
Thank you!
Can you (or maintainers) take this one from the series or I should send
it standalone?
Regards,
Tvrtko
>> ---
>> drivers/gpu/drm/xe/xe_ring_ops_types.h | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/gpu/drm/xe/xe_ring_ops_types.h b/drivers/gpu/drm/xe/xe_ring_ops_types.h
>> index 1ae56e2ee7b4..d7e3e150a9a5 100644
>> --- a/drivers/gpu/drm/xe/xe_ring_ops_types.h
>> +++ b/drivers/gpu/drm/xe/xe_ring_ops_types.h
>> @@ -8,7 +8,7 @@
>>
>> struct xe_sched_job;
>>
>> -#define MAX_JOB_SIZE_DW 48
>> +#define MAX_JOB_SIZE_DW 58
>> #define MAX_JOB_SIZE_BYTES (MAX_JOB_SIZE_DW * 4)
>>
>> /**
>> --
>> 2.48.0
>>
More information about the Intel-xe
mailing list