IS_DISPLAY_VER
if (!IS_DISPLAY_VER(display, 3, 7)) {
if (intel_has_sagv(display) && IS_DISPLAY_VER(display, 11, 13))
else if (IS_DISPLAY_VER(display, 3, 4))
if (IS_DISPLAY_VER(display, 12, 13))
if (IS_DISPLAY_VER(display, 11, 13) && intel_encoder_is_tc(encoder)) {
if (!IS_DISPLAY_VER(display, 9, 20))
if (IS_DISPLAY_VER(display, 8, 10) &&
if (IS_DISPLAY_VER(display, 8, 10))
else if (display->platform.alderlake_p || IS_DISPLAY_VER(display, 11, 12))
return IS_DISPLAY_VER(display, 5, 7) || display->platform.cherryview;
} else if (IS_DISPLAY_VER(display, 3, 4)) {
return IS_DISPLAY_VER(display, 6, 11) && intel_display_vtd_active(display);
if (DISPLAY_VER(display) >= 13 || IS_DISPLAY_VER(display, 9, 10)) {
} else if (IS_DISPLAY_VER(display, 11, 12)) {
else if (IS_DISPLAY_VER(display, 9, 10))
if (IS_DISPLAY_VER(display, 7, 8) && HAS_PCH_SPLIT(display)) {
if (IS_DISPLAY_VER(display, 10, 12) &&
#define HAS_AUX_DIST(__display) (IS_DISPLAY_VER(__display, 9, 12) || (__display)->platform.alderlake_p || (__display)->platform.meteorlake)
#define HAS_CUR_FBC(__display) (!HAS_GMCH(__display) && IS_DISPLAY_VER(__display, 7, 13))
#define HAS_DOUBLE_BUFFERED_M_N(__display) (IS_DISPLAY_VER((__display), 9, 14) || (__display)->platform.broadwell)
#define HAS_FDI(__display) (IS_DISPLAY_VER((__display), 5, 8) && !HAS_GMCH(__display))
#define HAS_LSPCON(__display) (IS_DISPLAY_VER(__display, 9, 10))
if (IS_DISPLAY_VER(display, 11, 13)) {
return IS_DISPLAY_VER(display, 3, 4) && display->platform.mobile;
return IS_DISPLAY_VER(display, 14, 35);
return IS_DISPLAY_VER(display, 11, 12);
return (IS_DISPLAY_VER(display, 10, 12));
if (IS_DISPLAY_VER(display, 30, 35))
if (IS_DISPLAY_VER(display, 13, 14))
if (IS_DISPLAY_VER(display, 14, 20) && !display->platform.battlemage) {
else if (IS_DISPLAY_VER(display, 3, 4))
if (!IS_DISPLAY_VER(display, md->display_ver.from, md->display_ver.until))
if ((IS_DISPLAY_VER(display, 12, 13) ||
if (IS_DISPLAY_VER(display, 9, 12) &&
if (IS_DISPLAY_VER(display, 9, 12) &&
if (!(IS_DISPLAY_VER(display, 13, 14) && crtc_state->has_psr &&
if (IS_DISPLAY_VER(display, 13, 14))
if (IS_DISPLAY_VER(display, 13, 14))
if (intel_vrr_possible(crtc_state) && IS_DISPLAY_VER(display, 13, 14))
} else if (IS_DISPLAY_VER(display, 12, 14)) {
} else if (IS_DISPLAY_VER(display, 10, 11)) {
if (IS_DISPLAY_VER(display, 11, 14) && crtc_state->wm_level_disabled)
if (IS_DISPLAY_VER(display, 9, 10))
if (IS_DISPLAY_VER(display, 12, 13))
plane->need_async_flip_toggle_wa = IS_DISPLAY_VER(display, 9, 10);
return IS_DISPLAY_VER(display, 13, 20) &&
if (latency && IS_DISPLAY_VER(display, 20, 30)) {