summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.h
diff options
context:
space:
mode:
authorTao Zhou <tao.zhou1@amd.com>2024-03-11 09:51:49 +0100
committerAlex Deucher <alexander.deucher@amd.com>2024-03-20 18:38:14 +0100
commit176c3e89567fdc037c318f672bbe3c2271004560 (patch)
tree52c87a5aa29800c95d0b175afa713ba6344b7091 /drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.h
parentdrm/amdgpu: add VCN sensor value for Vangogh (diff)
downloadlinux-176c3e89567fdc037c318f672bbe3c2271004560.tar.xz
linux-176c3e89567fdc037c318f672bbe3c2271004560.zip
drm/amdgpu: add utcl2 RAS poison query for mmhub
Add it for mmhub v1.8. Signed-off-by: Tao Zhou <tao.zhou1@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.h
index 1ca9d4ed8063..95d676ee207f 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.h
@@ -63,6 +63,8 @@ struct amdgpu_mmhub_funcs {
uint64_t page_table_base);
void (*update_power_gating)(struct amdgpu_device *adev,
bool enable);
+ bool (*query_utcl2_poison_status)(struct amdgpu_device *adev,
+ int hub_inst);
};
struct amdgpu_mmhub {