[PATCH 6/6] drm/amd/powerplay: set powerplay support cap on raven

Deucher, Alexander Alexander.Deucher at amd.com
Wed May 24 13:07:14 UTC 2017


> -----Original Message-----
> From: amd-gfx [mailto:amd-gfx-bounces at lists.freedesktop.org] On Behalf
> Of Hawking Zhang
> Sent: Wednesday, May 24, 2017 7:14 AM
> To: amd-gfx at lists.freedesktop.org
> Cc: Zhang, Hawking
> Subject: [PATCH 6/6] drm/amd/powerplay: set powerplay support cap on
> raven
> 
> Change-Id: I9aa5e78c1cf19b9069d37215bfd2517980bdf2a6
> Signed-off-by: Hawking Zhang <Hawking.Zhang at amd.com>

Series is:
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

> ---
>  drivers/gpu/drm/amd/powerplay/hwmgr/rv_hwmgr.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/rv_hwmgr.c
> b/drivers/gpu/drm/amd/powerplay/hwmgr/rv_hwmgr.c
> index 01413ca1..5b130ef 100644
> --- a/drivers/gpu/drm/amd/powerplay/hwmgr/rv_hwmgr.c
> +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/rv_hwmgr.c
> @@ -515,6 +515,9 @@ static int rv_hwmgr_backend_init(struct pp_hwmgr
> *hwmgr)
>  		return result;
>  	}
> 
> +	phm_cap_set(hwmgr->platform_descriptor.platformCaps,
> +                PHM_PlatformCaps_PowerPlaySupport);
> +
>  	rv_populate_clock_table(hwmgr);
> 
>  	result = rv_get_system_info_data(hwmgr);
> --
> 2.7.4
> 
> _______________________________________________
> 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