From: James Zhu Date: Tue, 18 May 2021 12:44:23 +0000 (-0400) Subject: drm/amdgpu: add video_codecs query support for aldebaran X-Git-Tag: v5.15~765^2~23^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=295c4f513f50602f09788e944b30761a20f9f239;p=platform%2Fkernel%2Flinux-starfive.git drm/amdgpu: add video_codecs query support for aldebaran Add video_codecs query support for aldebaran. Signed-off-by: James Zhu Reviewed-by: Leo Liu Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c index 080e715799d4..75008cc5f189 100644 --- a/drivers/gpu/drm/amd/amdgpu/soc15.c +++ b/drivers/gpu/drm/amd/amdgpu/soc15.c @@ -302,6 +302,7 @@ static int soc15_query_video_codecs(struct amdgpu_device *adev, bool encode, *codecs = &rv_video_codecs_decode; return 0; case CHIP_ARCTURUS: + case CHIP_ALDEBARAN: case CHIP_RENOIR: if (encode) *codecs = &vega_video_codecs_encode;