summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-08-27 12:35:11 +1000
committerDave Airlie <airlied@redhat.com>2008-08-27 12:35:11 +1000
commitf9d4c58d4327741abd99cdfdbbbfb82c803e4698 (patch)
tree991ba7d977c42d4863b401783b889fd0fa795c76
parenta4167e7b572859a998710ee599298e5131f51620 (diff)
radeon: braino pointed out on mailing list
thanks to Ville Syrjälä
-rw-r--r--linux-core/radeon_encoders.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/radeon_encoders.c b/linux-core/radeon_encoders.c
index f662872d..787102e7 100644
--- a/linux-core/radeon_encoders.c
+++ b/linux-core/radeon_encoders.c
@@ -869,7 +869,7 @@ static void radeon_atom_tmds_dpms(struct drm_encoder *encoder, int mode)
int index = -1;
uint32_t bios_2_scratch, bios_3_scratch;
- if (radeon_crtc) {
+ if (encoder->crtc) {
radeon_crtc = to_radeon_crtc(encoder->crtc);
crtc_id = radeon_crtc->crtc_id;
} else if (mode == DRM_MODE_DPMS_ON)