summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorGavin Wan <Gavin.Wan@amd.com>2023-04-04 00:49:41 +0300
committerAlex Deucher <alexander.deucher@amd.com>2023-06-09 16:58:02 +0300
commitb0a3bbf947f6ed690336cec1f6cde2a30d082dbb (patch)
treed0c67cca70d021bef094062bf44b52aaa2a2ea5b /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parent63630c9e5c3481c51ac3b4ee058628a01ac91ba8 (diff)
downloadlinux-b0a3bbf947f6ed690336cec1f6cde2a30d082dbb.tar.xz
drm/amdgpu: Skip using MC FB Offset when APU flag is set for SRIOV.
The MC_VM_FB_OFFSET is PF only register. It cannot be read on VF. So, the driver should not use MC_VM_FB_OFFSET address to set the address of dev->gmc.aper_base. Signed-off-by: Gavin Wan <Gavin.Wan@amd.com> Reviewed-by: Zhigang Luo <zhigang.luo@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions