drm/radeon: add missing crtc unlock when setting up the MC
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 5 Nov 2014 22:14:32 +0000 (17:14 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 6 Nov 2014 22:41:19 +0000 (17:41 -0500)
Need to unlock the crtc after updating the blanking state.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/evergreen.c

index d1e93ebce446ca8ca09be25f7672857f3c1b9bb7..85995b4e33387586448629c44ae31bbff103f10e 100644 (file)
@@ -2555,6 +2555,7 @@ void evergreen_mc_stop(struct radeon_device *rdev, struct evergreen_mc_save *sav
                                        WREG32(EVERGREEN_CRTC_UPDATE_LOCK + crtc_offsets[i], 1);
                                        tmp |= EVERGREEN_CRTC_BLANK_DATA_EN;
                                        WREG32(EVERGREEN_CRTC_BLANK_CONTROL + crtc_offsets[i], tmp);
+                                       WREG32(EVERGREEN_CRTC_UPDATE_LOCK + crtc_offsets[i], 0);
                                }
                        } else {
                                tmp = RREG32(EVERGREEN_CRTC_CONTROL + crtc_offsets[i]);