[PATCH] drm/xe: Fix NPD when saving default context

Lucas De Marchi lucas.demarchi at intel.com
Thu May 29 14:24:39 UTC 2025


On Wed, May 28, 2025 at 11:55:03PM -0500, Upadhyay, Tejas wrote:
>> @@ -114,7 +114,7 @@ struct xe_sched_job *xe_sched_job_create(struct
>> xe_exec_queue *q,
>>  	xe_exec_queue_get(job->q);
>>
>>  	err = drm_sched_job_init(&job->drm, q->entity, 1, NULL,
>> -				 q->xef->drm->client_id);
>> +				 q->xef ? q->xef->drm->client_id : 0);
>
>drm_sched_job_init() has only 4 args!

and the line above uses only 4.

Lucas De Marchi


More information about the dri-devel mailing list