drm/amdgpu: add video_codecs query support for aldebaran
authorJames Zhu <James.Zhu@amd.com>
Tue, 18 May 2021 12:44:23 +0000 (08:44 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 19 May 2021 22:05:50 +0000 (18:05 -0400)
Add video_codecs query support for aldebaran.

Signed-off-by: James Zhu <James.Zhu@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc15.c

index 9806750..e65c286 100644 (file)
@@ -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;