summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorVeerabadhran Gopalakrishnan <veerabadhran.gopalakrishnan@amd.com>2021-07-19 19:06:23 +0530
committerAlex Deucher <alexander.deucher@amd.com>2021-07-21 17:47:28 -0400
commitd80cded9cc25f841d5250d2e94a7b42be1e81c97 (patch)
treec9ed80468149529c2dd6c69164af1a14892b2aae /drivers
parent6be50f5d83adc9541de3d5be26e968182b5ac150 (diff)
downloadlinux-d80cded9cc25f841d5250d2e94a7b42be1e81c97.tar.bz2
drm/amdgpu - Corrected the video codecs array name for yellow carp
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/nv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c
index f589b8334be6..94d029dbf30d 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,