• Yintian Tao's avatar
    drm/amdgpu: turn back rlcg write for gfx_v10 · 72d99b39
    Yintian Tao authored
    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: default avatarYintian Tao <yttao@amd.com>
    Acked-by: default avatarAlex Deucher <alexander.deucher@amd.com>
    Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
    72d99b39
gfx_v10_0.c 374 KB