projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8c15ff
)
drm/radeon/kms/atom: fix crtc lock ordering
author
Alex Deucher
<alexdeucher@gmail.com>
Thu, 21 Jan 2010 21:50:30 +0000
(16:50 -0500)
committer
Dave Airlie
<airlied@redhat.com>
Sun, 24 Jan 2010 07:23:38 +0000
(17:23 +1000)
This makes crtc_prepare and crtc_commit match.
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/atombios_crtc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/radeon/atombios_crtc.c
b/drivers/gpu/drm/radeon/atombios_crtc.c
index e098bd0cbd266fc7bea725522f9a9f9ad0d790f8..7af5c1f7b6dea1b8f9a2a7e2852fd7413ea05326 100644
(file)
--- 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)