diff options
author | Likun Gao <Likun.Gao@amd.com> | 2020-05-29 14:34:15 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-07-01 01:59:13 -0400 |
commit | e0da123a0495e75a7456faaf66e0a334887a80a2 (patch) | |
tree | 32a25dc63bed36ee72f19d723fd090296f2cdf8e /drivers/gpu/drm/amd/amdgpu | |
parent | 258d290c03ceda6540c4c831ae35669d82b95e15 (diff) |
drm/amdgpu: enable gfxoff for sienna_cichlid
Enable GFXOFF for sienna_cichlid.
Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c index cc1835cd0c91..5ddce490247d 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c @@ -3537,9 +3537,6 @@ static void gfx_v10_0_check_gfxoff_flag(struct amdgpu_device *adev) if (!gfx_v10_0_navi10_gfxoff_should_enable(adev)) adev->pm.pp_feature &= ~PP_GFXOFF_MASK; break; - case CHIP_SIENNA_CICHLID: - adev->pm.pp_feature &= ~PP_GFXOFF_MASK; - break; default: break; } @@ -7441,6 +7438,7 @@ static int gfx_v10_0_set_powergating_state(void *handle, case CHIP_NAVI10: case CHIP_NAVI14: case CHIP_NAVI12: + case CHIP_SIENNA_CICHLID: amdgpu_gfx_off_ctrl(adev, enable); break; default: |