summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd
diff options
context:
space:
mode:
authorJames Zhu <James.Zhu@amd.com>2021-05-18 15:44:23 +0300
committerAlex Deucher <alexander.deucher@amd.com>2021-05-20 01:05:50 +0300
commitab95cb3e1bc44d4376bd8d331b1cff82b99020e3 (patch)
tree9fe1e268e1675cfb86b5bbf39d181df5ceada6fe /drivers/gpu/drm/amd
parentfa7e6abc75f3d491bc561734312d065dc9dc2a77 (diff)
downloadlinux-ab95cb3e1bc44d4376bd8d331b1cff82b99020e3.tar.xz
drm/amdgpu: add video_codecs query support for aldebaran
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>
Diffstat (limited to 'drivers/gpu/drm/amd')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/soc15.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
index 980675052b53..e65c286f93a6 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;