diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2010-01-21 16:50:30 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-01-24 17:23:38 +1000 |
commit | a348c84d953f61c776e53cde0a63a4e407a23c18 (patch) | |
tree | 92c2b62e05bc4bac4895eb5eb31f70d0ea25f345 /drivers | |
parent | c8c15ff1e90bfc4a2db1ba77a01b3b2783e723fc (diff) | |
download | linux-a348c84d953f61c776e53cde0a63a4e407a23c18.tar.bz2 |
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')
-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) |