aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gfxhub.h
diff options
context:
space:
mode:
authorTao Zhou <[email protected]>2024-02-19 07:51:29 +0000
committerAlex Deucher <[email protected]>2024-03-20 17:37:36 +0000
commitfb0f5f541475184f87965fa892570c053fd9eda3 (patch)
treea9ada9102b3809f4911912d65c87ac8bf83db856 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfxhub.h
parentdrm/amdgpu: add new bit definitions for GC 9.0 PROTECTION_FAULT_STATUS (diff)
downloadkernel-fb0f5f541475184f87965fa892570c053fd9eda3.tar.gz
kernel-fb0f5f541475184f87965fa892570c053fd9eda3.zip
drm/amdgpu: add utcl2 poison query for gfxhub
Implement it for gfxhub 1.0 and 1.2. v2: input logical xcc id for poison query interface. Signed-off-by: Tao Zhou <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfxhub.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_gfxhub.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfxhub.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfxhub.h
index c7b44aeb671b..103a837ccc71 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfxhub.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfxhub.h
@@ -38,6 +38,8 @@ struct amdgpu_gfxhub_funcs {
void (*mode2_save_regs)(struct amdgpu_device *adev);
void (*mode2_restore_regs)(struct amdgpu_device *adev);
void (*halt)(struct amdgpu_device *adev);
+ bool (*query_utcl2_poison_status)(struct amdgpu_device *adev,
+ int xcc_id);
};
struct amdgpu_gfxhub {