gma_pipe_has_type
if (gma_pipe_has_type(crtc, INTEL_OUTPUT_LVDS)) {
} else if (gma_pipe_has_type(crtc, INTEL_OUTPUT_DISPLAYPORT) ||
gma_pipe_has_type(crtc, INTEL_OUTPUT_EDP)) {
gma_pipe_has_type(crtc, INTEL_OUTPUT_LVDS)) {
if (gma_pipe_has_type(crtc, INTEL_OUTPUT_LVDS) &&
extern bool gma_pipe_has_type(struct drm_crtc *crtc, int type);
} else if (gma_pipe_has_type(crtc, INTEL_OUTPUT_SDVO)) {
int need_aux = gma_pipe_has_type(crtc, INTEL_OUTPUT_SDVO) ? 1 : 0;
if (gma_pipe_has_type(crtc, INTEL_OUTPUT_HDMI)) {
int need_aux = gma_pipe_has_type(crtc, INTEL_OUTPUT_SDVO) ? 1 : 0;
if (gma_pipe_has_type(crtc, INTEL_OUTPUT_HDMI))
if (gma_pipe_has_type(crtc, INTEL_OUTPUT_LVDS)
|| gma_pipe_has_type(crtc, INTEL_OUTPUT_MIPI)) {
if (gma_pipe_has_type(crtc, INTEL_OUTPUT_LVDS))