[PATCH] drm/amdgpu/powerplay: enable powerplay by default on TOPAZ

Huang Rui ray.huang at amd.com
Fri Jul 29 01:59:32 UTC 2016


On Thu, Jul 28, 2016 at 01:40:02PM -0400, Alex Deucher wrote:
> Now that the implementation is complete.
> 
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>

Acked-by: Huang Rui <ray.huang at amd.com>

+ Alvin and Ken for awareness.

Thanks,
Rui

> ---
>  drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c
> index 260da02..57aa342 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c
> @@ -106,15 +106,13 @@ static int amdgpu_pp_early_init(void *handle)
>  		break;
>  	case CHIP_TONGA:
>  	case CHIP_FIJI:
> +	case CHIP_TOPAZ:
>  		adev->pp_enabled = (amdgpu_powerplay == 0) ? false : true;
>  		break;
>  	case CHIP_CARRIZO:
>  	case CHIP_STONEY:
>  		adev->pp_enabled = (amdgpu_powerplay > 0) ? true : false;
>  		break;
> -	case CHIP_TOPAZ:
> -		adev->pp_enabled = (amdgpu_powerplay > 0) ? true : false;
> -		break;
>  	/* These chips don't have powerplay implemenations */
>  	case CHIP_BONAIRE:
>  	case CHIP_HAWAII:
> -- 
> 2.5.5
> 
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx


More information about the amd-gfx mailing list