[PATCH] drm/amdgpu: Allow GfxOff on Vangogh as default
Huang Rui
ray.huang at amd.com
Thu Jan 21 02:25:24 UTC 2021
On Thu, Jan 21, 2021 at 10:13:40AM +0800, Su, Jinzhou (Joe) wrote:
> Send allow GfxOff message to SMU to enter GfxOff
> mode as default.
>
> Signed-off-by: Jinzhou Su <Jinzhou.Su at amd.com>
Reviewed-by: Huang Rui <ray.huang 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 dd102cc2516a..426a217ce83f 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
> @@ -7905,6 +7905,7 @@ static int gfx_v10_0_set_powergating_state(void *handle,
> break;
> case CHIP_VANGOGH:
> gfx_v10_cntl_pg(adev, enable);
> + amdgpu_gfx_off_ctrl(adev, enable);
> break;
> default:
> break;
> --
> 2.17.1
>
More information about the amd-gfx
mailing list