[PATCH] drm/amdgpu/vce2: fix ip block reference
Boyuan Zhang
Boyuan.Zhang at amd.com
Sun Mar 9 21:20:52 UTC 2025
On 2025-03-09 12:31, Alex Deucher wrote:
> Need to use the correct IP block type. VCE vs VCN.
> Fixes mclk issues on Hawaii.
>
> Suggested by selendym.
>
> Fixes: 82ae6619a450a ("drm/amdgpu: update the handle ptr in wait_for_idle")
> Closes:https://gitlab.freedesktop.org/drm/amd/-/issues/3997
> Cc: Sunil Khatri<sunil.khatri at amd.com>
> Signed-off-by: Alex Deucher<alexander.deucher at amd.com>
Reviewed-by: Boyuan Zhang <Boyuan.Zhang at amd.com>
<mailto:Boyuan.Zhang at amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/vce_v2_0.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/vce_v2_0.c b/drivers/gpu/drm/amd/amdgpu/vce_v2_0.c
> index 8c8c02606d25a..bee3e904a6bc7 100644
> --- a/drivers/gpu/drm/amd/amdgpu/vce_v2_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/vce_v2_0.c
> @@ -284,7 +284,7 @@ static int vce_v2_0_stop(struct amdgpu_device *adev)
> return 0;
> }
>
> - ip_block = amdgpu_device_ip_get_ip_block(adev, AMD_IP_BLOCK_TYPE_VCN);
> + ip_block = amdgpu_device_ip_get_ip_block(adev, AMD_IP_BLOCK_TYPE_VCE);
> if (!ip_block)
> return -EINVAL;
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20250309/b240e022/attachment.htm>
More information about the amd-gfx
mailing list