diff options
| author | Yang Wang <[email protected]> | 2022-02-09 14:15:24 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-02-09 21:57:52 +0000 |
| commit | 63b5fa9dbb711e245e59cc14eaae0106eb716447 (patch) | |
| tree | 84b0e49c0a6f608c92ce4a439190dbd61cc29f1a /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
| parent | drm/amd/pm: correct hwmon power label name (diff) | |
| download | kernel-63b5fa9dbb711e245e59cc14eaae0106eb716447.tar.gz kernel-63b5fa9dbb711e245e59cc14eaae0106eb716447.zip | |
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: 5d447e29670148 ("drm/amdgpu: add helper for rlcg indirect reg access")
Signed-off-by: Yang Wang <[email protected]>
Reviewed-by: Hawking Zhang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions
