[PATCH 10/10] drm/amd/powerplay: no need to mask workable gfxoff feature for vega12
Quan, Evan
Evan.Quan at amd.com
Mon Jul 9 04:36:32 UTC 2018
Ping..
> -----Original Message-----
> From: Evan Quan [mailto:evan.quan at amd.com]
> Sent: Thursday, July 05, 2018 5:10 PM
> To: amd-gfx at lists.freedesktop.org
> Cc: Quan, Evan <Evan.Quan at amd.com>
> Subject: [PATCH 10/10] drm/amd/powerplay: no need to mask workable
> gfxoff feature for vega12
>
> Gfxoff feature for vega12 is workable. So, there is no need to mask it any
> more.
>
> Change-Id: I7e4d05c5c0acc2aa2b077eaaaf6f13589c87114b
> Signed-off-by: Evan Quan <evan.quan at amd.com>
> ---
> drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c
> b/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c
> index 9b675d9bd162..8994aa5c8cf8 100644
> --- a/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c
> +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c
> @@ -147,10 +147,10 @@ int hwmgr_early_init(struct pp_hwmgr *hwmgr)
> smu7_init_function_pointers(hwmgr);
> break;
> case AMDGPU_FAMILY_AI:
> - hwmgr->feature_mask &= ~PP_GFXOFF_MASK;
> switch (hwmgr->chip_id) {
> case CHIP_VEGA10:
> case CHIP_VEGA20:
> + hwmgr->feature_mask &= ~PP_GFXOFF_MASK;
> hwmgr->smumgr_funcs = &vega10_smu_funcs;
> vega10_hwmgr_init(hwmgr);
> break;
> --
> 2.18.0
More information about the amd-gfx
mailing list