intel_crtc_has_type
if (!intel_crtc_has_type(crtc_state, INTEL_OUTPUT_DP_MST))
if (!intel_crtc_has_type(old_crtc_state, INTEL_OUTPUT_DP_MST))
if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_DSI) &&
if (!intel_crtc_has_type(crtc_state, INTEL_OUTPUT_EDP))
if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_DSI))
if (intel_crtc_has_type(pipe_config, INTEL_OUTPUT_HDMI))
if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_HDMI)) {
} else if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_ANALOG)) {
} else if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_DP_MST)) {
intel_crtc_has_type(crtc_state, INTEL_OUTPUT_HDMI)) {
if (WARN_ON(intel_crtc_has_type(crtc_state, INTEL_OUTPUT_DP_MST)))
bool is_mst = intel_crtc_has_type(crtc_state, INTEL_OUTPUT_DP_MST);
if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_HDMI))
bool is_mst = intel_crtc_has_type(old_crtc_state,
if (intel_crtc_has_type(old_crtc_state, INTEL_OUTPUT_HDMI))
if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_HDMI))
if (intel_crtc_has_type(old_crtc_state, INTEL_OUTPUT_HDMI))
if (intel_crtc_has_type(pipe_config, INTEL_OUTPUT_HDMI))
WARN_ON(!intel_crtc_has_type(crtc_state, INTEL_OUTPUT_HDMI));
if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_ANALOG))
else if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_EDP))
intel_crtc_has_type(crtc->config, INTEL_OUTPUT_HDMI)) {
intel_crtc_has_type(crtc->config, INTEL_OUTPUT_DVO);
intel_crtc_has_type(crtc->config, INTEL_OUTPUT_DVO) &&
if (intel_crtc_has_type(intel_crtc->config, INTEL_OUTPUT_HDMI))
intel_crtc_has_type(intel_crtc->config, INTEL_OUTPUT_SDVO))
if (intel_crtc_has_type(new_crtc_state, INTEL_OUTPUT_DSI))
if (intel_crtc_has_type(intel_crtc->config, INTEL_OUTPUT_DP_MST))
if (intel_crtc_has_type(old_crtc_state, INTEL_OUTPUT_DP_MST))
if (!intel_crtc_has_type(intel_crtc->config, INTEL_OUTPUT_DSI)) {
if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_LVDS)) {
if (intel_crtc_has_type(pipe_config, INTEL_OUTPUT_LVDS) &&
if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_LVDS) &&
if (!intel_crtc_has_type(pipe_config, INTEL_OUTPUT_DSI))
if (!intel_crtc_has_type(pipe_config, INTEL_OUTPUT_DSI))
intel_crtc_has_type(crtc->config, INTEL_OUTPUT_ANALOG) ||
intel_crtc_has_type(crtc->config, INTEL_OUTPUT_HDMI))
if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_LVDS))
if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_SDVO) ||
intel_crtc_has_type(crtc_state, INTEL_OUTPUT_HDMI))
else if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_LVDS) &&
if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_LVDS)) {
intel_crtc_has_type(crtc_state, INTEL_OUTPUT_DVO))
if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_LVDS) &&
if (intel_crtc_has_type(intel_crtc->config, INTEL_OUTPUT_SDVO))
intel_crtc_has_type(intel_crtc->config, INTEL_OUTPUT_SDVO))
if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_LVDS)) {
} else if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_DVO)) {
if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_LVDS)) {
} else if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_HDMI) ||
intel_crtc_has_type(crtc_state, INTEL_OUTPUT_ANALOG)) {
} else if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_SDVO)) {
if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_LVDS)) {
if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_LVDS)) {
if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_LVDS)) {
if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_LVDS))
if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_SDVO) ||
intel_crtc_has_type(crtc_state, INTEL_OUTPUT_HDMI))
intel_crtc_has_type(crtc_state, INTEL_OUTPUT_ANALOG))
if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_LVDS) &&
if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_LVDS)) {
if (!intel_crtc_has_type(crtc_state, INTEL_OUTPUT_DSI)) {
intel_crtc_has_type(pipe_config,
if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_HDMI)) {
if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_EDP))
if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_HDMI) &&
if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_HDMI)) {
else if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_HDMI))
bool is_dp = !intel_crtc_has_type(crtc_state, INTEL_OUTPUT_HDMI);
if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_HDMI)) {
} else if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_ANALOG)) {
intel_crtc_has_type(new_crtc_state, INTEL_OUTPUT_DSI);