projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ffb842
)
drm/radeon/kms/atom: reorder crtc dpms
author
Alex Deucher
<alexdeucher@gmail.com>
Thu, 8 Oct 2009 17:08:29 +0000
(13:08 -0400)
committer
Dave Airlie
<airlied@redhat.com>
Mon, 12 Oct 2009 03:42:35 +0000
(13:42 +1000)
Based on recommendation from bios docs.
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 38a87cc6eb12d402103bcda3cd1f8cbadf854b7d..0a5082af3cd369c9131fa659ab397def1cb797aa 100644
(file)
--- a/
drivers/gpu/drm/radeon/atombios_crtc.c
+++ b/
drivers/gpu/drm/radeon/atombios_crtc.c
@@
-248,18
+248,18
@@
void atombios_crtc_dpms(struct drm_crtc *crtc, int mode)
switch (mode) {
case DRM_MODE_DPMS_ON:
+ atombios_enable_crtc(crtc, 1);
if (ASIC_IS_DCE3(rdev))
atombios_enable_crtc_memreq(crtc, 1);
- atombios_enable_crtc(crtc, 1);
atombios_blank_crtc(crtc, 0);
break;
case DRM_MODE_DPMS_STANDBY:
case DRM_MODE_DPMS_SUSPEND:
case DRM_MODE_DPMS_OFF:
atombios_blank_crtc(crtc, 1);
- atombios_enable_crtc(crtc, 0);
if (ASIC_IS_DCE3(rdev))
atombios_enable_crtc_memreq(crtc, 0);
+ atombios_enable_crtc(crtc, 0);
break;
}