All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/amd/powerplay: Partially revert change initialize platform caps
@ 2016-09-14  8:38 Rex Zhu
       [not found] ` <1473842317-26809-1-git-send-email-Rex.Zhu-5C7GfCeVMHo@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Rex Zhu @ 2016-09-14  8:38 UTC (permalink / raw)
  To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW; +Cc: Rex Zhu

partially revert commit I36f3c9e3a28cbf290652edfb6e19109da660c4f1
this will lead APU can't work.

Change-Id: I2233e2f21058540ff782e27e07fa0d0937692ace
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
---
 drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c
index 1b3151c..524d0dd 100644
--- a/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c
+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c
@@ -658,18 +658,12 @@ void hwmgr_init_default_caps(struct pp_hwmgr *hwmgr)
 		PHM_PlatformCaps_DynamicPatchPowerState);
 
 	phm_cap_set(hwmgr->platform_descriptor.platformCaps,
-			 PHM_PlatformCaps_TablelessHardwareInterface);
-
-	phm_cap_set(hwmgr->platform_descriptor.platformCaps,
 		PHM_PlatformCaps_EnableSMU7ThermalManagement);
 
 	phm_cap_set(hwmgr->platform_descriptor.platformCaps,
 			PHM_PlatformCaps_DynamicPowerManagement);
 
 	phm_cap_set(hwmgr->platform_descriptor.platformCaps,
-			PHM_PlatformCaps_UnTabledHardwareInterface);
-
-	phm_cap_set(hwmgr->platform_descriptor.platformCaps,
 					PHM_PlatformCaps_SMC);
 
 	phm_cap_set(hwmgr->platform_descriptor.platformCaps,
-- 
1.9.1

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

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

* Re: [PATCH] drm/amd/powerplay: Partially revert change initialize platform caps
       [not found] ` <1473842317-26809-1-git-send-email-Rex.Zhu-5C7GfCeVMHo@public.gmane.org>
@ 2016-09-14  8:51   ` Huang Rui
  2016-09-14 14:24   ` Alex Deucher
  1 sibling, 0 replies; 3+ messages in thread
From: Huang Rui @ 2016-09-14  8:51 UTC (permalink / raw)
  To: Rex Zhu; +Cc: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

On Wed, Sep 14, 2016 at 04:38:37PM +0800, Rex Zhu wrote:
> partially revert commit I36f3c9e3a28cbf290652edfb6e19109da660c4f1
> this will lead APU can't work.
> 
> Change-Id: I2233e2f21058540ff782e27e07fa0d0937692ace
> Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>

Reviewed-by: Huang Rui <ray.huang@amd.com>

> ---
>  drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c | 6 ------
>  1 file changed, 6 deletions(-)
> 
> diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c
> index 1b3151c..524d0dd 100644
> --- a/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c
> +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c
> @@ -658,18 +658,12 @@ void hwmgr_init_default_caps(struct pp_hwmgr *hwmgr)
>  		PHM_PlatformCaps_DynamicPatchPowerState);
>  
>  	phm_cap_set(hwmgr->platform_descriptor.platformCaps,
> -			 PHM_PlatformCaps_TablelessHardwareInterface);
> -
> -	phm_cap_set(hwmgr->platform_descriptor.platformCaps,
>  		PHM_PlatformCaps_EnableSMU7ThermalManagement);
>  
>  	phm_cap_set(hwmgr->platform_descriptor.platformCaps,
>  			PHM_PlatformCaps_DynamicPowerManagement);
>  
>  	phm_cap_set(hwmgr->platform_descriptor.platformCaps,
> -			PHM_PlatformCaps_UnTabledHardwareInterface);
> -
> -	phm_cap_set(hwmgr->platform_descriptor.platformCaps,
>  					PHM_PlatformCaps_SMC);
>  
>  	phm_cap_set(hwmgr->platform_descriptor.platformCaps,
> -- 
> 1.9.1
> 
> _______________________________________________
> 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

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

* Re: [PATCH] drm/amd/powerplay: Partially revert change initialize platform caps
       [not found] ` <1473842317-26809-1-git-send-email-Rex.Zhu-5C7GfCeVMHo@public.gmane.org>
  2016-09-14  8:51   ` Huang Rui
@ 2016-09-14 14:24   ` Alex Deucher
  1 sibling, 0 replies; 3+ messages in thread
From: Alex Deucher @ 2016-09-14 14:24 UTC (permalink / raw)
  To: Rex Zhu; +Cc: amd-gfx list

On Wed, Sep 14, 2016 at 4:38 AM, Rex Zhu <Rex.Zhu@amd.com> wrote:
> partially revert commit I36f3c9e3a28cbf290652edfb6e19109da660c4f1
> this will lead APU can't work.
>
> Change-Id: I2233e2f21058540ff782e27e07fa0d0937692ace
> Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>

> ---
>  drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c | 6 ------
>  1 file changed, 6 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c
> index 1b3151c..524d0dd 100644
> --- a/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c
> +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c
> @@ -658,18 +658,12 @@ void hwmgr_init_default_caps(struct pp_hwmgr *hwmgr)
>                 PHM_PlatformCaps_DynamicPatchPowerState);
>
>         phm_cap_set(hwmgr->platform_descriptor.platformCaps,
> -                        PHM_PlatformCaps_TablelessHardwareInterface);
> -
> -       phm_cap_set(hwmgr->platform_descriptor.platformCaps,
>                 PHM_PlatformCaps_EnableSMU7ThermalManagement);
>
>         phm_cap_set(hwmgr->platform_descriptor.platformCaps,
>                         PHM_PlatformCaps_DynamicPowerManagement);
>
>         phm_cap_set(hwmgr->platform_descriptor.platformCaps,
> -                       PHM_PlatformCaps_UnTabledHardwareInterface);
> -
> -       phm_cap_set(hwmgr->platform_descriptor.platformCaps,
>                                         PHM_PlatformCaps_SMC);
>
>         phm_cap_set(hwmgr->platform_descriptor.platformCaps,
> --
> 1.9.1
>
> _______________________________________________
> 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

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

end of thread, other threads:[~2016-09-14 14:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-14  8:38 [PATCH] drm/amd/powerplay: Partially revert change initialize platform caps Rex Zhu
     [not found] ` <1473842317-26809-1-git-send-email-Rex.Zhu-5C7GfCeVMHo@public.gmane.org>
2016-09-14  8:51   ` Huang Rui
2016-09-14 14:24   ` Alex Deucher

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.