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>
Wed, 21 Jul 2021 21:47:28 +0000 (17:47 -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 f589b83..94d029d 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,