diff options
author | Rex Zhu <Rex.Zhu@amd.com> | 2016-12-07 17:22:25 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-12-15 15:16:22 -0500 |
commit | eb584241226958d45aa1f07f4f6a6ea9da98b29e (patch) | |
tree | 05325283a29d0d4e49f6beb9f80d3584c008e936 /drivers/gpu/drm | |
parent | 54971406b7731efd5dbe0b1ccc42dfbd8af1f3b2 (diff) | |
download | linux-stable-eb584241226958d45aa1f07f4f6a6ea9da98b29e.tar.gz linux-stable-eb584241226958d45aa1f07f4f6a6ea9da98b29e.tar.bz2 linux-stable-eb584241226958d45aa1f07f4f6a6ea9da98b29e.zip |
drm/amdgpu: fix enable_cp_power_gating in gfx_v8.0.
the CP_PG_DISABLE bit was reversed.
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c index 6324f67bdb1f..2dbe6a1d8973 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c @@ -3996,7 +3996,7 @@ static void cz_enable_sck_slow_down_on_power_down(struct amdgpu_device *adev, static void cz_enable_cp_power_gating(struct amdgpu_device *adev, bool enable) { - WREG32_FIELD(RLC_PG_CNTL, CP_PG_DISABLE, enable ? 1 : 0); + WREG32_FIELD(RLC_PG_CNTL, CP_PG_DISABLE, enable ? 0 : 1); } static void gfx_v8_0_init_pg(struct amdgpu_device *adev) |