All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/amdgpu - Corrected the video codecs array name for yellow carp
@ 2021-07-19 13:38 veerabadhran.gopalakrishnan
  2021-07-19 13:48 ` Chen, Guchun
  0 siblings, 1 reply; 2+ messages in thread
From: veerabadhran.gopalakrishnan @ 2021-07-19 13:38 UTC (permalink / raw)
  To: amd-gfx
  Cc: Boyuan.Zhang, Veerabadhran Gopalakrishnan, james.zhu, leo.liu,
	srinath.rao

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

Signed-off-by: Veerabadhran Gopalakrishnan <veerabadhran.gopalakrishnan@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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* RE: [PATCH] drm/amdgpu - Corrected the video codecs array name for yellow carp
  2021-07-19 13:38 [PATCH] drm/amdgpu - Corrected the video codecs array name for yellow carp veerabadhran.gopalakrishnan
@ 2021-07-19 13:48 ` Chen, Guchun
  0 siblings, 0 replies; 2+ messages in thread
From: Chen, Guchun @ 2021-07-19 13:48 UTC (permalink / raw)
  To: Gopalakrishnan, Veerabadhran (Veera), amd-gfx
  Cc: Rao, Srinath, Zhang, Boyuan, Zhu, James, Liu, Leo,
	Gopalakrishnan, Veerabadhran (Veera)

[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 <amd-gfx-bounces@lists.freedesktop.org> On Behalf Of veerabadhran.gopalakrishnan@amd.com
Sent: Monday, July 19, 2021 9:39 PM
To: amd-gfx@lists.freedesktop.org
Cc: Zhang, Boyuan <Boyuan.Zhang@amd.com>; Gopalakrishnan, Veerabadhran (Veera) <Veerabadhran.Gopalakrishnan@amd.com>; Zhu, James <James.Zhu@amd.com>; Liu, Leo <Leo.Liu@amd.com>; Rao, Srinath <Srinath.rao@amd.com>
Subject: [PATCH] drm/amdgpu - Corrected the video codecs array name for yellow carp

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

Signed-off-by: Veerabadhran Gopalakrishnan <veerabadhran.gopalakrishnan@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://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Famd-gfx&amp;data=04%7C01%7Cguchun.chen%40amd.com%7C5eeeb3a77fad4647678008d94aba9688%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637622987531891570%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=DI5h9oLQdSykmLEUgDXoobouTACHLMk99hnP92udTMo%3D&amp;reserved=0
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-19 13:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-19 13:38 [PATCH] drm/amdgpu - Corrected the video codecs array name for yellow carp veerabadhran.gopalakrishnan
2021-07-19 13:48 ` Chen, Guchun

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.