summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/nv.c
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-23 10:07:59 -0400
commitf72ac409416eace7f8ae4b1aff9a63bb79768e7b (patch)
tree2aa8df6a3f0f0a473478510e49ced7cbe4698e98 /drivers/gpu/drm/amd/amdgpu/nv.c
parent933048103837710b6996d5487e5fcbc320b81503 (diff)
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/gpu/drm/amd/amdgpu/nv.c')
-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 cf73a6923203..751c7b8b13e6 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,