From: Tim Huang Date: Mon, 15 Aug 2022 06:04:49 +0000 (+0800) Subject: drm/amdgpu: enable GFXOFF allow control for GC IP v11.0.1 X-Git-Tag: v6.6.17~6361^2~19^2~159 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=95a72fb73c5900f1b8f00b2559179760ddb729ac;p=platform%2Fkernel%2Flinux-rpi.git drm/amdgpu: enable GFXOFF allow control for GC IP v11.0.1 Enable GFXOFF allow control when set the GFX power gating. Signed-off-by: Tim Huang Reviewed-by: Yifan Zhang Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c index 158d87e..f45db80 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c @@ -5328,8 +5328,7 @@ static int gfx_v11_0_set_powergating_state(void *handle, break; case IP_VERSION(11, 0, 1): gfx_v11_cntl_pg(adev, enable); - /* TODO: Enable this when GFXOFF is ready */ - // amdgpu_gfx_off_ctrl(adev, enable); + amdgpu_gfx_off_ctrl(adev, enable); break; default: break;