]> git.baikalelectronics.ru Git - kernel.git/commitdiff
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 980675052b53debad1ea08187a0fbc9e1568403d..e65c286f93a6bbf80e73ea83cafa3b22f9ff470f 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;