RE: [PATCH] drm/amd/powerplay: fix typo error for '3be7be08ac'

2018-01-04 Thread Tao, Yintian
Hi  Christian

Thanks for your review. I have submit it.


Best Regards
Yintian Tao

-Original Message-
From: Christian König [mailto:ckoenig.leichtzumer...@gmail.com] 
Sent: Thursday, January 04, 2018 5:35 PM
To: Zhu, Rex ; Tao, Yintian ; 
amd-gfx@lists.freedesktop.org
Cc: Zhou, David(ChunMing) 
Subject: Re: [PATCH] drm/amd/powerplay: fix typo error for '3be7be08ac'

Reviewed-by: Christian König 

Please commit ASAP since this is breaking builds, Christian.

Am 04.01.2018 um 10:11 schrieb Zhu, Rex:
> Reviewed-by: Rex Zhu 
>
> Best Regards
> Rex
> -Original Message-
> From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf 
> Of Yintian Tao
> Sent: Thursday, January 04, 2018 5:05 PM
> To: amd-gfx@lists.freedesktop.org
> Cc: Zhou, David(ChunMing); Tao, Yintian
> Subject: [PATCH] drm/amd/powerplay: fix typo error for '3be7be08ac'
>
> Due to typo error, it will cause compile error so fix it.
> Change-Id: Iabe7158e08e6aef155ca3394cafc6eb4256a0030
> Signed-off-by: Yintian Tao 
> ---
>   drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c 
> b/drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c
> index 7dc4cee..25dd778 100644
> --- a/drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c
> +++ b/drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c
> @@ -648,7 +648,7 @@ int smu7_init(struct pp_hwmgr *hwmgr)
>   
>   int smu7_smu_fini(struct pp_hwmgr *hwmgr)  {
> - struct smu7_smumgr smu_data = (struct smu7_smumgr 
> *)(hwmgr->smu_backend);
> + struct smu7_smumgr *smu_data = (struct smu7_smumgr 
> +*)(hwmgr->smu_backend);
>   
>   smu_free_memory(hwmgr->device, smu_data->header_buffer.handle);
>   if (!cgs_is_virtualization_enabled(hwmgr->device))
> --
> 2.7.4
>
> ___
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
> ___
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx

___
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx


Re: [PATCH] drm/amd/powerplay: fix typo error for '3be7be08ac'

2018-01-04 Thread Christian König

Reviewed-by: Christian König 

Please commit ASAP since this is breaking builds,
Christian.

Am 04.01.2018 um 10:11 schrieb Zhu, Rex:

Reviewed-by: Rex Zhu 

Best Regards
Rex
-Original Message-
From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf Of 
Yintian Tao
Sent: Thursday, January 04, 2018 5:05 PM
To: amd-gfx@lists.freedesktop.org
Cc: Zhou, David(ChunMing); Tao, Yintian
Subject: [PATCH] drm/amd/powerplay: fix typo error for '3be7be08ac'

Due to typo error, it will cause compile error so fix it.
Change-Id: Iabe7158e08e6aef155ca3394cafc6eb4256a0030
Signed-off-by: Yintian Tao 
---
  drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c 
b/drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c
index 7dc4cee..25dd778 100644
--- a/drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c
+++ b/drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c
@@ -648,7 +648,7 @@ int smu7_init(struct pp_hwmgr *hwmgr)
  
  int smu7_smu_fini(struct pp_hwmgr *hwmgr)  {

-   struct smu7_smumgr smu_data = (struct smu7_smumgr 
*)(hwmgr->smu_backend);
+   struct smu7_smumgr *smu_data = (struct smu7_smumgr
+*)(hwmgr->smu_backend);
  
  	smu_free_memory(hwmgr->device, smu_data->header_buffer.handle);

if (!cgs_is_virtualization_enabled(hwmgr->device))
--
2.7.4

___
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
___
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx


___
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx


RE: [PATCH] drm/amd/powerplay: fix typo error for '3be7be08ac'

2018-01-04 Thread Zhu, Rex
Reviewed-by: Rex Zhu 

Best Regards
Rex
-Original Message-
From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf Of 
Yintian Tao
Sent: Thursday, January 04, 2018 5:05 PM
To: amd-gfx@lists.freedesktop.org
Cc: Zhou, David(ChunMing); Tao, Yintian
Subject: [PATCH] drm/amd/powerplay: fix typo error for '3be7be08ac'

Due to typo error, it will cause compile error so fix it.
Change-Id: Iabe7158e08e6aef155ca3394cafc6eb4256a0030
Signed-off-by: Yintian Tao 
---
 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c 
b/drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c
index 7dc4cee..25dd778 100644
--- a/drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c
+++ b/drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c
@@ -648,7 +648,7 @@ int smu7_init(struct pp_hwmgr *hwmgr)
 
 int smu7_smu_fini(struct pp_hwmgr *hwmgr)  {
-   struct smu7_smumgr smu_data = (struct smu7_smumgr 
*)(hwmgr->smu_backend);
+   struct smu7_smumgr *smu_data = (struct smu7_smumgr 
+*)(hwmgr->smu_backend);
 
smu_free_memory(hwmgr->device, smu_data->header_buffer.handle);
if (!cgs_is_virtualization_enabled(hwmgr->device))
--
2.7.4

___
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
___
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx


[PATCH] drm/amd/powerplay: fix typo error for '3be7be08ac'

2018-01-04 Thread Yintian Tao
Due to typo error, it will cause compile error so fix it.
Change-Id: Iabe7158e08e6aef155ca3394cafc6eb4256a0030
Signed-off-by: Yintian Tao 
---
 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c 
b/drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c
index 7dc4cee..25dd778 100644
--- a/drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c
+++ b/drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c
@@ -648,7 +648,7 @@ int smu7_init(struct pp_hwmgr *hwmgr)
 
 int smu7_smu_fini(struct pp_hwmgr *hwmgr)
 {
-   struct smu7_smumgr smu_data = (struct smu7_smumgr 
*)(hwmgr->smu_backend);
+   struct smu7_smumgr *smu_data = (struct smu7_smumgr 
*)(hwmgr->smu_backend);
 
smu_free_memory(hwmgr->device, smu_data->header_buffer.handle);
if (!cgs_is_virtualization_enabled(hwmgr->device))
-- 
2.7.4

___
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx