aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/pm/amdgpu_pm.c
diff options
context:
space:
mode:
authorKent Russell <kent.russell@amd.com>2022-02-09 19:56:46 -0500
committerAlex Deucher <alexander.deucher@amd.com>2022-03-31 23:05:54 -0400
commitebd9c071d29e56b21ef5155757e0da9926d8d814 (patch)
tree49e666185c1727dfd8ed3e108ee43cae476e9863 /drivers/gpu/drm/amd/pm/amdgpu_pm.c
parent4a93d938a4cbebaafa20cb3ca449eb501f118b40 (diff)
downloadlinux-ebd9c071d29e56b21ef5155757e0da9926d8d814.tar.gz
linux-ebd9c071d29e56b21ef5155757e0da9926d8d814.tar.bz2
linux-ebd9c071d29e56b21ef5155757e0da9926d8d814.zip
drm/amdgpu: Add unique_id support for sienna cichlid
This is being added to SMU Metrics, so add the required tie-ins in the kernel. Also create the corresponding unique_id sysfs file. v2: Add FW version check, remove SMU mutex v3: Fix style warning v4: Add MP1 IP_VERSION check to FW version check Signed-off-by: Kent Russell <kent.russell@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/amdgpu_pm.c')
-rw-r--r--drivers/gpu/drm/amd/pm/amdgpu_pm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/pm/amdgpu_pm.c b/drivers/gpu/drm/amd/pm/amdgpu_pm.c
index 4151db2678fb..4a9aabc16fbc 100644
--- a/drivers/gpu/drm/amd/pm/amdgpu_pm.c
+++ b/drivers/gpu/drm/amd/pm/amdgpu_pm.c
@@ -1993,6 +1993,7 @@ static int default_attr_update(struct amdgpu_device *adev, struct amdgpu_device_
case IP_VERSION(9, 4, 0):
case IP_VERSION(9, 4, 1):
case IP_VERSION(9, 4, 2):
+ case IP_VERSION(10, 3, 0):
*states = ATTR_STATE_SUPPORTED;
break;
default: