drm/amd/powerplay: fix copy error in smu7_clockpoweragting.c
authorRex Zhu <Rex.Zhu@amd.com>
Mon, 13 Mar 2017 07:14:08 +0000 (15:14 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 14 Mar 2017 18:04:07 +0000 (14:04 -0400)
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>
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_clockpowergating.c

index 8cf71f3..261b828 100644 (file)
@@ -178,7 +178,7 @@ int smu7_powergate_vce(struct pp_hwmgr *hwmgr, bool bgate)
        if (bgate) {
                cgs_set_powergating_state(hwmgr->device,
                                                AMD_IP_BLOCK_TYPE_VCE,
-                                               AMD_PG_STATE_UNGATE);
+                                               AMD_PG_STATE_GATE);
                cgs_set_clockgating_state(hwmgr->device,
                                AMD_IP_BLOCK_TYPE_VCE,
                                AMD_CG_STATE_GATE);