summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.h
diff options
context:
space:
mode:
authorTianci.Yin <tianci.yin@amd.com>2020-10-12 13:10:13 +0300
committerAlex Deucher <alexander.deucher@amd.com>2022-05-04 16:57:18 +0300
commit98a0f8687e3135b4606e17bb05fc0a5fa33be55f (patch)
tree5e7a6f322971aad3d34f15e437395be02d5ac276 /drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.h
parent9f99d9830554a13dc9f5e47dbaddfae36cbf416e (diff)
downloadlinux-98a0f8687e3135b4606e17bb05fc0a5fa33be55f.tar.xz
drm/amdgpu: add mmhub v3_0 ip block
Add support for mmhub v3.0 Signed-off-by: Tianci.Yin <tianci.yin@amd.com> Signed-off-by: Likun Gao <Likun.Gao@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.h
index f939395c5914..93430d3823c9 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.h
@@ -27,6 +27,7 @@ struct amdgpu_mmhub_ras {
struct amdgpu_mmhub_funcs {
u64 (*get_fb_location)(struct amdgpu_device *adev);
+ u64 (*get_mc_fb_offset)(struct amdgpu_device *adev);
void (*init)(struct amdgpu_device *adev);
int (*gart_enable)(struct amdgpu_device *adev);
void (*set_fault_enable_default)(struct amdgpu_device *adev,