[AMD Official Use Only - General] > -----Original Message----- > From: amd-gfx <amd-gfx-bounces@xxxxxxxxxxxxxxxxxxxxx> On Behalf Of Thong > Sent: Tuesday, February 6, 2024 6:28 PM > To: amd-gfx@xxxxxxxxxxxxxxxxxxxxx > Cc: Thai, Thong <Thong.Thai@xxxxxxx> > Subject: [PATCH] drm/amdgpu/soc21: update VCN 4 max HEVC encoding > resolution > > Update the maximum resolution reported for HEVC encoding on VCN 4 devices > to reflect its 8K encoding capability. > Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3159 With that added, Acked-by: Alex Deucher <alexander.deucher@xxxxxxx> > Signed-off-by: Thong <thong.thai@xxxxxxx> > --- > drivers/gpu/drm/amd/amdgpu/soc21.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/gpu/drm/amd/amdgpu/soc21.c > b/drivers/gpu/drm/amd/amdgpu/soc21.c > index 48c6efcdeac9..4d7188912edf 100644 > --- a/drivers/gpu/drm/amd/amdgpu/soc21.c > +++ b/drivers/gpu/drm/amd/amdgpu/soc21.c > @@ -50,13 +50,13 @@ static const struct amd_ip_funcs > soc21_common_ip_funcs; > /* SOC21 */ > static const struct amdgpu_video_codec_info > vcn_4_0_0_video_codecs_encode_array_vcn0[] = { > > {codec_info_build(AMDGPU_INFO_VIDEO_CAPS_CODEC_IDX_MPEG4 > _AVC, 4096, 2304, 0)}, > - {codec_info_build(AMDGPU_INFO_VIDEO_CAPS_CODEC_IDX_HEVC, > 4096, 2304, 0)}, > + {codec_info_build(AMDGPU_INFO_VIDEO_CAPS_CODEC_IDX_HEVC, > 8192, 4352, > +0)}, > {codec_info_build(AMDGPU_INFO_VIDEO_CAPS_CODEC_IDX_AV1, > 8192, 4352, 0)}, }; > > static const struct amdgpu_video_codec_info > vcn_4_0_0_video_codecs_encode_array_vcn1[] = { > > {codec_info_build(AMDGPU_INFO_VIDEO_CAPS_CODEC_IDX_MPEG4 > _AVC, 4096, 2304, 0)}, > - {codec_info_build(AMDGPU_INFO_VIDEO_CAPS_CODEC_IDX_HEVC, > 4096, 2304, 0)}, > + {codec_info_build(AMDGPU_INFO_VIDEO_CAPS_CODEC_IDX_HEVC, > 8192, 4352, > +0)}, > }; > > static const struct amdgpu_video_codecs > vcn_4_0_0_video_codecs_encode_vcn0 = { > -- > 2.34.1