mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
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
This commit is contained in:
parent
54971406b7
commit
eb58424122
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue