]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: Move reset-on-init sequence earlier
authorLijo Lazar <lijo.lazar@amd.com>
Tue, 7 Oct 2025 13:00:24 +0000 (18:30 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 13 Oct 2025 18:14:35 +0000 (14:14 -0400)
commit1cbac73d1a15db0f149cb0c6a932301de5f15b05
tree538074a1779a1d92245d9598676096258e5f69f2
parent9e2096baab9addedde324f406d3ec9166e70d15b
drm/amdgpu: Move reset-on-init sequence earlier

Complete reset-on-init sequence before sysfs interfaces are created.
Devices get properly initiaized only after reset, and then only sysfs
interfaces should be made available.

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/amdgpu/amdgpu_device.c