drm/amdgpu: update VCN codec support for Yellow Carp
authorjsg <jsg@openbsd.org>
Wed, 15 Jun 2022 07:49:55 +0000 (07:49 +0000)
committerjsg <jsg@openbsd.org>
Wed, 15 Jun 2022 07:49:55 +0000 (07:49 +0000)
From Alex Deucher
2b7d9fd0f3725135b40571d6a44bbbaeead132fe in linux 5.15.y/5.15.47
97e50305542f384741a5b45699aba349fe9fca73 in mainline linux

sys/dev/pci/drm/amd/amdgpu/nv.c

index 1dd3ca4..2406c60 100644 (file)
@@ -170,6 +170,7 @@ static const struct amdgpu_video_codec_info yc_video_codecs_decode_array[] = {
        {codec_info_build(AMDGPU_INFO_VIDEO_CAPS_CODEC_IDX_HEVC, 8192, 4352, 186)},
        {codec_info_build(AMDGPU_INFO_VIDEO_CAPS_CODEC_IDX_VP9, 8192, 4352, 0)},
        {codec_info_build(AMDGPU_INFO_VIDEO_CAPS_CODEC_IDX_JPEG, 4096, 4096, 0)},
+       {codec_info_build(AMDGPU_INFO_VIDEO_CAPS_CODEC_IDX_AV1, 8192, 4352, 0)},
 };
 
 static const struct amdgpu_video_codecs yc_video_codecs_decode = {