Skip to content
Snippets Groups Projects
Commit 1f6fec53 authored by Sonny Jiang's avatar Sonny Jiang Committed by Kenny Ho
Browse files

drm/amdgpu: vcn_4_0_2 video codec query


Enable support for vcn_4_0_2 video codec

Signed-off-by: Sonny Jiang's avatarSonny Jiang <sonny.jiang@amd.com>
Reviewed-by: default avatarJames Zhu <James.Zhu@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 644867a5
No related branches found
No related tags found
No related merge requests found
...@@ -80,6 +80,7 @@ static int soc21_query_video_codecs(struct amdgpu_device *adev, bool encode, ...@@ -80,6 +80,7 @@ static int soc21_query_video_codecs(struct amdgpu_device *adev, bool encode,
switch (adev->ip_versions[UVD_HWIP][0]) { switch (adev->ip_versions[UVD_HWIP][0]) {
case IP_VERSION(4, 0, 0): case IP_VERSION(4, 0, 0):
case IP_VERSION(4, 0, 2):
if (encode) if (encode)
*codecs = &vcn_4_0_0_video_codecs_encode; *codecs = &vcn_4_0_0_video_codecs_encode;
else else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment