summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/include/vega20_ip_offset.h
diff options
context:
space:
mode:
authorFeifei Xu <Feifei.Xu@amd.com>2018-02-06 12:29:23 +0800
committerAlex Deucher <alexander.deucher@amd.com>2018-05-17 08:54:24 -0500
commitb6110c00ced26b66999eb00b90c35b767cd45da4 (patch)
tree8d19a3830c1c42fed67d8237f153b8f15aa21473 /drivers/gpu/drm/amd/include/vega20_ip_offset.h
parentcc3a98cc6efd0e60e0ed547f9f76f5d4e23fb758 (diff)
drm/amdgpu: Fix hardcoded base offset of vram pages
In gmc_v9_0_vram_gtt_location(),the vram_base_offset is hardcoded to 0 in dGPU. Fix it by reading mmMC_VM_FB_OFFSET or return zfb_phys_addr if ZFB is enabled. Signed-off-by: Feifei Xu <Feifei.Xu@amd.com> Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/include/vega20_ip_offset.h')
0 files changed, 0 insertions, 0 deletions