summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gfxhub.h
diff options
context:
space:
mode:
authorTao Zhou <tao.zhou1@amd.com>2024-02-19 15:51:29 +0800
committerAlex Deucher <alexander.deucher@amd.com>2024-03-20 13:37:36 -0400
commitfb0f5f541475184f87965fa892570c053fd9eda3 (patch)
treea9ada9102b3809f4911912d65c87ac8bf83db856 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfxhub.h
parentb7b23877a2479951578dcaa8523314ed2cceccc3 (diff)
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 <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_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 {