From: Veerabadhran Gopalakrishnan <veerabadhran.gopalakrish...@amd.com>

Signed-off-by: Veerabadhran Gopalakrishnan <veerabadhran.gopalakrish...@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/nv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c
index cf73a6923..3027b44df 100644
--- a/drivers/gpu/drm/amd/amdgpu/nv.c
+++ b/drivers/gpu/drm/amd/amdgpu/nv.c
@@ -174,7 +174,7 @@ 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_array = yc_video_codecs_decode_array,
 };
 
 static int nv_query_video_codecs(struct amdgpu_device *adev, bool encode,
-- 
2.25.1

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to