From: Veerabadhran Gopalakrishnan Date: Mon, 19 Jul 2021 13:36:23 +0000 (+0530) Subject: drm/amdgpu - Corrected the video codecs array name for yellow carp X-Git-Tag: v5.15~303^2~20^2~85 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f72ac409416eace7f8ae4b1aff9a63bb79768e7b;p=platform%2Fkernel%2Flinux-starfive.git drm/amdgpu - Corrected the video codecs array name for yellow carp Signed-off-by: Veerabadhran Gopalakrishnan Reviewed-by: James Zhu Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c index cf73a69..751c7b8b 100644 --- a/drivers/gpu/drm/amd/amdgpu/nv.c +++ b/drivers/gpu/drm/amd/amdgpu/nv.c @@ -173,8 +173,8 @@ static const struct amdgpu_video_codec_info yc_video_codecs_decode_array[] = { }; static const struct amdgpu_video_codecs yc_video_codecs_decode = { - .codec_count = ARRAY_SIZE(bg_video_codecs_decode_array), - .codec_array = bg_video_codecs_decode_array, + .codec_count = ARRAY_SIZE(yc_video_codecs_decode_array), + .codec_array = yc_video_codecs_decode_array, }; static int nv_query_video_codecs(struct amdgpu_device *adev, bool encode,