diff options
author | Gavin Wan <Gavin.Wan@amd.com> | 2023-04-03 17:49:41 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-06-09 09:58:02 -0400 |
commit | b0a3bbf947f6ed690336cec1f6cde2a30d082dbb (patch) | |
tree | d0c67cca70d021bef094062bf44b52aaa2a2ea5b /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
parent | 63630c9e5c3481c51ac3b4ee058628a01ac91ba8 (diff) | |
download | linux-b0a3bbf947f6ed690336cec1f6cde2a30d082dbb.tar.gz linux-b0a3bbf947f6ed690336cec1f6cde2a30d082dbb.tar.bz2 linux-b0a3bbf947f6ed690336cec1f6cde2a30d082dbb.zip |
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