drm/amdgpu: revise the device initialization sequences
authorEvan Quan <evan.quan@amd.com>
Fri, 11 Aug 2023 07:14:46 +0000 (15:14 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 31 Aug 2023 20:35:33 +0000 (16:35 -0400)
commit90bcb9b595549d75fca573a22f06b05ee15117fa
treedb86308d89b223c3cf3e5635e5c472408b6e62ee
parent3e38b634f94ef7fe76020cb0df805f218b6a637e
drm/amdgpu: revise the device initialization sequences

By placing the sysfs interfaces creation after `.late_int`. Since some
operations performed during `.late_init` may affect how the sysfs
interfaces should be created.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c