From: Ville Syrj?l? <ville.syrjala at linux.intel.com> The atomic code will want to call intel_modeset_commit_output_state() too. Signed-off-by: Ville Syrj?l? <ville.syrjala at linux.intel.com> --- drivers/gpu/drm/i915/intel_display.c | 2 +- drivers/gpu/drm/i915/intel_drv.h | 1 + 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 2f518be..d950939 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -7449,7 +7449,7 @@ void intel_modeset_update_staged_output_state(struct drm_device *dev) * * This function copies the stage display pipe configuration to the real one. */ -static void intel_modeset_commit_output_state(struct drm_device *dev) +void intel_modeset_commit_output_state(struct drm_device *dev) { struct intel_encoder *encoder; struct intel_connector *connector; diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h index e39a10b..d0666d8 100644 --- a/drivers/gpu/drm/i915/intel_drv.h +++ b/drivers/gpu/drm/i915/intel_drv.h @@ -740,5 +740,6 @@ extern void intel_crtc_attach_properties(struct drm_crtc *crtc); extern void intel_crtc_update_properties(struct drm_crtc *crtc); extern void intel_modeset_update_staged_output_state(struct drm_device *dev); +extern void intel_modeset_commit_output_state(struct drm_device *dev); #endif /* __INTEL_DRV_H__ */ -- 1.7.8.6