diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2010-01-22 00:50:30 +0300 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-01-24 10:23:38 +0300 |
commit | a348c84d953f61c776e53cde0a63a4e407a23c18 (patch) | |
tree | 92c2b62e05bc4bac4895eb5eb31f70d0ea25f345 /drivers/gpu | |
parent | c8c15ff1e90bfc4a2db1ba77a01b3b2783e723fc (diff) | |
download | linux-a348c84d953f61c776e53cde0a63a4e407a23c18.tar.xz |
drm/radeon/kms/atom: fix crtc lock ordering
This makes crtc_prepare and crtc_commit match.
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/radeon/atombios_crtc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/atombios_crtc.c b/drivers/gpu/drm/radeon/atombios_crtc.c index e098bd0cbd26..7af5c1f7b6de 100644 --- a/drivers/gpu/drm/radeon/atombios_crtc.c +++ b/drivers/gpu/drm/radeon/atombios_crtc.c @@ -782,8 +782,8 @@ static bool atombios_crtc_mode_fixup(struct drm_crtc *crtc, static void atombios_crtc_prepare(struct drm_crtc *crtc) { - atombios_crtc_dpms(crtc, DRM_MODE_DPMS_OFF); atombios_lock_crtc(crtc, 1); + atombios_crtc_dpms(crtc, DRM_MODE_DPMS_OFF); } static void atombios_crtc_commit(struct drm_crtc *crtc) |