Skip to content

Commit 6ce2ea0

Browse files
Veerabadhran Gopalakrishnanalexdeucher
authored andcommitted
drm/amdgpu/soc21: Add video cap query support for VCN_4_0_4
Added the video capability query support for VCN version 4_0_4 Signed-off-by: Veerabadhran Gopalakrishnan <[email protected]> Reviewed-by: Leo Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Cc: [email protected] # 6.1.x
1 parent b42fee5 commit 6ce2ea0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/gpu/drm/amd/amdgpu/soc21.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ static int soc21_query_video_codecs(struct amdgpu_device *adev, bool encode,
111111
switch (adev->ip_versions[UVD_HWIP][0]) {
112112
case IP_VERSION(4, 0, 0):
113113
case IP_VERSION(4, 0, 2):
114+
case IP_VERSION(4, 0, 4):
114115
if (adev->vcn.harvest_config & AMDGPU_VCN_HARVEST_VCN0) {
115116
if (encode)
116117
*codecs = &vcn_4_0_0_video_codecs_encode_vcn1;

0 commit comments

Comments
 (0)