From: Harish Kasiviswanathan Date: Tue, 11 Mar 2025 18:15:18 +0000 (-0400) Subject: drm/amd/pm: add unique_id for gfx12 X-Git-Tag: v6.15-rc1~120^2~2^2~25 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=16fbc18cb07470cd33fb5f37ad181b51583e6dc0;p=thirdparty%2Flinux.git drm/amd/pm: add unique_id for gfx12 Expose unique_id for gfx12 Signed-off-by: Harish Kasiviswanathan Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/pm/amdgpu_pm.c b/drivers/gpu/drm/amd/pm/amdgpu_pm.c index 1d04f1b79dede..2179344e78d94 100644 --- a/drivers/gpu/drm/amd/pm/amdgpu_pm.c +++ b/drivers/gpu/drm/amd/pm/amdgpu_pm.c @@ -2341,6 +2341,8 @@ static int default_attr_update(struct amdgpu_device *adev, struct amdgpu_device_ case IP_VERSION(11, 0, 1): case IP_VERSION(11, 0, 2): case IP_VERSION(11, 0, 3): + case IP_VERSION(12, 0, 0): + case IP_VERSION(12, 0, 1): *states = ATTR_STATE_SUPPORTED; break; default: