Lines Matching full:pipe

22 			     enum pipe pch_transcoder)  in intel_has_pch_trancoder()
28 enum pipe intel_crtc_pch_transcoder(struct intel_crtc *crtc) in intel_crtc_pch_transcoder()
35 return crtc->pipe; in intel_crtc_pch_transcoder()
39 enum pipe pipe, enum port port, in assert_pch_dp_disabled() argument
42 enum pipe port_pipe; in assert_pch_dp_disabled()
47 I915_STATE_WARN(dev_priv, state && port_pipe == pipe, in assert_pch_dp_disabled()
49 port_name(port), pipe_name(pipe)); in assert_pch_dp_disabled()
58 enum pipe pipe, enum port port, in assert_pch_hdmi_disabled() argument
61 enum pipe port_pipe; in assert_pch_hdmi_disabled()
66 I915_STATE_WARN(dev_priv, state && port_pipe == pipe, in assert_pch_hdmi_disabled()
68 port_name(port), pipe_name(pipe)); in assert_pch_hdmi_disabled()
77 enum pipe pipe) in assert_pch_ports_disabled() argument
79 enum pipe port_pipe; in assert_pch_ports_disabled()
81 assert_pch_dp_disabled(dev_priv, pipe, PORT_B, PCH_DP_B); in assert_pch_ports_disabled()
82 assert_pch_dp_disabled(dev_priv, pipe, PORT_C, PCH_DP_C); in assert_pch_ports_disabled()
83 assert_pch_dp_disabled(dev_priv, pipe, PORT_D, PCH_DP_D); in assert_pch_ports_disabled()
86 intel_crt_port_enabled(dev_priv, PCH_ADPA, &port_pipe) && port_pipe == pipe, in assert_pch_ports_disabled()
88 pipe_name(pipe)); in assert_pch_ports_disabled()
91 intel_lvds_port_enabled(dev_priv, PCH_LVDS, &port_pipe) && port_pipe == pipe, in assert_pch_ports_disabled()
93 pipe_name(pipe)); in assert_pch_ports_disabled()
96 assert_pch_hdmi_disabled(dev_priv, pipe, PORT_B, PCH_HDMIB); in assert_pch_ports_disabled()
97 assert_pch_hdmi_disabled(dev_priv, pipe, PORT_C, PCH_HDMIC); in assert_pch_ports_disabled()
98 assert_pch_hdmi_disabled(dev_priv, pipe, PORT_D, PCH_HDMID); in assert_pch_ports_disabled()
102 enum pipe pipe) in assert_pch_transcoder_disabled() argument
107 val = intel_de_read(dev_priv, PCH_TRANSCONF(pipe)); in assert_pch_transcoder_disabled()
110 "transcoder assertion failed, should be off on pipe %c but is still active\n", in assert_pch_transcoder_disabled()
111 pipe_name(pipe)); in assert_pch_transcoder_disabled()
179 enum pipe pipe = crtc->pipe; in intel_pch_transcoder_set_m1_n1() local
182 PCH_TRANS_DATA_M1(pipe), PCH_TRANS_DATA_N1(pipe), in intel_pch_transcoder_set_m1_n1()
183 PCH_TRANS_LINK_M1(pipe), PCH_TRANS_LINK_N1(pipe)); in intel_pch_transcoder_set_m1_n1()
190 enum pipe pipe = crtc->pipe; in intel_pch_transcoder_set_m2_n2() local
193 PCH_TRANS_DATA_M2(pipe), PCH_TRANS_DATA_N2(pipe), in intel_pch_transcoder_set_m2_n2()
194 PCH_TRANS_LINK_M2(pipe), PCH_TRANS_LINK_N2(pipe)); in intel_pch_transcoder_set_m2_n2()
201 enum pipe pipe = crtc->pipe; in intel_pch_transcoder_get_m1_n1() local
204 PCH_TRANS_DATA_M1(pipe), PCH_TRANS_DATA_N1(pipe), in intel_pch_transcoder_get_m1_n1()
205 PCH_TRANS_LINK_M1(pipe), PCH_TRANS_LINK_N1(pipe)); in intel_pch_transcoder_get_m1_n1()
212 enum pipe pipe = crtc->pipe; in intel_pch_transcoder_get_m2_n2() local
215 PCH_TRANS_DATA_M2(pipe), PCH_TRANS_DATA_N2(pipe), in intel_pch_transcoder_get_m2_n2()
216 PCH_TRANS_LINK_M2(pipe), PCH_TRANS_LINK_N2(pipe)); in intel_pch_transcoder_get_m2_n2()
220 enum pipe pch_transcoder) in ilk_pch_transcoder_set_timings()
247 enum pipe pipe = crtc->pipe; in ilk_enable_pch_transcoder() local
255 assert_fdi_tx_enabled(dev_priv, pipe); in ilk_enable_pch_transcoder()
256 assert_fdi_rx_enabled(dev_priv, pipe); in ilk_enable_pch_transcoder()
259 reg = TRANS_CHICKEN2(pipe); in ilk_enable_pch_transcoder()
272 reg = PCH_TRANSCONF(pipe); in ilk_enable_pch_transcoder()
274 pipeconf_val = intel_de_read(dev_priv, TRANSCONF(dev_priv, pipe)); in ilk_enable_pch_transcoder()
307 pipe_name(pipe)); in ilk_enable_pch_transcoder()
313 enum pipe pipe = crtc->pipe; in ilk_disable_pch_transcoder() local
317 assert_fdi_tx_disabled(dev_priv, pipe); in ilk_disable_pch_transcoder()
318 assert_fdi_rx_disabled(dev_priv, pipe); in ilk_disable_pch_transcoder()
321 assert_pch_ports_disabled(dev_priv, pipe); in ilk_disable_pch_transcoder()
323 reg = PCH_TRANSCONF(pipe); in ilk_disable_pch_transcoder()
328 pipe_name(pipe)); in ilk_disable_pch_transcoder()
332 intel_de_rmw(dev_priv, TRANS_CHICKEN2(pipe), in ilk_disable_pch_transcoder()
365 enum pipe pipe = crtc->pipe; in ilk_pch_enable() local
368 assert_pch_transcoder_disabled(dev_priv, pipe); in ilk_pch_enable()
381 temp |= TRANS_DPLL_ENABLE(pipe); in ilk_pch_enable()
382 sel = TRANS_DPLLB_SEL(pipe); in ilk_pch_enable()
403 assert_pps_unlocked(display, pipe); in ilk_pch_enable()
408 ilk_pch_transcoder_set_timings(crtc_state, pipe); in ilk_pch_enable()
417 u32 bpc = (intel_de_read(dev_priv, TRANSCONF(dev_priv, pipe)) & TRANSCONF_BPC_MASK) >> 5; in ilk_pch_enable()
418 i915_reg_t reg = TRANS_DP_CTL(pipe); in ilk_pch_enable()
454 enum pipe pipe = crtc->pipe; in ilk_pch_post_disable() local
460 intel_de_rmw(dev_priv, TRANS_DP_CTL(pipe), in ilk_pch_post_disable()
466 TRANS_DPLL_ENABLE(pipe) | TRANS_DPLLB_SEL(pipe), 0); in ilk_pch_post_disable()
481 * In case there is an active pipe without active ports, in ilk_pch_clock_get()
495 enum pipe pipe = crtc->pipe; in ilk_pch_get_config() local
500 if ((intel_de_read(dev_priv, PCH_TRANSCONF(pipe)) & TRANS_ENABLE) == 0) in ilk_pch_get_config()
505 tmp = intel_de_read(dev_priv, FDI_RX_CTL(pipe)); in ilk_pch_get_config()
514 * The pipe->pch transcoder and pch transcoder->pll in ilk_pch_get_config()
517 pll_id = (enum intel_dpll_id) pipe; in ilk_pch_get_config()
520 if (tmp & TRANS_DPLLB_SEL(pipe)) in ilk_pch_get_config()
549 assert_fdi_tx_enabled(dev_priv, (enum pipe) cpu_transcoder); in lpt_enable_pch_transcoder()