Lines Matching refs:crtc
110 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in skl_update_scaler() local
111 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in skl_update_scaler()
158 crtc->pipe, scaler_user, *scaler_id, in skl_update_scaler()
207 crtc->pipe, scaler_user, src_w, src_h, in skl_update_scaler()
223 crtc->pipe, scaler_user, pipe_src_w, pipe_src_h); in skl_update_scaler()
231 crtc->pipe, scaler_user, src_w, src_h, dst_w, dst_h, in skl_update_scaler()
709 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in skl_pfit_enable() local
710 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in skl_pfit_enable()
715 enum pipe pipe = crtc->pipe; in skl_pfit_enable()
824 static void skl_detach_scaler(struct intel_crtc *crtc, int id) in skl_detach_scaler() argument
826 struct drm_device *dev = crtc->base.dev; in skl_detach_scaler()
829 intel_de_write_fw(dev_priv, SKL_PS_CTRL(crtc->pipe, id), 0); in skl_detach_scaler()
830 intel_de_write_fw(dev_priv, SKL_PS_WIN_POS(crtc->pipe, id), 0); in skl_detach_scaler()
831 intel_de_write_fw(dev_priv, SKL_PS_WIN_SZ(crtc->pipe, id), 0); in skl_detach_scaler()
839 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in skl_detach_scalers() local
845 for (i = 0; i < crtc->num_scalers; i++) { in skl_detach_scalers()
847 skl_detach_scaler(crtc, i); in skl_detach_scalers()
853 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->uapi.crtc); in skl_scaler_disable() local
856 for (i = 0; i < crtc->num_scalers; i++) in skl_scaler_disable()
857 skl_detach_scaler(crtc, i); in skl_scaler_disable()
862 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in skl_scaler_get_config() local
863 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in skl_scaler_get_config()
869 for (i = 0; i < crtc->num_scalers; i++) { in skl_scaler_get_config()
872 ctl = intel_de_read(dev_priv, SKL_PS_CTRL(crtc->pipe, i)); in skl_scaler_get_config()
879 pos = intel_de_read(dev_priv, SKL_PS_WIN_POS(crtc->pipe, i)); in skl_scaler_get_config()
880 size = intel_de_read(dev_priv, SKL_PS_WIN_SZ(crtc->pipe, i)); in skl_scaler_get_config()