drm/amdgpu/sriov set driver_table address in VF
authorJack Zhang <Jack.Zhang1@amd.com>
Fri, 7 Feb 2020 05:49:02 +0000 (13:49 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Feb 2020 16:48:58 +0000 (11:48 -0500)
commit4bcbc25ce7fbc45daf2d0a4b42097d61370c210d
treeead324102fefbf56e22c73731fff5d230000e51c
parentdd1ab79910b80636f90e3467059727547b753c48
drm/amdgpu/sriov set driver_table address in VF

With the recent patch to unify VRAM address for driver
table(a83f82e). VF cannot dump table info any more because
SMU_MSG_SetDriverDramAddrHigh/Low were deleted in the
function of smu_update_table.

Therefore, VF also needs to set driver_table address
in smu_hw_init to fix this regression issue.

Signed-off-by: Jack Zhang <Jack.Zhang1@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c