Lines Matching refs:crtc

65 static const struct gma_limit_t *psb_intel_limit(struct drm_crtc *crtc,  in psb_intel_limit()  argument
70 if (gma_pipe_has_type(crtc, INTEL_OUTPUT_LVDS)) in psb_intel_limit()
102 static int psb_intel_crtc_mode_set(struct drm_crtc *crtc, in psb_intel_crtc_mode_set() argument
108 struct drm_device *dev = crtc->dev; in psb_intel_crtc_mode_set()
110 struct gma_crtc *gma_crtc = to_gma_crtc(crtc); in psb_intel_crtc_mode_set()
111 const struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private; in psb_intel_crtc_mode_set()
124 if (crtc->primary->fb == NULL) { in psb_intel_crtc_mode_set()
125 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in psb_intel_crtc_mode_set()
133 || connector->encoder->crtc != crtc) in psb_intel_crtc_mode_set()
151 limit = gma_crtc->clock_funcs->limit(crtc, refclk); in psb_intel_crtc_mode_set()
153 ok = limit->find_pll(limit, crtc, adjusted_mode->clock, refclk, in psb_intel_crtc_mode_set()
300 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in psb_intel_crtc_mode_set()
309 struct drm_crtc *crtc) in psb_intel_crtc_clock_get() argument
311 struct gma_crtc *gma_crtc = to_gma_crtc(crtc); in psb_intel_crtc_clock_get()
385 struct drm_crtc *crtc) in psb_intel_crtc_mode_get() argument
387 struct gma_crtc *gma_crtc = to_gma_crtc(crtc); in psb_intel_crtc_mode_get()
415 mode->clock = psb_intel_crtc_clock_get(dev, crtc); in psb_intel_crtc_mode_get()
546 gma_crtc->mode_set.crtc = &gma_crtc->base; in psb_intel_crtc_init()
561 struct drm_crtc *crtc = NULL; in psb_intel_get_crtc_from_pipe() local
563 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in psb_intel_get_crtc_from_pipe()
564 struct gma_crtc *gma_crtc = to_gma_crtc(crtc); in psb_intel_get_crtc_from_pipe()
568 return crtc; in psb_intel_get_crtc_from_pipe()