[PATCH v2] drm/amdgpu - Corrected the video codecs array name for yellow carp
veerabadhran.gopalakrishnan at amd.com
veerabadhran.gopalakrishnan at amd.com
Mon Jul 19 13:56:34 UTC 2021
From: Veerabadhran Gopalakrishnan <veerabadhran.gopalakrishnan at amd.com>
Signed-off-by: Veerabadhran Gopalakrishnan <veerabadhran.gopalakrishnan at amd.com>
---
drivers/gpu/drm/amd/amdgpu/nv.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c
index cf73a6923..751c7b8b1 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,
--
2.25.1
More information about the amd-gfx
mailing list