@@ -1701,6 +1701,8 @@ static int intel_atomic_commit(struct drm_device *dev, void *state)
update_props(dev, s);
+ intel_modeset_update_staged_output_state(dev);
+
return 0;
}
@@ -6845,7 +6845,7 @@ static bool intel_encoder_crtc_ok(struct drm_encoder *encoder,
* Updates the staged output configuration state, e.g. after we've read out the
* current hw state.
*/
-static void intel_modeset_update_staged_output_state(struct drm_device *dev)
+void intel_modeset_update_staged_output_state(struct drm_device *dev)
{
struct intel_encoder *encoder;
struct intel_connector *connector;
@@ -644,4 +644,6 @@ extern void intel_disable_primary(struct drm_crtc *crtc);
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);
+
#endif /* __INTEL_DRV_H__ */