aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/pm/amdgpu_pm.c
diff options
context:
space:
mode:
authorKent Russell <kent.russell@amd.com>2023-02-06 12:21:42 -0500
committerAlex Deucher <alexander.deucher@amd.com>2023-02-08 17:36:38 -0500
commit35e67ca67635d48ce373ae51f93e4672216adc9d (patch)
treeeece3a46d41437287a313caffbf1a5861be3495e /drivers/gpu/drm/amd/pm/amdgpu_pm.c
parent7a58444090f0ef5f3b49503c66aeed81d5a7d6d9 (diff)
downloadlinux-35e67ca67635d48ce373ae51f93e4672216adc9d.tar.gz
linux-35e67ca67635d48ce373ae51f93e4672216adc9d.tar.bz2
linux-35e67ca67635d48ce373ae51f93e4672216adc9d.zip
drm/amdgpu: Add unique_id support for GC 11.0.1/2
These can support unique_id, so create the sysfs file for them Signed-off-by: Kent Russell <kent.russell@amd.com> Reviewed-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com> Reviewed-by: Christian König <christian.koenig@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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/pm/amdgpu_pm.c b/drivers/gpu/drm/amd/pm/amdgpu_pm.c
index bd060697d982..bf6d63673b5a 100644
--- a/drivers/gpu/drm/amd/pm/amdgpu_pm.c
+++ b/drivers/gpu/drm/amd/pm/amdgpu_pm.c
@@ -1991,6 +1991,8 @@ static int default_attr_update(struct amdgpu_device *adev, struct amdgpu_device_
case IP_VERSION(9, 4, 2):
case IP_VERSION(10, 3, 0):
case IP_VERSION(11, 0, 0):
+ case IP_VERSION(11, 0, 1):
+ case IP_VERSION(11, 0, 2):
*states = ATTR_STATE_SUPPORTED;
break;
default: