[PATCH] drm/amdgpu: add video_codecs query support for aldebaran
Leo Liu
leo.liu at amd.com
Tue May 18 13:30:33 UTC 2021
Reviewed-by: Leo Liu <leo.liu at amd.com>
On 2021-05-18 8:47 a.m., James Zhu wrote:
> Add video_codecs query support for aldebaran.
>
> Signed-off-by: James Zhu <James.Zhu at amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/soc15.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
> index 080e715..75008cc 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;
More information about the amd-gfx
mailing list