[PATCH] drm/amd/pm: disbale dcefclk device sysnode on GFX v9.4.3 chip
Alex Deucher
alexdeucher at gmail.com
Fri Jun 30 15:21:04 UTC 2023
On Fri, Jun 30, 2023 at 7:22 AM Yang Wang <kevinyang.wang at amd.com> wrote:
>
> the dceflck sysnode is not aviable on GFX v9.4.3 chip.
>
> Signed-off-by: Yang Wang <kevinyang.wang at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
> ---
> drivers/gpu/drm/amd/pm/amdgpu_pm.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/pm/amdgpu_pm.c b/drivers/gpu/drm/amd/pm/amdgpu_pm.c
> index 9ef88a0b1b57..5bf401533103 100644
> --- a/drivers/gpu/drm/amd/pm/amdgpu_pm.c
> +++ b/drivers/gpu/drm/amd/pm/amdgpu_pm.c
> @@ -2050,7 +2050,8 @@ static int default_attr_update(struct amdgpu_device *adev, struct amdgpu_device_
> } else if (DEVICE_ATTR_IS(pp_dpm_dcefclk)) {
> if (gc_ver < IP_VERSION(9, 0, 0) ||
> gc_ver == IP_VERSION(9, 4, 1) ||
> - gc_ver == IP_VERSION(9, 4, 2))
> + gc_ver == IP_VERSION(9, 4, 2) ||
> + gc_ver == IP_VERSION(9, 4, 3))
> *states = ATTR_STATE_UNSUPPORTED;
> } else if (DEVICE_ATTR_IS(pp_dpm_fclk)) {
> if (mp1_ver < IP_VERSION(10, 0, 0))
> --
> 2.34.1
>
More information about the amd-gfx
mailing list