drm/i915: Move disable_cxsr to the crtc_state.
[linux-drm-fsl-dcu.git] / drivers / gpu / drm / i915 / intel_drv.h
index 3517cd1ce266b50ed2f57aff6a1fa39ce345665b..5247461e267578c0ac4eaebd3f2d7f1317cd94c4 100644 (file)
@@ -367,7 +367,8 @@ struct intel_crtc_state {
 #define PIPE_CONFIG_QUIRK_MODE_SYNC_FLAGS      (1<<0) /* unreliable sync mode.flags */
        unsigned long quirks;
 
-       bool update_pipe;
+       bool update_pipe; /* can a fast modeset be performed? */
+       bool disable_cxsr;
 
        /* Pipe source size (ie. panel fitter input size)
         * All planes will be positioned inside this space,
@@ -533,7 +534,6 @@ struct intel_crtc_atomic_commit {
        /* Sleepable operations to perform before commit */
        bool disable_fbc;
        bool disable_ips;
-       bool disable_cxsr;
        bool pre_disable_primary;
        bool update_wm_pre, update_wm_post;