Lines Matching refs:crtc
259 struct intel_crtc *crtc = to_intel_crtc(plane_state->hw.crtc); in intel_plane_calc_min_cdclk() local
267 old_crtc_state = intel_atomic_get_old_crtc_state(state, crtc); in intel_plane_calc_min_cdclk()
268 new_crtc_state = intel_atomic_get_new_crtc_state(state, crtc); in intel_plane_calc_min_cdclk()
298 cdclk_state->min_cdclk[crtc->pipe]) in intel_plane_calc_min_cdclk()
305 crtc->base.base.id, crtc->base.name, in intel_plane_calc_min_cdclk()
306 cdclk_state->min_cdclk[crtc->pipe]); in intel_plane_calc_min_cdclk()
322 struct intel_crtc *crtc) in intel_plane_copy_uapi_to_hw_state() argument
332 plane_state->hw.crtc = from_plane_state->uapi.crtc ? &crtc->base : NULL; in intel_plane_copy_uapi_to_hw_state()
481 struct intel_crtc *crtc = to_intel_crtc(new_crtc_state->uapi.crtc); in intel_plane_atomic_calc_changes() local
483 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in intel_plane_atomic_calc_changes()
525 crtc->base.base.id, crtc->base.name, in intel_plane_atomic_calc_changes()
611 if (!new_plane_state->hw.crtc && !old_plane_state->hw.crtc) in intel_plane_atomic_check_with_state()
667 intel_crtc_get_plane(struct intel_crtc *crtc, enum plane_id plane_id) in intel_crtc_get_plane() argument
669 struct drm_i915_private *i915 = to_i915(crtc->base.dev); in intel_crtc_get_plane()
672 for_each_intel_plane_on_crtc(&i915->drm, crtc, plane) { in intel_crtc_get_plane()
689 struct intel_crtc *crtc = intel_crtc_for_pipe(i915, plane->pipe); in intel_plane_atomic_check() local
691 intel_atomic_get_old_crtc_state(state, crtc); in intel_plane_atomic_check()
693 intel_atomic_get_new_crtc_state(state, crtc); in intel_plane_atomic_check()
709 crtc); in intel_plane_atomic_check()
723 struct intel_crtc *crtc, in skl_next_plane_to_commit() argument
729 intel_atomic_get_new_crtc_state(state, crtc); in skl_next_plane_to_commit()
740 if (crtc->pipe != plane->pipe || in skl_next_plane_to_commit()
767 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in intel_plane_update_noarm() local
769 trace_intel_plane_update_noarm(plane, crtc); in intel_plane_update_noarm()
779 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in intel_plane_update_arm() local
781 trace_intel_plane_update_arm(plane, crtc); in intel_plane_update_arm()
792 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in intel_plane_disable_arm() local
794 trace_intel_plane_disable_arm(plane, crtc); in intel_plane_disable_arm()
799 struct intel_crtc *crtc) in intel_crtc_planes_update_noarm() argument
802 intel_atomic_get_new_crtc_state(state, crtc); in intel_crtc_planes_update_noarm()
816 if (crtc->pipe != plane->pipe || in intel_crtc_planes_update_noarm()
828 struct intel_crtc *crtc) in skl_crtc_planes_update_arm() argument
831 intel_atomic_get_old_crtc_state(state, crtc); in skl_crtc_planes_update_arm()
833 intel_atomic_get_new_crtc_state(state, crtc); in skl_crtc_planes_update_arm()
844 while ((plane = skl_next_plane_to_commit(state, crtc, ddb, ddb_y, &update_mask))) { in skl_crtc_planes_update_arm()
861 struct intel_crtc *crtc) in i9xx_crtc_planes_update_arm() argument
864 intel_atomic_get_new_crtc_state(state, crtc); in i9xx_crtc_planes_update_arm()
871 if (crtc->pipe != plane->pipe || in i9xx_crtc_planes_update_arm()
887 struct intel_crtc *crtc) in intel_crtc_planes_update_arm() argument
892 skl_crtc_planes_update_arm(state, crtc); in intel_crtc_planes_update_arm()
894 i9xx_crtc_planes_update_arm(state, crtc); in intel_crtc_planes_update_arm()
1039 to_intel_crtc(old_plane_state->hw.crtc)); in intel_prepare_plane_fb()
1097 intel_display_rps_boost_after_vblank(new_plane_state->hw.crtc, in intel_prepare_plane_fb()
1102 intel_display_rps_boost_after_vblank(new_plane_state->hw.crtc, in intel_prepare_plane_fb()