aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSonny Jiang <[email protected]>2022-07-21 17:27:11 +0000
committerAlex Deucher <[email protected]>2022-07-28 20:28:54 +0000
commit1c0a90364859c17d57a7f08d6209b73e7e1142cd (patch)
treeab33bee71fe2fc30709ec881da61f544f03c5cff
parentdrm/amdgpu: add VCN_4_0_2 firmware support (diff)
downloadkernel-1c0a90364859c17d57a7f08d6209b73e7e1142cd.tar.gz
kernel-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 <[email protected]> Reviewed-by: James Zhu <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
-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