✗ Fi.CI.BUILD: failure for Implement CMRR Support (rev2)

Patchwork patchwork at emeril.freedesktop.org
Wed Apr 24 09:22:49 UTC 2024


== Series Details ==

Series: Implement CMRR Support (rev2)
URL   : https://patchwork.freedesktop.org/series/126721/
State : failure

== Summary ==

Error: make failed
  CALL    scripts/checksyscalls.sh
  DESCEND objtool
  INSTALL libsubcmd_headers
  CC [M]  drivers/gpu/drm/i915/display/intel_display.o
drivers/gpu/drm/i915/display/intel_display.c: In function ‘intel_pipe_config_compare’:
drivers/gpu/drm/i915/display/intel_display.c:5087:24: error: incompatible type for argument 1 of ‘pipe_config_mismatch’
 5087 |   pipe_config_mismatch(fastset, crtc, __stringify(name), \
      |                        ^~~~~~~
      |                        |
      |                        bool {aka _Bool}
drivers/gpu/drm/i915/display/intel_display.c:5087:24: note: in definition of macro ‘PIPE_CONF_CHECK_LLI’
 5087 |   pipe_config_mismatch(fastset, crtc, __stringify(name), \
      |                        ^~~~~~~
drivers/gpu/drm/i915/display/intel_display.c:4888:42: note: expected ‘struct drm_printer *’ but argument is of type ‘bool’ {aka ‘_Bool’}
 4888 | pipe_config_mismatch(struct drm_printer *p, bool fastset,
      |                      ~~~~~~~~~~~~~~~~~~~~^
In file included from ./include/linux/linkage.h:6,
                 from ./arch/x86/include/asm/cache.h:5,
                 from ./include/linux/cache.h:6,
                 from ./arch/x86/include/asm/current.h:10,
                 from ./include/linux/mutex.h:14,
                 from ./include/linux/ww_mutex.h:20,
                 from ./include/linux/dma-resv.h:42,
                 from drivers/gpu/drm/i915/display/intel_display.c:27:
drivers/gpu/drm/i915/display/intel_display.c:5459:34: error: passing argument 3 of ‘pipe_config_mismatch’ from incompatible pointer type [-Werror=incompatible-pointer-types]
 5459 |   PIPE_CONF_CHECK_LLI(cmrr.cmrr_m);
      |                                  ^
      |                                  |
      |                                  char *
./include/linux/stringify.h:9:30: note: in definition of macro ‘__stringify_1’
    9 | #define __stringify_1(x...) #x
      |                              ^
drivers/gpu/drm/i915/display/intel_display.c:5087:39: note: in expansion of macro ‘__stringify’
 5087 |   pipe_config_mismatch(fastset, crtc, __stringify(name), \
      |                                       ^~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_display.c:5459:3: note: in expansion of macro ‘PIPE_CONF_CHECK_LLI’
 5459 |   PIPE_CONF_CHECK_LLI(cmrr.cmrr_m);
      |   ^~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_display.c:4889:33: note: expected ‘const struct intel_crtc *’ but argument is of type ‘char *’
 4889 |        const struct intel_crtc *crtc,
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
drivers/gpu/drm/i915/display/intel_display.c:5459:27: error: passing argument 5 of ‘pipe_config_mismatch’ makes pointer from integer without a cast [-Werror=int-conversion]
 5089 |          current_config->name, \
      |          ~~~~~~~~~~~~~~~~~~~~~~~
 5090 |          pipe_config->name); \
      |          ~~~~~~~~~~~~~~~~~~~~~
 5091 |   ret = false; \
      |   ~~~~~~~~~~~~~~           
 5092 |  } \
      |  ~~~                       
 5093 | } while (0)
      | ~~~~~~~~~~~                
 5094 | 
      |                            
 5095 | #define PIPE_CONF_CHECK_BOOL(name) do { \
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5096 |  if (current_config->name != pipe_config->name) { \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5097 |   BUILD_BUG_ON_MSG(!__same_type(current_config->name, bool), \
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5098 |      __stringify(name) " is not bool"); \
      |      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5099 |   pipe_config_mismatch(&p, fastset, crtc,  __stringify(name), \
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5100 |          "(expected %s, found %s)", \
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5101 |          str_yes_no(current_config->name), \
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5102 |          str_yes_no(pipe_config->name)); \
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5103 |   ret = false; \
      |   ~~~~~~~~~~~~~~           
 5104 |  } \
      |  ~~~                       
 5105 | } while (0)
      | ~~~~~~~~~~~                
 5106 | 
      |                            
 5107 | #define PIPE_CONF_CHECK_P(name) do { \
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5108 |  if (current_config->name != pipe_config->name) { \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5109 |   pipe_config_mismatch(&p, fastset, crtc, __stringify(name), \
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5110 |          "(expected %p, found %p)", \
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5111 |          current_config->name, \
      |          ~~~~~~~~~~~~~~~~~~~~~~~
 5112 |          pipe_config->name); \
      |          ~~~~~~~~~~~~~~~~~~~~~
 5113 |   ret = false; \
      |   ~~~~~~~~~~~~~~           
 5114 |  } \
      |  ~~~                       
 5115 | } while (0)
      | ~~~~~~~~~~~                
 5116 | 
      |                            
 5117 | #define PIPE_CONF_CHECK_M_N(name) do { \
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5118 |  if (!intel_compare_link_m_n(&current_config->name, \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5119 |         &pipe_config->name)) { \
      |         ~~~~~~~~~~~~~~~~~~~~~~~~
 5120 |   pipe_config_mismatch(&p, fastset, crtc, __stringify(name), \
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5121 |          "(expected tu %i data %i/%i link %i/%i, " \
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5122 |          "found tu %i, data %i/%i link %i/%i)", \
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5123 |          current_config->name.tu, \
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~
 5124 |          current_config->name.data_m, \
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5125 |          current_config->name.data_n, \
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5126 |          current_config->name.link_m, \
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5127 |          current_config->name.link_n, \
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5128 |          pipe_config->name.tu, \
      |          ~~~~~~~~~~~~~~~~~~~~~~~
 5129 |          pipe_config->name.data_m, \
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5130 |          pipe_config->name.data_n, \
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5131 |          pipe_config->name.link_m, \
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5132 |          pipe_config->name.link_n); \
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5133 |   ret = false; \
      |   ~~~~~~~~~~~~~~           
 5134 |  } \
      |  ~~~                       
 5135 | } while (0)
      | ~~~~~~~~~~~                
 5136 | 
      |                            
 5137 | #define PIPE_CONF_CHECK_PLL(name) do { \
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5138 |  if (!intel_dpll_compare_hw_state(dev_priv, &current_config->name, \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5139 |       &pipe_config->name)) { \
      |       ~~~~~~~~~~~~~~~~~~~~~~~~
 5140 |   pipe_config_pll_mismatch(&p, fastset, crtc, __stringify(name), \
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5141 |       &current_config->name, \
      |       ~~~~~~~~~~~~~~~~~~~~~~~~
 5142 |       &pipe_config->name); \
      |       ~~~~~~~~~~~~~~~~~~~~~~
 5143 |   ret = false; \
      |   ~~~~~~~~~~~~~~           
 5144 |  } \
      |  ~~~                       
 5145 | } while (0)
      | ~~~~~~~~~~~                
 5146 | 
      |                            
 5147 | #define PIPE_CONF_CHECK_TIMINGS(name) do {     \
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5148 |  PIPE_CONF_CHECK_I(name.crtc_hdisplay); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5149 |  PIPE_CONF_CHECK_I(name.crtc_htotal); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5150 |  PIPE_CONF_CHECK_I(name.crtc_hblank_start); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5151 |  PIPE_CONF_CHECK_I(name.crtc_hblank_end); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5152 |  PIPE_CONF_CHECK_I(name.crtc_hsync_start); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5153 |  PIPE_CONF_CHECK_I(name.crtc_hsync_end); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5154 |  PIPE_CONF_CHECK_I(name.crtc_vdisplay); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5155 |  PIPE_CONF_CHECK_I(name.crtc_vblank_start); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5156 |  PIPE_CONF_CHECK_I(name.crtc_vsync_start); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5157 |  PIPE_CONF_CHECK_I(name.crtc_vsync_end); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5158 |  if (!fastset || !pipe_config->update_lrr) { \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5159 |   PIPE_CONF_CHECK_I(name.crtc_vtotal); \
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5160 |   PIPE_CONF_CHECK_I(name.crtc_vblank_end); \
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5161 |  } \
      |  ~~~                       
 5162 | } while (0)
      | ~~~~~~~~~~~                
 5163 | 
      |                            
 5164 | #define PIPE_CONF_CHECK_RECT(name) do { \
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5165 |  PIPE_CONF_CHECK_I(name.x1); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5166 |  PIPE_CONF_CHECK_I(name.x2); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5167 |  PIPE_CONF_CHECK_I(name.y1); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5168 |  PIPE_CONF_CHECK_I(name.y2); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5169 | } while (0)
      | ~~~~~~~~~~~                
 5170 | 
      |                            
 5171 | #define PIPE_CONF_CHECK_FLAGS(name, mask) do { \
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5172 |  if ((current_config->name ^ pipe_config->name) & (mask)) { \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5173 |   pipe_config_mismatch(&p, fastset, crtc, __stringify(name), \
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5174 |          "(%x) (expected %i, found %i)", \
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5175 |          (mask), \
      |          ~~~~~~~~~         
 5176 |          current_config->name & (mask), \
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5177 |          pipe_config->name & (mask)); \
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5178 |   ret = false; \
      |   ~~~~~~~~~~~~~~           
 5179 |  } \
      |  ~~~                       
 5180 | } while (0)
      | ~~~~~~~~~~~                
 5181 | 
      |                            
 5182 | #define PIPE_CONF_CHECK_INFOFRAME(name) do { \
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5183 |  if (!intel_compare_infoframe(&current_config->infoframes.name, \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5184 |          &pipe_config->infoframes.name)) { \
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5185 |   pipe_config_infoframe_mismatch(&p, fastset, crtc, __stringify(name), \
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5186 |             &current_config->infoframes.name, \
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5187 |             &pipe_config->infoframes.name); \
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5188 |   ret = false; \
      |   ~~~~~~~~~~~~~~           
 5189 |  } \
      |  ~~~                       
 5190 | } while (0)
      | ~~~~~~~~~~~                
 5191 | 
      |                            
 5192 | #define PIPE_CONF_CHECK_DP_VSC_SDP(name) do { \
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5193 |  if (!intel_compare_dp_vsc_sdp(&current_config->infoframes.name, \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5194 |           &pipe_config->infoframes.name)) { \
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5195 |   pipe_config_dp_vsc_sdp_mismatch(&p, fastset, crtc, __stringify(name), \
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5196 |       &current_config->infoframes.name, \
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5197 |       &pipe_config->infoframes.name); \
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5198 |   ret = false; \
      |   ~~~~~~~~~~~~~~           
 5199 |  } \
      |  ~~~                       
 5200 | } while (0)
      | ~~~~~~~~~~~                
 5201 | 
      |                            
 5202 | #define PIPE_CONF_CHECK_DP_AS_SDP(name) do { \
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5203 |  if (!intel_compare_dp_as_sdp(&current_config->infoframes.name, \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5204 |           &pipe_config->infoframes.name)) { \
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5205 |   pipe_config_dp_as_sdp_mismatch(dev_priv, fastset, __stringify(name), \
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5206 |       &current_config->infoframes.name, \
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5207 |       &pipe_config->infoframes.name); \
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5208 |   ret = false; \
      |   ~~~~~~~~~~~~~~           
 5209 |  } \
      |  ~~~                       
 5210 | } while (0)
      | ~~~~~~~~~~~                
 5211 | 
      |                            
 5212 | #define PIPE_CONF_CHECK_BUFFER(name, len) do { \
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5213 |  BUILD_BUG_ON(sizeof(current_config->name) != (len)); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5214 |  BUILD_BUG_ON(sizeof(pipe_config->name) != (len)); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5215 |  if (!intel_compare_buffer(current_config->name, pipe_config->name, (len))) { \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5216 |   pipe_config_buffer_mismatch(&p, fastset, crtc, __stringify(name), \
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5217 |          current_config->name, \
      |          ~~~~~~~~~~~~~~~~~~~~~~~
 5218 |          pipe_config->name, \
      |          ~~~~~~~~~~~~~~~~~~~~
 5219 |          (len)); \
      |          ~~~~~~~~~         
 5220 |   ret = false; \
      |   ~~~~~~~~~~~~~~           
 5221 |  } \
      |  ~~~                       
 5222 | } while (0)
      | ~~~~~~~~~~~                
 5223 | 
      |                            
 5224 | #define PIPE_CONF_CHECK_COLOR_LUT(lut, is_pre_csc_lut) do { \
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5225 |  if (current_config->gamma_mode == pipe_config->gamma_mode && \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5226 |      !intel_color_lut_equal(current_config, \
      |      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5227 |        current_config->lut, pipe_config->lut, \
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5228 |        is_pre_csc_lut)) { \
      |        ~~~~~~~~~~~~~~~~~~~~
 5229 |   pipe_config_mismatch(&p, fastset, crtc, __stringify(lut), \
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5230 |          "hw_state doesn't match sw_state"); \
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5231 |   ret = false; \
      |   ~~~~~~~~~~~~~~           
 5232 |  } \
      |  ~~~                       
 5233 | } while (0)
      | ~~~~~~~~~~~                
 5234 | 
      |                            
 5235 | #define PIPE_CONF_CHECK_CSC(name) do { \
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5236 |  PIPE_CONF_CHECK_X(name.preoff[0]); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5237 |  PIPE_CONF_CHECK_X(name.preoff[1]); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5238 |  PIPE_CONF_CHECK_X(name.preoff[2]); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5239 |  PIPE_CONF_CHECK_X(name.coeff[0]); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5240 |  PIPE_CONF_CHECK_X(name.coeff[1]); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5241 |  PIPE_CONF_CHECK_X(name.coeff[2]); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5242 |  PIPE_CONF_CHECK_X(name.coeff[3]); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5243 |  PIPE_CONF_CHECK_X(name.coeff[4]); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5244 |  PIPE_CONF_CHECK_X(name.coeff[5]); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5245 |  PIPE_CONF_CHECK_X(name.coeff[6]); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5246 |  PIPE_CONF_CHECK_X(name.coeff[7]); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5247 |  PIPE_CONF_CHECK_X(name.coeff[8]); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5248 |  PIPE_CONF_CHECK_X(name.postoff[0]); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5249 |  PIPE_CONF_CHECK_X(name.postoff[1]); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5250 |  PIPE_CONF_CHECK_X(name.postoff[2]); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5251 | } while (0)
      | ~~~~~~~~~~~                
 5252 | 
      |                            
 5253 | #define PIPE_CONF_QUIRK(quirk) \
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5254 |  ((current_config->quirks | pipe_config->quirks) & (quirk))
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5255 | 
      |                            
 5256 |  PIPE_CONF_CHECK_BOOL(hw.enable);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5257 |  PIPE_CONF_CHECK_BOOL(hw.active);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5258 | 
      |                            
 5259 |  PIPE_CONF_CHECK_I(cpu_transcoder);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5260 |  PIPE_CONF_CHECK_I(mst_master_transcoder);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5261 | 
      |                            
 5262 |  PIPE_CONF_CHECK_BOOL(has_pch_encoder);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5263 |  PIPE_CONF_CHECK_I(fdi_lanes);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5264 |  PIPE_CONF_CHECK_M_N(fdi_m_n);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5265 | 
      |                            
 5266 |  PIPE_CONF_CHECK_I(lane_count);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5267 |  PIPE_CONF_CHECK_X(lane_lat_optim_mask);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5268 | 
      |                            
 5269 |  if (HAS_DOUBLE_BUFFERED_M_N(dev_priv)) {
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5270 |   if (!fastset || !pipe_config->update_m_n)
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5271 |    PIPE_CONF_CHECK_M_N(dp_m_n);
      |    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5272 |  } else {
      |  ~~~~~~~~                  
 5273 |   PIPE_CONF_CHECK_M_N(dp_m_n);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5274 |   PIPE_CONF_CHECK_M_N(dp_m2_n2);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5275 |  }
      |  ~                         
 5276 | 
      |                            
 5277 |  PIPE_CONF_CHECK_X(output_types);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5278 | 
      |                            
 5279 |  PIPE_CONF_CHECK_I(framestart_delay);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5280 |  PIPE_CONF_CHECK_I(msa_timing_delay);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5281 | 
      |                            
 5282 |  PIPE_CONF_CHECK_TIMINGS(hw.pipe_mode);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5283 |  PIPE_CONF_CHECK_TIMINGS(hw.adjusted_mode);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5284 | 
      |                            
 5285 |  PIPE_CONF_CHECK_I(pixel_multiplier);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5286 | 
      |                            
 5287 |  PIPE_CONF_CHECK_FLAGS(hw.adjusted_mode.flags,
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5288 |          DRM_MODE_FLAG_INTERLACE);
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~
 5289 | 
      |                            
 5290 |  if (!PIPE_CONF_QUIRK(PIPE_CONFIG_QUIRK_MODE_SYNC_FLAGS)) {
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5291 |   PIPE_CONF_CHECK_FLAGS(hw.adjusted_mode.flags,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5292 |           DRM_MODE_FLAG_PHSYNC);
      |           ~~~~~~~~~~~~~~~~~~~~~~
 5293 |   PIPE_CONF_CHECK_FLAGS(hw.adjusted_mode.flags,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5294 |           DRM_MODE_FLAG_NHSYNC);
      |           ~~~~~~~~~~~~~~~~~~~~~~
 5295 |   PIPE_CONF_CHECK_FLAGS(hw.adjusted_mode.flags,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5296 |           DRM_MODE_FLAG_PVSYNC);
      |           ~~~~~~~~~~~~~~~~~~~~~~
 5297 |   PIPE_CONF_CHECK_FLAGS(hw.adjusted_mode.flags,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5298 |           DRM_MODE_FLAG_NVSYNC);
      |           ~~~~~~~~~~~~~~~~~~~~~~
 5299 |  }
      |  ~                         
 5300 | 
      |                            
 5301 |  PIPE_CONF_CHECK_I(output_format);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5302 |  PIPE_CONF_CHECK_BOOL(has_hdmi_sink);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5303 |  if ((DISPLAY_VER(dev_priv) < 8 && !IS_HASWELL(dev_priv)) ||
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5304 |      IS_VALLEYVIEW(dev_priv) || IS_CHERRYVIEW(dev_priv))
      |      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5305 |   PIPE_CONF_CHECK_BOOL(limited_color_range);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5306 | 
      |                            
 5307 |  PIPE_CONF_CHECK_BOOL(hdmi_scrambling);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5308 |  PIPE_CONF_CHECK_BOOL(hdmi_high_tmds_clock_ratio);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5309 |  PIPE_CONF_CHECK_BOOL(has_infoframe);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5310 |  PIPE_CONF_CHECK_BOOL(enhanced_framing);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5311 |  PIPE_CONF_CHECK_BOOL(fec_enable);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5312 | 
      |                            
 5313 |  if (!fastset) {
      |  ~~~~~~~~~~~~~~~           
 5314 |   PIPE_CONF_CHECK_BOOL(has_audio);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5315 |   PIPE_CONF_CHECK_BUFFER(eld, MAX_ELD_BYTES);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5316 |  }
      |  ~                         
 5317 | 
      |                            
 5318 |  PIPE_CONF_CHECK_X(gmch_pfit.control);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5319 |  /* pfit ratios are autocomputed by the hw on gen4+ */
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5320 |  if (DISPLAY_VER(dev_priv) < 4)
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5321 |   PIPE_CONF_CHECK_X(gmch_pfit.pgm_ratios);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5322 |  PIPE_CONF_CHECK_X(gmch_pfit.lvds_border_bits);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5323 | 
      |                            
 5324 |  /*
      |  ~~                        
 5325 |   * Changing the EDP transcoder input mux
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5326 |   * (A_ONOFF vs. A_ON) requires a full modeset.
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5327 |   */
      |   ~~                       
 5328 |  PIPE_CONF_CHECK_BOOL(pch_pfit.force_thru);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5329 | 
      |                            
 5330 |  if (!fastset) {
      |  ~~~~~~~~~~~~~~~           
 5331 |   PIPE_CONF_CHECK_RECT(pipe_src);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5332 | 
      |                            
 5333 |   PIPE_CONF_CHECK_BOOL(pch_pfit.enabled);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5334 |   PIPE_CONF_CHECK_RECT(pch_pfit.dst);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5335 | 
      |                            
 5336 |   PIPE_CONF_CHECK_I(scaler_state.scaler_id);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5337 |   PIPE_CONF_CHECK_I(pixel_rate);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5338 | 
      |                            
 5339 |   PIPE_CONF_CHECK_X(gamma_mode);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5340 |   if (IS_CHERRYVIEW(dev_priv))
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5341 |    PIPE_CONF_CHECK_X(cgm_mode);
      |    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5342 |   else
      |   ~~~~                     
 5343 |    PIPE_CONF_CHECK_X(csc_mode);
      |    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5344 |   PIPE_CONF_CHECK_BOOL(gamma_enable);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5345 |   PIPE_CONF_CHECK_BOOL(csc_enable);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5346 |   PIPE_CONF_CHECK_BOOL(wgc_enable);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5347 | 
      |                            
 5348 |   PIPE_CONF_CHECK_I(linetime);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5349 |   PIPE_CONF_CHECK_I(ips_linetime);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5350 | 
      |                            
 5351 |   PIPE_CONF_CHECK_COLOR_LUT(pre_csc_lut, true);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5352 |   PIPE_CONF_CHECK_COLOR_LUT(post_csc_lut, false);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5353 | 
      |                            
 5354 |   PIPE_CONF_CHECK_CSC(csc);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~
 5355 |   PIPE_CONF_CHECK_CSC(output_csc);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5356 |  }
      |  ~                         
 5357 | 
      |                            
 5358 |  /*
      |  ~~                        
 5359 |   * Panel replay has to be enabled before link training. PSR doesn't have
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5360 |   * this requirement -> check these only if using panel replay
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5361 |   */
      |   ~~                       
 5362 |  if (current_config->has_panel_replay || pipe_config->has_panel_replay) {
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5363 |   PIPE_CONF_CHECK_BOOL(has_psr);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5364 |   PIPE_CONF_CHECK_BOOL(has_psr2);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5365 |   PIPE_CONF_CHECK_BOOL(enable_psr2_sel_fetch);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5366 |   PIPE_CONF_CHECK_BOOL(enable_psr2_su_region_et);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5367 |   PIPE_CONF_CHECK_BOOL(has_panel_replay);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5368 |  }
      |  ~                         
 5369 | 
      |                            
 5370 |  PIPE_CONF_CHECK_BOOL(double_wide);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5371 | 
      |                            
 5372 |  if (dev_priv->display.dpll.mgr)
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5373 |   PIPE_CONF_CHECK_P(shared_dpll);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5374 | 
      |                            
 5375 |  /* FIXME convert everything over the dpll_mgr */
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5376 |  if (dev_priv->display.dpll.mgr || HAS_GMCH(dev_priv))
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5377 |   PIPE_CONF_CHECK_PLL(dpll_hw_state);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5378 | 
      |                            
 5379 |  PIPE_CONF_CHECK_X(dsi_pll.ctrl);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5380 |  PIPE_CONF_CHECK_X(dsi_pll.div);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5381 | 
      |                            
 5382 |  if (IS_G4X(dev_priv) || DISPLAY_VER(dev_priv) >= 5)
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5383 |   PIPE_CONF_CHECK_I(pipe_bpp);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5384 | 
      |                            
 5385 |  if (!fastset || !pipe_config->update_m_n) {
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5386 |   PIPE_CONF_CHECK_I(hw.pipe_mode.crtc_clock);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5387 |   PIPE_CONF_CHECK_I(hw.adjusted_mode.crtc_clock);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5388 |  }
      |  ~                         
 5389 |  PIPE_CONF_CHECK_I(port_clock);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5390 | 
      |                            
 5391 |  PIPE_CONF_CHECK_I(min_voltage_level);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5392 | 
      |                            
 5393 |  if (current_config->has_psr || pipe_config->has_psr)
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5394 |   PIPE_CONF_CHECK_X_WITH_MASK(infoframes.enable,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5395 |          ~intel_hdmi_infoframe_enable(DP_SDP_VSC));
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5396 |  else
      |  ~~~~                      
 5397 |   PIPE_CONF_CHECK_X(infoframes.enable);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5398 | 
      |                            
 5399 |  PIPE_CONF_CHECK_X(infoframes.gcp);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5400 |  PIPE_CONF_CHECK_INFOFRAME(avi);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5401 |  PIPE_CONF_CHECK_INFOFRAME(spd);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5402 |  PIPE_CONF_CHECK_INFOFRAME(hdmi);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5403 |  PIPE_CONF_CHECK_INFOFRAME(drm);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5404 |  PIPE_CONF_CHECK_DP_VSC_SDP(vsc);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5405 |  PIPE_CONF_CHECK_DP_AS_SDP(as_sdp);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5406 | 
      |                            
 5407 |  PIPE_CONF_CHECK_X(sync_mode_slaves_mask);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5408 |  PIPE_CONF_CHECK_I(master_transcoder);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5409 |  PIPE_CONF_CHECK_X(bigjoiner_pipes);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5410 | 
      |                            
 5411 |  PIPE_CONF_CHECK_BOOL(dsc.config.block_pred_enable);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5412 |  PIPE_CONF_CHECK_BOOL(dsc.config.convert_rgb);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5413 |  PIPE_CONF_CHECK_BOOL(dsc.config.simple_422);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5414 |  PIPE_CONF_CHECK_BOOL(dsc.config.native_422);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5415 |  PIPE_CONF_CHECK_BOOL(dsc.config.native_420);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5416 |  PIPE_CONF_CHECK_BOOL(dsc.config.vbr_enable);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5417 |  PIPE_CONF_CHECK_I(dsc.config.line_buf_depth);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5418 |  PIPE_CONF_CHECK_I(dsc.config.bits_per_component);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5419 |  PIPE_CONF_CHECK_I(dsc.config.pic_width);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5420 |  PIPE_CONF_CHECK_I(dsc.config.pic_height);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5421 |  PIPE_CONF_CHECK_I(dsc.config.slice_width);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5422 |  PIPE_CONF_CHECK_I(dsc.config.slice_height);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5423 |  PIPE_CONF_CHECK_I(dsc.config.initial_dec_delay);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5424 |  PIPE_CONF_CHECK_I(dsc.config.initial_xmit_delay);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5425 |  PIPE_CONF_CHECK_I(dsc.config.scale_decrement_interval);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5426 |  PIPE_CONF_CHECK_I(dsc.config.scale_increment_interval);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5427 |  PIPE_CONF_CHECK_I(dsc.config.initial_scale_value);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5428 |  PIPE_CONF_CHECK_I(dsc.config.first_line_bpg_offset);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5429 |  PIPE_CONF_CHECK_I(dsc.config.flatness_min_qp);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5430 |  PIPE_CONF_CHECK_I(dsc.config.flatness_max_qp);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5431 |  PIPE_CONF_CHECK_I(dsc.config.slice_bpg_offset);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5432 |  PIPE_CONF_CHECK_I(dsc.config.nfl_bpg_offset);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5433 |  PIPE_CONF_CHECK_I(dsc.config.initial_offset);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5434 |  PIPE_CONF_CHECK_I(dsc.config.final_offset);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5435 |  PIPE_CONF_CHECK_I(dsc.config.rc_model_size);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5436 |  PIPE_CONF_CHECK_I(dsc.config.rc_quant_incr_limit0);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5437 |  PIPE_CONF_CHECK_I(dsc.config.rc_quant_incr_limit1);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5438 |  PIPE_CONF_CHECK_I(dsc.config.slice_chunk_size);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5439 |  PIPE_CONF_CHECK_I(dsc.config.second_line_bpg_offset);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5440 |  PIPE_CONF_CHECK_I(dsc.config.nsl_bpg_offset);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5441 | 
      |                            
 5442 |  PIPE_CONF_CHECK_BOOL(dsc.compression_enable);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5443 |  PIPE_CONF_CHECK_BOOL(dsc.dsc_split);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5444 |  PIPE_CONF_CHECK_I(dsc.compressed_bpp_x16);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5445 | 
      |                            
 5446 |  PIPE_CONF_CHECK_BOOL(splitter.enable);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5447 |  PIPE_CONF_CHECK_I(splitter.link_count);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5448 |  PIPE_CONF_CHECK_I(splitter.pixel_overlap);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5449 | 
      |                            
 5450 |  if (!fastset) {
      |  ~~~~~~~~~~~~~~~           
 5451 |   PIPE_CONF_CHECK_BOOL(vrr.enable);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5452 |   PIPE_CONF_CHECK_I(vrr.vmin);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5453 |   PIPE_CONF_CHECK_I(vrr.vmax);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5454 |   PIPE_CONF_CHECK_I(vrr.flipline);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5455 |   PIPE_CONF_CHECK_I(vrr.pipeline_full);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5456 |   PIPE_CONF_CHECK_I(vrr.guardband);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5457 |   PIPE_CONF_CHECK_I(vrr.vsync_start);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5458 |   PIPE_CONF_CHECK_I(vrr.vsync_end);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5459 |   PIPE_CONF_CHECK_LLI(cmrr.cmrr_m);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
      |                           |
      |                           u64 {aka const long long unsigned int}
drivers/gpu/drm/i915/display/intel_display.c:5089:26: note: in definition of macro ‘PIPE_CONF_CHECK_LLI’
 5089 |          current_config->name, \
      |                          ^~~~
drivers/gpu/drm/i915/display/intel_display.c:4890:38: note: expected ‘const char *’ but argument is of type ‘u64’ {aka ‘const long long unsigned int’}
 4890 |        const char *name, const char *format, ...)
      |                          ~~~~~~~~~~~~^~~~~~
