[PATCH] drm/amd/powerplay: disable gfxoff for navi12

Alex Deucher alexdeucher at gmail.com
Thu Aug 15 04:09:02 UTC 2019


Acked-by: Alex Deucher <alexander.deucher at amd.com>

On Wed, Aug 14, 2019 at 11:41 PM Yuan, Xiaojie <Xiaojie.Yuan at amd.com> wrote:
>
> gfxoff doesn't work on navi12 yet, so disable it for now
>
> Signed-off-by: Xiaojie Yuan <xiaojie.yuan at amd.com>
> ---
>  drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
> index 066ba593af23..d644669e5d93 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
> @@ -580,6 +580,7 @@ static void gfx_v10_0_check_gfxoff_flag(struct amdgpu_device *adev)
>  {
>         switch (adev->asic_type) {
>         case CHIP_NAVI10:
> +       case CHIP_NAVI12:
>                 adev->pm.pp_feature &= ~PP_GFXOFF_MASK;
>                 break;
>         default:
> --
> 2.20.1
>
> _______________________________________________
> 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