aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_smuio.h
diff options
context:
space:
mode:
authorRajneesh Bhardwaj <[email protected]>2022-04-13 03:33:20 +0000
committerAlex Deucher <[email protected]>2023-06-09 13:48:33 +0000
commit3d2ea552b229495050316e84d7cb0257cb3cd13b (patch)
tree53521b7d0dc2f842b0e7244336c5c9f3435bc925 /drivers/gpu/drm/amd/amdgpu/amdgpu_smuio.h
parentdrm/amdgpu: add smuio v13_0_3 ip headers (diff)
downloadkernel-3d2ea552b229495050316e84d7cb0257cb3cd13b.tar.gz
kernel-3d2ea552b229495050316e84d7cb0257cb3cd13b.zip
drm/amdgpu: implement smuio v13_0_3 callbacks
Add smuio v13_0_3 callbacks for SMUIO. Tested-by: Ori Messinger <[email protected]> Acked-by: Alex Deucher <[email protected]> Reviewed-by: Lijo Lazar <[email protected]> Signed-off-by: Rajneesh Bhardwaj <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_smuio.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_smuio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_smuio.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_smuio.h
index c7a823f3f2c5..89c38d864471 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_smuio.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_smuio.h
@@ -30,6 +30,7 @@ struct amdgpu_smuio_funcs {
void (*get_clock_gating_state)(struct amdgpu_device *adev, u64 *flags);
u32 (*get_die_id)(struct amdgpu_device *adev);
u32 (*get_socket_id)(struct amdgpu_device *adev);
+ enum amdgpu_pkg_type (*get_pkg_type)(struct amdgpu_device *adev);
bool (*is_host_gpu_xgmi_supported)(struct amdgpu_device *adev);
};