drivers/gpu/drm/i915/display/intel_display.c:5087:24: error: incompatible type for argument 1 of ‘pipe_config_mismatch’
 5087 |   pipe_config_mismatch(fastset, crtc, __stringify(name), \
      |                        ^~~~~~~
      |                        |
      |                        bool {aka _Bool}
drivers/gpu/drm/i915/display/intel_display.c:5087:24: note: in definition of macro ‘PIPE_CONF_CHECK_LLI’
 5087 |   pipe_config_mismatch(fastset, crtc, __stringify(name), \
      |                        ^~~~~~~
drivers/gpu/drm/i915/display/intel_display.c:4888:42: note: expected ‘struct drm_printer *’ but argument is of type ‘bool’ {aka ‘_Bool’}
 4888 | pipe_config_mismatch(struct drm_printer *p, bool fastset,
      |                      ~~~~~~~~~~~~~~~~~~~~^
In file included from ./include/linux/linkage.h:6,
                 from ./arch/x86/include/asm/cache.h:5,
                 from ./include/linux/cache.h:6,
                 from ./arch/x86/include/asm/current.h:10,
                 from ./include/linux/mutex.h:14,
                 from ./include/linux/ww_mutex.h:20,
                 from ./include/linux/dma-resv.h:42,
                 from drivers/gpu/drm/i915/display/intel_display.c:27:
drivers/gpu/drm/i915/display/intel_display.c:5460:34: error: passing argument 3 of ‘pipe_config_mismatch’ from incompatible pointer type [-Werror=incompatible-pointer-types]
 5460 |   PIPE_CONF_CHECK_LLI(cmrr.cmrr_n);
      |                                  ^
      |                                  |
      |                                  char *
./include/linux/stringify.h:9:30: note: in definition of macro ‘__stringify_1’
    9 | #define __stringify_1(x...) #x
      |                              ^
drivers/gpu/drm/i915/display/intel_display.c:5087:39: note: in expansion of macro ‘__stringify’
 5087 |   pipe_config_mismatch(fastset, crtc, __stringify(name), \
      |                                       ^~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_display.c:5460:3: note: in expansion of macro ‘PIPE_CONF_CHECK_LLI’
 5460 |   PIPE_CONF_CHECK_LLI(cmrr.cmrr_n);
      |   ^~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_display.c:4889:33: note: expected ‘const struct intel_crtc *’ but argument is of type ‘char *’
 4889 |        const struct intel_crtc *crtc,
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
drivers/gpu/drm/i915/display/intel_display.c:5460:27: error: passing argument 5 of ‘pipe_config_mismatch’ makes pointer from integer without a cast [-Werror=int-conversion]
 5089 |          current_config->name, \
      |          ~~~~~~~~~~~~~~~~~~~~~~~
 5090 |          pipe_config->name); \
      |          ~~~~~~~~~~~~~~~~~~~~~
 5091 |   ret = false; \
      |   ~~~~~~~~~~~~~~           
 5092 |  } \
      |  ~~~                       
 5093 | } while (0)
      | ~~~~~~~~~~~                
 5094 | 
      |                            
 5095 | #define PIPE_CONF_CHECK_BOOL(name) do { \
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5096 |  if (current_config->name != pipe_config->name) { \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5097 |   BUILD_BUG_ON_MSG(!__same_type(current_config->name, bool), \
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5098 |      __stringify(name) " is not bool"); \
      |      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5099 |   pipe_config_mismatch(&p, fastset, crtc,  __stringify(name), \
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5100 |          "(expected %s, found %s)", \
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5101 |          str_yes_no(current_config->name), \
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5102 |          str_yes_no(pipe_config->name)); \
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5103 |   ret = false; \
      |   ~~~~~~~~~~~~~~           
 5104 |  } \
      |  ~~~                       
 5105 | } while (0)
      | ~~~~~~~~~~~                
 5106 | 
      |                            
 5107 | #define PIPE_CONF_CHECK_P(name) do { \
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5108 |  if (current_config->name != pipe_config->name) { \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5109 |   pipe_config_mismatch(&p, fastset, crtc, __stringify(name), \
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5110 |          "(expected %p, found %p)", \
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5111 |          current_config->name, \
      |          ~~~~~~~~~~~~~~~~~~~~~~~
 5112 |          pipe_config->name); \
      |          ~~~~~~~~~~~~~~~~~~~~~
 5113 |   ret = false; \
      |   ~~~~~~~~~~~~~~           
 5114 |  } \
      |  ~~~                       
 5115 | } while (0)
      | ~~~~~~~~~~~                
 5116 | 
      |                            
 5117 | #define PIPE_CONF_CHECK_M_N(name) do { \
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5118 |  if (!intel_compare_link_m_n(&current_config->name, \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5119 |         &pipe_config->name)) { \
      |         ~~~~~~~~~~~~~~~~~~~~~~~~
 5120 |   pipe_config_mismatch(&p, fastset, crtc, __stringify(name), \
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5121 |          "(expected tu %i data %i/%i link %i/%i, " \
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5122 |          "found tu %i, data %i/%i link %i/%i)", \
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5123 |          current_config->name.tu, \
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~
 5124 |          current_config->name.data_m, \
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5125 |          current_config->name.data_n, \
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5126 |          current_config->name.link_m, \
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5127 |          current_config->name.link_n, \
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5128 |          pipe_config->name.tu, \
      |          ~~~~~~~~~~~~~~~~~~~~~~~
 5129 |          pipe_config->name.data_m, \
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5130 |          pipe_config->name.data_n, \
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5131 |          pipe_config->name.link_m, \
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5132 |          pipe_config->name.link_n); \
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5133 |   ret = false; \
      |   ~~~~~~~~~~~~~~           
 5134 |  } \
      |  ~~~                       
 5135 | } while (0)
      | ~~~~~~~~~~~                
 5136 | 
      |                            
 5137 | #define PIPE_CONF_CHECK_PLL(name) do { \
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5138 |  if (!intel_dpll_compare_hw_state(dev_priv, &current_config->name, \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5139 |       &pipe_config->name)) { \
      |       ~~~~~~~~~~~~~~~~~~~~~~~~
 5140 |   pipe_config_pll_mismatch(&p, fastset, crtc, __stringify(name), \
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5141 |       &current_config->name, \
      |       ~~~~~~~~~~~~~~~~~~~~~~~~
 5142 |       &pipe_config->name); \
      |       ~~~~~~~~~~~~~~~~~~~~~~
 5143 |   ret = false; \
      |   ~~~~~~~~~~~~~~           
 5144 |  } \
      |  ~~~                       
 5145 | } while (0)
      | ~~~~~~~~~~~                
 5146 | 
      |                            
 5147 | #define PIPE_CONF_CHECK_TIMINGS(name) do {     \
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5148 |  PIPE_CONF_CHECK_I(name.crtc_hdisplay); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5149 |  PIPE_CONF_CHECK_I(name.crtc_htotal); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5150 |  PIPE_CONF_CHECK_I(name.crtc_hblank_start); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5151 |  PIPE_CONF_CHECK_I(name.crtc_hblank_end); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5152 |  PIPE_CONF_CHECK_I(name.crtc_hsync_start); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5153 |  PIPE_CONF_CHECK_I(name.crtc_hsync_end); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5154 |  PIPE_CONF_CHECK_I(name.crtc_vdisplay); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5155 |  PIPE_CONF_CHECK_I(name.crtc_vblank_start); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5156 |  PIPE_CONF_CHECK_I(name.crtc_vsync_start); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5157 |  PIPE_CONF_CHECK_I(name.crtc_vsync_end); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5158 |  if (!fastset || !pipe_config->update_lrr) { \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5159 |   PIPE_CONF_CHECK_I(name.crtc_vtotal); \
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5160 |   PIPE_CONF_CHECK_I(name.crtc_vblank_end); \
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5161 |  } \
      |  ~~~                       
 5162 | } while (0)
      | ~~~~~~~~~~~                
 5163 | 
      |                            
 5164 | #define PIPE_CONF_CHECK_RECT(name) do { \
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5165 |  PIPE_CONF_CHECK_I(name.x1); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5166 |  PIPE_CONF_CHECK_I(name.x2); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5167 |  PIPE_CONF_CHECK_I(name.y1); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5168 |  PIPE_CONF_CHECK_I(name.y2); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5169 | } while (0)
      | ~~~~~~~~~~~                
 5170 | 
      |                            
 5171 | #define PIPE_CONF_CHECK_FLAGS(name, mask) do { \
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5172 |  if ((current_config->name ^ pipe_config->name) & (mask)) { \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5173 |   pipe_config_mismatch(&p, fastset, crtc, __stringify(name), \
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5174 |          "(%x) (expected %i, found %i)", \
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5175 |          (mask), \
      |          ~~~~~~~~~         
 5176 |          current_config->name & (mask), \
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5177 |          pipe_config->name & (mask)); \
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5178 |   ret = false; \
      |   ~~~~~~~~~~~~~~           
 5179 |  } \
      |  ~~~                       
 5180 | } while (0)
      | ~~~~~~~~~~~                
 5181 | 
      |                            
 5182 | #define PIPE_CONF_CHECK_INFOFRAME(name) do { \
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5183 |  if (!intel_compare_infoframe(&current_config->infoframes.name, \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5184 |          &pipe_config->infoframes.name)) { \
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5185 |   pipe_config_infoframe_mismatch(&p, fastset, crtc, __stringify(name), \
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5186 |             &current_config->infoframes.name, \
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5187 |             &pipe_config->infoframes.name); \
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5188 |   ret = false; \
      |   ~~~~~~~~~~~~~~           
 5189 |  } \
      |  ~~~                       
 5190 | } while (0)
      | ~~~~~~~~~~~                
 5191 | 
      |                            
 5192 | #define PIPE_CONF_CHECK_DP_VSC_SDP(name) do { \
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5193 |  if (!intel_compare_dp_vsc_sdp(&current_config->infoframes.name, \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5194 |           &pipe_config->infoframes.name)) { \
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5195 |   pipe_config_dp_vsc_sdp_mismatch(&p, fastset, crtc, __stringify(name), \
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5196 |       &current_config->infoframes.name, \
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5197 |       &pipe_config->infoframes.name); \
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5198 |   ret = false; \
      |   ~~~~~~~~~~~~~~           
 5199 |  } \
      |  ~~~                       
 5200 | } while (0)
      | ~~~~~~~~~~~                
 5201 | 
      |                            
 5202 | #define PIPE_CONF_CHECK_DP_AS_SDP(name) do { \
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5203 |  if (!intel_compare_dp_as_sdp(&current_config->infoframes.name, \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5204 |           &pipe_config->infoframes.name)) { \
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5205 |   pipe_config_dp_as_sdp_mismatch(dev_priv, fastset, __stringify(name), \
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5206 |       &current_config->infoframes.name, \
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5207 |       &pipe_config->infoframes.name); \
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5208 |   ret = false; \
      |   ~~~~~~~~~~~~~~           
 5209 |  } \
      |  ~~~                       
 5210 | } while (0)
      | ~~~~~~~~~~~                
 5211 | 
      |                            
 5212 | #define PIPE_CONF_CHECK_BUFFER(name, len) do { \
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5213 |  BUILD_BUG_ON(sizeof(current_config->name) != (len)); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5214 |  BUILD_BUG_ON(sizeof(pipe_config->name) != (len)); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5215 |  if (!intel_compare_buffer(current_config->name, pipe_config->name, (len))) { \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5216 |   pipe_config_buffer_mismatch(&p, fastset, crtc, __stringify(name), \
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5217 |          current_config->name, \
      |          ~~~~~~~~~~~~~~~~~~~~~~~
 5218 |          pipe_config->name, \
      |          ~~~~~~~~~~~~~~~~~~~~
 5219 |          (len)); \
      |          ~~~~~~~~~         
 5220 |   ret = false; \
      |   ~~~~~~~~~~~~~~           
 5221 |  } \
      |  ~~~                       
 5222 | } while (0)
      | ~~~~~~~~~~~                
 5223 | 
      |                            
 5224 | #define PIPE_CONF_CHECK_COLOR_LUT(lut, is_pre_csc_lut) do { \
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5225 |  if (current_config->gamma_mode == pipe_config->gamma_mode && \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5226 |      !intel_color_lut_equal(current_config, \
      |      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5227 |        current_config->lut, pipe_config->lut, \
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5228 |        is_pre_csc_lut)) { \
      |        ~~~~~~~~~~~~~~~~~~~~
 5229 |   pipe_config_mismatch(&p, fastset, crtc, __stringify(lut), \
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5230 |          "hw_state doesn't match sw_state"); \
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5231 |   ret = false; \
      |   ~~~~~~~~~~~~~~           
 5232 |  } \
      |  ~~~                       
 5233 | } while (0)
      | ~~~~~~~~~~~                
 5234 | 
      |                            
 5235 | #define PIPE_CONF_CHECK_CSC(name) do { \
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5236 |  PIPE_CONF_CHECK_X(name.preoff[0]); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5237 |  PIPE_CONF_CHECK_X(name.preoff[1]); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5238 |  PIPE_CONF_CHECK_X(name.preoff[2]); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5239 |  PIPE_CONF_CHECK_X(name.coeff[0]); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5240 |  PIPE_CONF_CHECK_X(name.coeff[1]); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5241 |  PIPE_CONF_CHECK_X(name.coeff[2]); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5242 |  PIPE_CONF_CHECK_X(name.coeff[3]); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5243 |  PIPE_CONF_CHECK_X(name.coeff[4]); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5244 |  PIPE_CONF_CHECK_X(name.coeff[5]); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5245 |  PIPE_CONF_CHECK_X(name.coeff[6]); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5246 |  PIPE_CONF_CHECK_X(name.coeff[7]); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5247 |  PIPE_CONF_CHECK_X(name.coeff[8]); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5248 |  PIPE_CONF_CHECK_X(name.postoff[0]); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5249 |  PIPE_CONF_CHECK_X(name.postoff[1]); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5250 |  PIPE_CONF_CHECK_X(name.postoff[2]); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5251 | } while (0)
      | ~~~~~~~~~~~                
 5252 | 
      |                            
 5253 | #define PIPE_CONF_QUIRK(quirk) \
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5254 |  ((current_config->quirks | pipe_config->quirks) & (quirk))
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5255 | 
      |                            
 5256 |  PIPE_CONF_CHECK_BOOL(hw.enable);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5257 |  PIPE_CONF_CHECK_BOOL(hw.active);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5258 | 
      |                            
 5259 |  PIPE_CONF_CHECK_I(cpu_transcoder);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5260 |  PIPE_CONF_CHECK_I(mst_master_transcoder);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5261 | 
      |                            
 5262 |  PIPE_CONF_CHECK_BOOL(has_pch_encoder);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5263 |  PIPE_CONF_CHECK_I(fdi_lanes);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5264 |  PIPE_CONF_CHECK_M_N(fdi_m_n);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5265 | 
      |                            
 5266 |  PIPE_CONF_CHECK_I(lane_count);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5267 |  PIPE_CONF_CHECK_X(lane_lat_optim_mask);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5268 | 
      |                            
 5269 |  if (HAS_DOUBLE_BUFFERED_M_N(dev_priv)) {
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5270 |   if (!fastset || !pipe_config->update_m_n)
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5271 |    PIPE_CONF_CHECK_M_N(dp_m_n);
      |    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5272 |  } else {
      |  ~~~~~~~~                  
 5273 |   PIPE_CONF_CHECK_M_N(dp_m_n);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5274 |   PIPE_CONF_CHECK_M_N(dp_m2_n2);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5275 |  }
      |  ~                         
 5276 | 
      |                            
 5277 |  PIPE_CONF_CHECK_X(output_types);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5278 | 
      |                            
 5279 |  PIPE_CONF_CHECK_I(framestart_delay);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5280 |  PIPE_CONF_CHECK_I(msa_timing_delay);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5281 | 
      |                            
 5282 |  PIPE_CONF_CHECK_TIMINGS(hw.pipe_mode);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5283 |  PIPE_CONF_CHECK_TIMINGS(hw.adjusted_mode);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5284 | 
      |                            
 5285 |  PIPE_CONF_CHECK_I(pixel_multiplier);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5286 | 
      |                            
 5287 |  PIPE_CONF_CHECK_FLAGS(hw.adjusted_mode.flags,
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5288 |          DRM_MODE_FLAG_INTERLACE);
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~
 5289 | 
      |                            
 5290 |  if (!PIPE_CONF_QUIRK(PIPE_CONFIG_QUIRK_MODE_SYNC_FLAGS)) {
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5291 |   PIPE_CONF_CHECK_FLAGS(hw.adjusted_mode.flags,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5292 |           DRM_MODE_FLAG_PHSYNC);
      |           ~~~~~~~~~~~~~~~~~~~~~~
 5293 |   PIPE_CONF_CHECK_FLAGS(hw.adjusted_mode.flags,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5294 |           DRM_MODE_FLAG_NHSYNC);
      |           ~~~~~~~~~~~~~~~~~~~~~~
 5295 |   PIPE_CONF_CHECK_FLAGS(hw.adjusted_mode.flags,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5296 |           DRM_MODE_FLAG_PVSYNC);
      |           ~~~~~~~~~~~~~~~~~~~~~~
 5297 |   PIPE_CONF_CHECK_FLAGS(hw.adjusted_mode.flags,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5298 |           DRM_MODE_FLAG_NVSYNC);
      |           ~~~~~~~~~~~~~~~~~~~~~~
 5299 |  }
      |  ~                         
 5300 | 
      |                            
 5301 |  PIPE_CONF_CHECK_I(output_format);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5302 |  PIPE_CONF_CHECK_BOOL(has_hdmi_sink);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5303 |  if ((DISPLAY_VER(dev_priv) < 8 && !IS_HASWELL(dev_priv)) ||
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5304 |      IS_VALLEYVIEW(dev_priv) || IS_CHERRYVIEW(dev_priv))
      |      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5305 |   PIPE_CONF_CHECK_BOOL(limited_color_range);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5306 | 
      |                            
 5307 |  PIPE_CONF_CHECK_BOOL(hdmi_scrambling);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5308 |  PIPE_CONF_CHECK_BOOL(hdmi_high_tmds_clock_ratio);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5309 |  PIPE_CONF_CHECK_BOOL(has_infoframe);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5310 |  PIPE_CONF_CHECK_BOOL(enhanced_framing);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5311 |  PIPE_CONF_CHECK_BOOL(fec_enable);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5312 | 
      |                            
 5313 |  if (!fastset) {
      |  ~~~~~~~~~~~~~~~           
 5314 |   PIPE_CONF_CHECK_BOOL(has_audio);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5315 |   PIPE_CONF_CHECK_BUFFER(eld, MAX_ELD_BYTES);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5316 |  }
      |  ~                         
 5317 | 
      |                            
 5318 |  PIPE_CONF_CHECK_X(gmch_pfit.control);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5319 |  /* pfit ratios are autocomputed by the hw on gen4+ */
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5320 |  if (DISPLAY_VER(dev_priv) < 4)
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5321 |   PIPE_CONF_CHECK_X(gmch_pfit.pgm_ratios);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5322 |  PIPE_CONF_CHECK_X(gmch_pfit.lvds_border_bits);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5323 | 
      |                            
 5324 |  /*
      |  ~~                        
 5325 |   * Changing the EDP transcoder input mux
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5326 |   * (A_ONOFF vs. A_ON) requires a full modeset.
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5327 |   */
      |   ~~                       
 5328 |  PIPE_CONF_CHECK_BOOL(pch_pfit.force_thru);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5329 | 
      |                            
 5330 |  if (!fastset) {
      |  ~~~~~~~~~~~~~~~           
 5331 |   PIPE_CONF_CHECK_RECT(pipe_src);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5332 | 
      |                            
 5333 |   PIPE_CONF_CHECK_BOOL(pch_pfit.enabled);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5334 |   PIPE_CONF_CHECK_RECT(pch_pfit.dst);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5335 | 
      |                            
 5336 |   PIPE_CONF_CHECK_I(scaler_state.scaler_id);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5337 |   PIPE_CONF_CHECK_I(pixel_rate);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5338 | 
      |                            
 5339 |   PIPE_CONF_CHECK_X(gamma_mode);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5340 |   if (IS_CHERRYVIEW(dev_priv))
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5341 |    PIPE_CONF_CHECK_X(cgm_mode);
      |    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5342 |   else
      |   ~~~~                     
 5343 |    PIPE_CONF_CHECK_X(csc_mode);
      |    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5344 |   PIPE_CONF_CHECK_BOOL(gamma_enable);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5345 |   PIPE_CONF_CHECK_BOOL(csc_enable);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5346 |   PIPE_CONF_CHECK_BOOL(wgc_enable);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5347 | 
      |                            
 5348 |   PIPE_CONF_CHECK_I(linetime);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5349 |   PIPE_CONF_CHECK_I(ips_linetime);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5350 | 
      |                            
 5351 |   PIPE_CONF_CHECK_COLOR_LUT(pre_csc_lut, true);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5352 |   PIPE_CONF_CHECK_COLOR_LUT(post_csc_lut, false);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5353 | 
      |                            
 5354 |   PIPE_CONF_CHECK_CSC(csc);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~
 5355 |   PIPE_CONF_CHECK_CSC(output_csc);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5356 |  }
      |  ~                         
 5357 | 
      |                            
 5358 |  /*
      |  ~~                        
 5359 |   * Panel replay has to be enabled before link training. PSR doesn't have
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5360 |   * this requirement -> check these only if using panel replay
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5361 |   */
      |   ~~                       
 5362 |  if (current_config->has_panel_replay || pipe_config->has_panel_replay) {
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5363 |   PIPE_CONF_CHECK_BOOL(has_psr);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5364 |   PIPE_CONF_CHECK_BOOL(has_psr2);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5365 |   PIPE_CONF_CHECK_BOOL(enable_psr2_sel_fetch);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5366 |   PIPE_CONF_CHECK_BOOL(enable_psr2_su_region_et);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5367 |   PIPE_CONF_CHECK_BOOL(has_panel_replay);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5368 |  }
      |  ~                         
 5369 | 
      |                            
 5370 |  PIPE_CONF_CHECK_BOOL(double_wide);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5371 | 
      |                            
 5372 |  if (dev_priv->display.dpll.mgr)
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5373 |   PIPE_CONF_CHECK_P(shared_dpll);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5374 | 
      |                            
 5375 |  /* FIXME convert everything over the dpll_mgr */
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5376 |  if (dev_priv->display.dpll.mgr || HAS_GMCH(dev_priv))
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5377 |   PIPE_CONF_CHECK_PLL(dpll_hw_state);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5378 | 
      |                            
 5379 |  PIPE_CONF_CHECK_X(dsi_pll.ctrl);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5380 |  PIPE_CONF_CHECK_X(dsi_pll.div);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5381 | 
      |                            
 5382 |  if (IS_G4X(dev_priv) || DISPLAY_VER(dev_priv) >= 5)
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5383 |   PIPE_CONF_CHECK_I(pipe_bpp);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5384 | 
      |                            
 5385 |  if (!fastset || !pipe_config->update_m_n) {
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5386 |   PIPE_CONF_CHECK_I(hw.pipe_mode.crtc_clock);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5387 |   PIPE_CONF_CHECK_I(hw.adjusted_mode.crtc_clock);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5388 |  }
      |  ~                         
 5389 |  PIPE_CONF_CHECK_I(port_clock);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5390 | 
      |                            
 5391 |  PIPE_CONF_CHECK_I(min_voltage_level);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5392 | 
      |                            
 5393 |  if (current_config->has_psr || pipe_config->has_psr)
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5394 |   PIPE_CONF_CHECK_X_WITH_MASK(infoframes.enable,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5395 |          ~intel_hdmi_infoframe_enable(DP_SDP_VSC));
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5396 |  else
      |  ~~~~                      
 5397 |   PIPE_CONF_CHECK_X(infoframes.enable);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5398 | 
      |                            
 5399 |  PIPE_CONF_CHECK_X(infoframes.gcp);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5400 |  PIPE_CONF_CHECK_INFOFRAME(avi);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5401 |  PIPE_CONF_CHECK_INFOFRAME(spd);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5402 |  PIPE_CONF_CHECK_INFOFRAME(hdmi);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5403 |  PIPE_CONF_CHECK_INFOFRAME(drm);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5404 |  PIPE_CONF_CHECK_DP_VSC_SDP(vsc);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5405 |  PIPE_CONF_CHECK_DP_AS_SDP(as_sdp);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5406 | 
      |                            
 5407 |  PIPE_CONF_CHECK_X(sync_mode_slaves_mask);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5408 |  PIPE_CONF_CHECK_I(master_transcoder);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5409 |  PIPE_CONF_CHECK_X(bigjoiner_pipes);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5410 | 
      |                            
 5411 |  PIPE_CONF_CHECK_BOOL(dsc.config.block_pred_enable);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5412 |  PIPE_CONF_CHECK_BOOL(dsc.config.convert_rgb);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5413 |  PIPE_CONF_CHECK_BOOL(dsc.config.simple_422);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5414 |  PIPE_CONF_CHECK_BOOL(dsc.config.native_422);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5415 |  PIPE_CONF_CHECK_BOOL(dsc.config.native_420);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5416 |  PIPE_CONF_CHECK_BOOL(dsc.config.vbr_enable);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5417 |  PIPE_CONF_CHECK_I(dsc.config.line_buf_depth);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5418 |  PIPE_CONF_CHECK_I(dsc.config.bits_per_component);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5419 |  PIPE_CONF_CHECK_I(dsc.config.pic_width);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5420 |  PIPE_CONF_CHECK_I(dsc.config.pic_height);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5421 |  PIPE_CONF_CHECK_I(dsc.config.slice_width);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5422 |  PIPE_CONF_CHECK_I(dsc.config.slice_height);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5423 |  PIPE_CONF_CHECK_I(dsc.config.initial_dec_delay);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5424 |  PIPE_CONF_CHECK_I(dsc.config.initial_xmit_delay);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5425 |  PIPE_CONF_CHECK_I(dsc.config.scale_decrement_interval);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5426 |  PIPE_CONF_CHECK_I(dsc.config.scale_increment_interval);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5427 |  PIPE_CONF_CHECK_I(dsc.config.initial_scale_value);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5428 |  PIPE_CONF_CHECK_I(dsc.config.first_line_bpg_offset);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5429 |  PIPE_CONF_CHECK_I(dsc.config.flatness_min_qp);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5430 |  PIPE_CONF_CHECK_I(dsc.config.flatness_max_qp);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5431 |  PIPE_CONF_CHECK_I(dsc.config.slice_bpg_offset);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5432 |  PIPE_CONF_CHECK_I(dsc.config.nfl_bpg_offset);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5433 |  PIPE_CONF_CHECK_I(dsc.config.initial_offset);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5434 |  PIPE_CONF_CHECK_I(dsc.config.final_offset);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5435 |  PIPE_CONF_CHECK_I(dsc.config.rc_model_size);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5436 |  PIPE_CONF_CHECK_I(dsc.config.rc_quant_incr_limit0);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5437 |  PIPE_CONF_CHECK_I(dsc.config.rc_quant_incr_limit1);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5438 |  PIPE_CONF_CHECK_I(dsc.config.slice_chunk_size);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5439 |  PIPE_CONF_CHECK_I(dsc.config.second_line_bpg_offset);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5440 |  PIPE_CONF_CHECK_I(dsc.config.nsl_bpg_offset);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5441 | 
      |                            
 5442 |  PIPE_CONF_CHECK_BOOL(dsc.compression_enable);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5443 |  PIPE_CONF_CHECK_BOOL(dsc.dsc_split);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5444 |  PIPE_CONF_CHECK_I(dsc.compressed_bpp_x16);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5445 | 
      |                            
 5446 |  PIPE_CONF_CHECK_BOOL(splitter.enable);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5447 |  PIPE_CONF_CHECK_I(splitter.link_count);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5448 |  PIPE_CONF_CHECK_I(splitter.pixel_overlap);
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5449 | 
      |                            
 5450 |  if (!fastset) {
      |  ~~~~~~~~~~~~~~~           
 5451 |   PIPE_CONF_CHECK_BOOL(vrr.enable);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5452 |   PIPE_CONF_CHECK_I(vrr.vmin);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5453 |   PIPE_CONF_CHECK_I(vrr.vmax);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5454 |   PIPE_CONF_CHECK_I(vrr.flipline);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5455 |   PIPE_CONF_CHECK_I(vrr.pipeline_full);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5456 |   PIPE_CONF_CHECK_I(vrr.guardband);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5457 |   PIPE_CONF_CHECK_I(vrr.vsync_start);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5458 |   PIPE_CONF_CHECK_I(vrr.vsync_end);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5459 |   PIPE_CONF_CHECK_LLI(cmrr.cmrr_m);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5460 |   PIPE_CONF_CHECK_LLI(cmrr.cmrr_n);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
      |                           |
      |                           u64 {aka const long long unsigned int}
drivers/gpu/drm/i915/display/intel_display.c:5089:26: note: in definition of macro ‘PIPE_CONF_CHECK_LLI’
 5089 |          current_config->name, \
      |                          ^~~~
drivers/gpu/drm/i915/display/intel_display.c:4890:38: note: expected ‘const char *’ but argument is of type ‘u64’ {aka ‘const long long unsigned int’}
 4890 |        const char *name, const char *format, ...)
      |                          ~~~~~~~~~~~~^~~~~~
cc1: all warnings being treated as errors
make[6]: *** [scripts/Makefile.build:244: drivers/gpu/drm/i915/display/intel_display.o] Error 1
make[5]: *** [scripts/Makefile.build:485: drivers/gpu/drm/i915] Error 2
make[4]: *** [scripts/Makefile.build:485: drivers/gpu/drm] Error 2
make[3]: *** [scripts/Makefile.build:485: drivers/gpu] Error 2
make[2]: *** [scripts/Makefile.build:485: drivers] Error 2
make[1]: *** [/home/kbuild/kernel/Makefile:1919: .] Error 2
make: *** [Makefile:240: __sub-make] Error 2
Build failed, no error log produced




More information about the Intel-gfx-trybot mailing list