drm/i915: Pass the saved adjusted_mode when adding to the load-detect crtc

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>
This commit is contained in:
Chris Wilson 2011-04-20 00:23:12 +01:00 committed by Keith Packard
parent 7a5e4805bd
commit 4fbf69138a

View 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);
}