mirror_ubuntu-kernels/drivers/gpu/drm/amd
Yang Wang 63b5fa9dbb drm/amdgpu: fix gmc init fail in sriov mode
"adev->gfx.rlc.rlcg_reg_access_supported = true;"
the above varible were set too late during driver initialization.
it will cause the driver to fail to write/read register during GMC hw init
in sriov mode.

move gfx_xxx_init_rlcg_reg_access_ctrl() function to gfx early init stage
to avoid this issue.

Fixes: 5d447e2967 ("drm/amdgpu: add helper for rlcg indirect reg access")

Signed-off-by: Yang Wang <KevinYang.Wang@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2022-02-09 16:57:52 -05:00
..
acp
amdgpu drm/amdgpu: fix gmc init fail in sriov mode 2022-02-09 16:57:52 -05:00
amdkfd drm/amdkfd: Consolidate MQD manager functions 2022-02-09 16:57:51 -05:00
display drm/amdgpu: move dpcs_3_0_3 headers from dcn to dpcs 2022-02-07 18:03:50 -05:00
include drm/amdkfd: Remove unused old debugger implementation 2022-02-09 16:57:51 -05:00
pm drm/amd/pm: correct hwmon power label name 2022-02-09 16:57:52 -05:00