]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe: Move xe_device_sysfs_init() to xe_device_probe()
authorRaag Jadav <raag.jadav@intel.com>
Tue, 6 May 2025 05:48:33 +0000 (11:18 +0530)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Wed, 7 May 2025 19:31:10 +0000 (15:31 -0400)
commitf3e875b3c05ce049634f04cc249dea2b2e728eb7
tree883afa37c20566bbc144be363ab5337cca9180bd
parent432cd94efdca06296cc5e76d673546f58aa90ee1
drm/xe: Move xe_device_sysfs_init() to xe_device_probe()

Since xe_device_sysfs_init() exposes device specific attributes, a better
place for it is xe_device_probe().

Signed-off-by: Raag Jadav <raag.jadav@intel.com>
Reviewed-by: Riana Tauro <riana.tauro@intel.com>
Link: https://lore.kernel.org/r/20250506054835.3395220-2-raag.jadav@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_device.c
drivers/gpu/drm/xe/xe_device_sysfs.c
drivers/gpu/drm/xe/xe_pm.c