]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/pm: Grant interface access after full init
authorLijo Lazar <lijo.lazar@amd.com>
Wed, 8 Oct 2025 07:37:13 +0000 (13:07 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 13 Oct 2025 18:14:35 +0000 (14:14 -0400)
commit2b5b3f9b698f8e5d6492763947231e7d9420d8da
tree7b1ff80ad52047927e44f70f49c455f4040b3cfc
parent1cbac73d1a15db0f149cb0c6a932301de5f15b05
drm/amd/pm: Grant interface access after full init

Allow access to user interfaces like sysfs/hwmon only after full
initialization of the device. When device is part of XGMI hive and a
reset is required during initialization, the inteface files will be
created as part of minimal device initialization. Full initialization of
the device will be done only after all devices in XGMI hive are probed
and a reset is done together on all.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Asad Kamal <asad.kamal@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/amdgpu_pm.c