[PATCH] drm/xe: Move device sysfs init to before GT init
Lucas De Marchi
lucas.demarchi at intel.com
Sat Aug 23 12:03:54 UTC 2025
On Fri, Aug 22, 2025 at 06:56:53PM +0000, Stuart Summers wrote:
>I apologize for the noise here... please ignore this review. I think
>this was an issue of ordering in another series I'm debugging. I'll
>report back if it seems like something we want to pursue.
if it is, then make sure next version has the goto fixed.
...
>> diff --git a/drivers/gpu/drm/xe/xe_device.c
>> b/drivers/gpu/drm/xe/xe_device.c
>> index 3e0402dff423..f57007faa024 100644
>> --- a/drivers/gpu/drm/xe/xe_device.c
>> +++ b/drivers/gpu/drm/xe/xe_device.c
>> @@ -876,6 +876,10 @@ int xe_device_probe(struct xe_device *xe)
>> if (err)
>> return err;
>>
>> + err = xe_device_sysfs_init(xe);
>> + if (err)
>> + goto err_unregister_display;
this is not what we want to do at this point. It should only be for
after the xe_display_register(xe) call.
Lucas De Marchi
More information about the Intel-xe
mailing list