drm/amdgpu - Corrected the video codecs array name for yellow carp
authorVeerabadhran Gopalakrishnan <veerabadhran.gopalakrishnan@amd.com>
Mon, 19 Jul 2021 13:36:23 +0000 (19:06 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 23 Jul 2021 14:07:59 +0000 (10:07 -0400)
Signed-off-by: Veerabadhran Gopalakrishnan <veerabadhran.gopalakrishnan@amd.com>
Reviewed-by: James Zhu <James.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/nv.c

index cf73a69..751c7b8 100644 (file)
@@ -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,