]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: turn back rlcg write for gfx_v10
authorYintian Tao <yttao@amd.com>
Tue, 12 May 2020 10:10:42 +0000 (18:10 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 14 May 2020 20:42:45 +0000 (16:42 -0400)
commitc1e66d0dc1c72ba5485567992e08d18d4d4a3026
treed6f675a9942b0913080b4ebb4b56a9091bf0a3b3
parentc42e8849e1504b1b07fbfbc0d05f30f3206b3d25
drm/amdgpu: turn back rlcg write for gfx_v10

There is no need to use amdgpu_mm_wreg_mmio_rlc()
during initialization time because this interface
is only designed for debugfs case to access the
registers which are only permitted by RLCG during
run-time. Therefore, turn back rlcg write for gfx_v10.
If we not turn back it, it will raise amdgpu load failure.
[   54.904333] amdgpu: SMU driver if version not matched
[   54.904393] amdgpu: SMU is initialized successfully!
[   54.905971] [drm] kiq ring mec 2 pipe 1 q 0
[   55.115416] amdgpu 0000:00:06.0: [drm:amdgpu_ring_test_helper [amdgpu]] *ERROR* ring gfx_0.0.0 test failed (-110)
[   55.118877] [drm:amdgpu_device_init [amdgpu]] *ERROR* hw_init of IP block <gfx_v10_0> failed -110
[   55.126587] amdgpu 0000:00:06.0: amdgpu_device_ip_init failed
[   55.133466] amdgpu 0000:00:06.0: Fatal error during GPU init

Signed-off-by: Yintian Tao <yttao@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c