aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gfxhub.h
diff options
context:
space:
mode:
authorXiaomeng Hou <[email protected]>2021-04-06 01:33:16 +0000
committerAlex Deucher <[email protected]>2021-06-04 20:03:24 +0000
commitb3accd6f6642699cc50bcf9a43d4c5f878f23eee (patch)
tree127562335a37d4098be3de7b46d9b7c6da7bc59e /drivers/gpu/drm/amd/amdgpu/amdgpu_gfxhub.h
parentdrm/amd/pm: add the interface to dump smu metrics table for yellow carp (diff)
downloadkernel-b3accd6f6642699cc50bcf9a43d4c5f878f23eee.tar.gz
kernel-b3accd6f6642699cc50bcf9a43d4c5f878f23eee.zip
drm/amdgpu: add gpu harvest support for yellow carp (v2)
Register callback in gfxhub functions to program the bypass groups in gc_utcl2 corresponding to harvested SA. v2: update comments (Alex) Signed-off-by: Xiaomeng Hou <[email protected]> Signed-off-by: Aaron Liu <[email protected]> Reviewed-by: Huang Rui <[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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfxhub.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfxhub.h
index 66ebc2e3b2ad..beabab515836 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfxhub.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfxhub.h
@@ -34,6 +34,7 @@ struct amdgpu_gfxhub_funcs {
void (*set_fault_enable_default)(struct amdgpu_device *adev, bool value);
void (*init)(struct amdgpu_device *adev);
int (*get_xgmi_info)(struct amdgpu_device *adev);
+ void (*utcl2_harvest)(struct amdgpu_device *adev);
};
struct amdgpu_gfxhub {