diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2009-10-08 13:08:29 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-10-11 23:42:35 -0400 |
commit | 5f9a0eb5af16906cd31fc3e02746aa3d61fd3aa9 (patch) | |
tree | a0da1bf74556cb2c19857ddd71e63dba659839f1 /drivers/gpu | |
parent | 2ffb842948ba64b03986f4064140a74c1780c44b (diff) |
drm/radeon/kms/atom: reorder crtc dpms
Based on recommendation from bios docs.
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 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/radeon/atombios_crtc.c b/drivers/gpu/drm/radeon/atombios_crtc.c index 38a87cc6eb12..0a5082af3cd3 100644 --- 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) | |||
248 | 248 | ||
249 | switch (mode) { | 249 | switch (mode) { |
250 | case DRM_MODE_DPMS_ON: | 250 | case DRM_MODE_DPMS_ON: |
251 | atombios_enable_crtc(crtc, 1); | ||
251 | if (ASIC_IS_DCE3(rdev)) | 252 | if (ASIC_IS_DCE3(rdev)) |
252 | atombios_enable_crtc_memreq(crtc, 1); | 253 | atombios_enable_crtc_memreq(crtc, 1); |
253 | atombios_enable_crtc(crtc, 1); | ||
254 | atombios_blank_crtc(crtc, 0); | 254 | atombios_blank_crtc(crtc, 0); |
255 | break; | 255 | break; |
256 | case DRM_MODE_DPMS_STANDBY: | 256 | case DRM_MODE_DPMS_STANDBY: |
257 | case DRM_MODE_DPMS_SUSPEND: | 257 | case DRM_MODE_DPMS_SUSPEND: |
258 | case DRM_MODE_DPMS_OFF: | 258 | case DRM_MODE_DPMS_OFF: |
259 | atombios_blank_crtc(crtc, 1); | 259 | atombios_blank_crtc(crtc, 1); |
260 | atombios_enable_crtc(crtc, 0); | ||
261 | if (ASIC_IS_DCE3(rdev)) | 260 | if (ASIC_IS_DCE3(rdev)) |
262 | atombios_enable_crtc_memreq(crtc, 0); | 261 | atombios_enable_crtc_memreq(crtc, 0); |
262 | atombios_enable_crtc(crtc, 0); | ||
263 | break; | 263 | break; |
264 | } | 264 | } |
265 | 265 | ||