From: Rex Zhu Date: Mon, 13 Mar 2017 07:14:08 +0000 (+0800) Subject: drm/amd/powerplay: fix copy error in smu7_clockpoweragting.c X-Git-Tag: v4.14-rc1~1281^2^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8c53ad2139137dd4bf506a2c2b888de3816e8f75;p=platform%2Fkernel%2Flinux-rpi.git drm/amd/powerplay: fix copy error in smu7_clockpoweragting.c Signed-off-by: Rex Zhu Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_clockpowergating.c b/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_clockpowergating.c index 8cf71f3..261b828 100644 --- a/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_clockpowergating.c +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_clockpowergating.c @@ -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);