OSDN Git Service

drm/i915: Pass the saved adjusted_mode when adding to the load-detect crtc
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 19 Apr 2011 23:23:12 +0000 (00:23 +0100)
committerKeith Packard <keithp@keithp.com>
Tue, 10 May 2011 20:19:16 +0000 (13:19 -0700)
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/intel_display.c

index dfa965a..e857a83 100644 (file)
@@ -5564,7 +5564,7 @@ bool intel_get_load_detect_pipe(struct intel_encoder *intel_encoder,
                }
 
                /* Add this connector to the crtc */
-               encoder_funcs->mode_set(encoder, &crtc->mode, &crtc->mode);
+               encoder_funcs->mode_set(encoder, &crtc->mode, &crtc->hwmode);
                encoder_funcs->commit(encoder);
        }