From f9d4c58d4327741abd99cdfdbbbfb82c803e4698 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Wed, 27 Aug 2008 12:35:11 +1000 Subject: radeon: braino pointed out on mailing list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit thanks to Ville Syrjälä --- linux-core/radeon_encoders.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux-core/radeon_encoders.c') 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) -- cgit v1.2.3