[PATCH] drm/amd/pm: add unique_id for gfx12
Alex Deucher
alexdeucher at gmail.com
Tue Mar 11 18:24:54 UTC 2025
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
On Tue, Mar 11, 2025 at 2:17 PM Harish Kasiviswanathan
<Harish.Kasiviswanathan at amd.com> wrote:
>
> Expose unique_id for gfx12
>
> Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan at amd.com>
> ---
> drivers/gpu/drm/amd/pm/amdgpu_pm.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/gpu/drm/amd/pm/amdgpu_pm.c b/drivers/gpu/drm/amd/pm/amdgpu_pm.c
> index 1d04f1b79ded..2179344e78d9 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:
> --
> 2.34.1
>
More information about the amd-gfx
mailing list