drm/amdgpu - Corrected the video codecs array name for yellow carp
Subsystems (2)
PATCH 1/1 drm/amdgpu - Corrected the video codecs array name for yellow carp
From: Veerabadhran Gopalakrishnan <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/nv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/nv.c +1 -1
@@ -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,
Signature · 6 lines
2.25.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
[Public]
.codec_count = ARRAY_SIZE(bg_video_codecs_decode_array),
You need to change bg_xxx to yc_xxx as well.
Regards,
Guchun
-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of [email protected]
Sent: Monday, July 19, 2021 9:39 PM
To: [email protected]
Cc: Zhang, Boyuan <[email protected]>; Gopalakrishnan, Veerabadhran (Veera) <[email protected]>; Zhu, James <[email protected]>; Liu, Leo <[email protected]>; Rao, Srinath <[email protected]>
Subject: [PATCH] drm/amdgpu - Corrected the video codecs array name for yellow carp
From: Veerabadhran Gopalakrishnan <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/nv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/nv.c +1 -1
@@ -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
[email protected]
https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Famd-gfx&data=04%7C01%7Cguchun.chen%40amd.com%7C5eeeb3a77fad4647678008d94aba9688%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637622987531891570%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=DI5h9oLQdSykmLEUgDXoobouTACHLMk99hnP92udTMo%3D&reserved=0
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx