summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorSonny Jiang <sonny.jiang@amd.com>2022-07-21 13:27:11 -0400
committerAlex Deucher <alexander.deucher@amd.com>2022-07-28 16:28:54 -0400
commit1c0a90364859c17d57a7f08d6209b73e7e1142cd (patch)
treeab33bee71fe2fc30709ec881da61f544f03c5cff /drivers/gpu
parentcbe93a234bcce489be319e678dbf167b7a5f915a (diff)
downloadlinux-stable-1c0a90364859c17d57a7f08d6209b73e7e1142cd.tar.gz
linux-stable-1c0a90364859c17d57a7f08d6209b73e7e1142cd.tar.bz2
linux-stable-1c0a90364859c17d57a7f08d6209b73e7e1142cd.zip
drm/amdgpu: vcn_4_0_2 video codec query
Enable support for vcn_4_0_2 video codec Signed-off-by: Sonny Jiang <sonny.jiang@amd.com> Reviewed-by: James Zhu <James.Zhu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/soc21.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/soc21.c b/drivers/gpu/drm/amd/amdgpu/soc21.c
index 00e9b7089feb..68e78983f956 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc21.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc21.c
@@ -80,6 +80,7 @@ static int soc21_query_video_codecs(struct amdgpu_device *adev, bool encode,
switch (adev->ip_versions[UVD_HWIP][0]) {
case IP_VERSION(4, 0, 0):
+ case IP_VERSION(4, 0, 2):
if (encode)
*codecs = &vcn_4_0_0_video_codecs_encode;
else