Lines Matching refs:crtc

24 				  struct drm_crtc *crtc, int target,
213 cdv_dpll_set_clock_cdv(struct drm_device *dev, struct drm_crtc *crtc, in cdv_dpll_set_clock_cdv() argument
216 struct gma_crtc *gma_crtc = to_gma_crtc(crtc); in cdv_dpll_set_clock_cdv()
364 static const struct gma_limit_t *cdv_intel_limit(struct drm_crtc *crtc, in cdv_intel_limit() argument
368 if (gma_pipe_has_type(crtc, INTEL_OUTPUT_LVDS)) { in cdv_intel_limit()
377 } else if (gma_pipe_has_type(crtc, INTEL_OUTPUT_DISPLAYPORT) || in cdv_intel_limit()
378 gma_pipe_has_type(crtc, INTEL_OUTPUT_EDP)) { in cdv_intel_limit()
402 struct drm_crtc *crtc, int target, in cdv_intel_find_dp_pll() argument
406 struct gma_crtc *gma_crtc = to_gma_crtc(crtc); in cdv_intel_find_dp_pll()
458 struct drm_crtc *crtc; in cdv_intel_pipe_enabled() local
462 crtc = dev_priv->pipe_to_crtc_mapping[pipe]; in cdv_intel_pipe_enabled()
463 gma_crtc = to_gma_crtc(crtc); in cdv_intel_pipe_enabled()
465 if (crtc->primary->fb == NULL || !gma_crtc->active) in cdv_intel_pipe_enabled()
491 void cdv_update_wm(struct drm_device *dev, struct drm_crtc *crtc) in cdv_update_wm() argument
494 struct gma_crtc *gma_crtc = to_gma_crtc(crtc); in cdv_update_wm()
520 gma_pipe_has_type(crtc, INTEL_OUTPUT_LVDS)) { in cdv_update_wm()
571 static int cdv_intel_crtc_mode_set(struct drm_crtc *crtc, in cdv_intel_crtc_mode_set() argument
577 struct drm_device *dev = crtc->dev; in cdv_intel_crtc_mode_set()
579 struct gma_crtc *gma_crtc = to_gma_crtc(crtc); in cdv_intel_crtc_mode_set()
600 || connector->encoder->crtc != crtc) in cdv_intel_crtc_mode_set()
655 limit = gma_crtc->clock_funcs->limit(crtc, refclk); in cdv_intel_crtc_mode_set()
657 ok = limit->find_pll(limit, crtc, adjusted_mode->clock, refclk, in cdv_intel_crtc_mode_set()
668 cdv_intel_dp_set_m_n(crtc, mode, adjusted_mode); in cdv_intel_crtc_mode_set()
725 cdv_dpll_set_clock_cdv(dev, crtc, &clock, is_lvds, ddi_select); in cdv_intel_crtc_mode_set()
813 crtc->helper_private; in cdv_intel_crtc_mode_set()
814 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in cdv_intel_crtc_mode_set()
836 struct drm_crtc *crtc) in cdv_intel_crtc_clock_get() argument
839 struct gma_crtc *gma_crtc = to_gma_crtc(crtc); in cdv_intel_crtc_clock_get()
915 struct drm_crtc *crtc) in cdv_intel_crtc_mode_get() argument
917 struct gma_crtc *gma_crtc = to_gma_crtc(crtc); in cdv_intel_crtc_mode_get()
945 mode->clock = cdv_intel_crtc_clock_get(dev, crtc); in cdv_intel_crtc_mode_get()