[PATCH 4/4] drm/amd/powerplay: add BACO platformCaps for VEGA20

Alex Deucher alexdeucher at gmail.com
Fri Oct 11 14:15:42 UTC 2019


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

On Fri, Oct 11, 2019 at 7:10 AM Le Ma <le.ma at amd.com> wrote:
>
> BACO reset is needed for RAS recovery.
>
> Change-Id: I8207fc314744468c89ba4a030cb2bb15b082aac7
> Signed-off-by: Le Ma <le.ma at amd.com>
> ---
>  drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
> index 6629c475..3d3c647 100644
> --- a/drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
> +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
> @@ -183,6 +183,9 @@ static int vega20_set_features_platform_caps(struct pp_hwmgr *hwmgr)
>                         PHM_PlatformCaps_TablelessHardwareInterface);
>
>         phm_cap_set(hwmgr->platform_descriptor.platformCaps,
> +                       PHM_PlatformCaps_BACO);
> +
> +       phm_cap_set(hwmgr->platform_descriptor.platformCaps,
>                         PHM_PlatformCaps_EnableSMU7ThermalManagement);
>
>         if (adev->pg_flags & AMD_PG_SUPPORT_UVD)
> --
> 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