Searched refs:pipe (Results 1 - 25 of 27) sorted by relevance

12

/solaris-x11-s11/open-src/kernel/i915/src/
H A Dintel_sprite.c50 int pipe = intel_plane->pipe; local
56 sprctl = I915_READ(SPCNTR(pipe, plane));
117 intel_update_sprite_watermarks(dev, pipe, crtc_w, pixel_size, true);
119 I915_WRITE(SPSTRIDE(pipe, plane), fb->pitches[0]);
120 I915_WRITE(SPPOS(pipe, plane), (crtc_y << 16) | crtc_x);
130 I915_WRITE(SPTILEOFF(pipe, plane), (y << 16) | x);
132 I915_WRITE(SPLINOFF(pipe, plane), linear_offset);
134 I915_WRITE(SPSIZE(pipe, plane), (crtc_h << 16) | crtc_w);
135 I915_WRITE(SPCNTR(pipe, plan
147 int pipe = intel_plane->pipe; local
164 int pipe = intel_plane->pipe; local
193 int pipe = intel_plane->pipe; local
218 int pipe = intel_plane->pipe; local
325 int pipe = intel_plane->pipe; local
409 int pipe = intel_plane->pipe; local
490 int pipe = intel_plane->pipe; local
615 int pipe = intel_plane->pipe; local
1002 intel_plane_init(struct drm_device *dev, enum pipe pipe, int plane) argument
[all...]
H A Di915_reg.h39 #define _PIPE(pipe, a, b) ((a) + (pipe)*((b)-(a)))
485 #define DPIO_TX3_SWING_CTL4(pipe) _PIPE(pipe, _DPIO_TX_SWING_CTL4_A, \
489 * Per pipe/PLL DPIO regs
505 #define DPIO_DIV(pipe) _PIPE(pipe, _DPIO_DIV_A, _DPIO_DIV_B)
516 #define DPIO_REFSFR(pipe) _PIPE(pipe, _DPIO_REFSFR_A, _DPIO_REFSFR_B)
520 #define DPIO_CORE_CLK(pipe) _PIP
[all...]
H A Dintel_display.c434 * Returns whether any output on the specified pipe is of the specified type
729 enum pipe pipe)
731 struct drm_crtc *crtc = dev_priv->pipe_to_crtc_mapping[pipe];
737 static void ironlake_wait_for_vblank(struct drm_device *dev, int pipe) argument
740 u32 frame, frame_reg = PIPEFRAME(pipe);
749 * intel_wait_for_vblank - wait for vblank on a given pipe
751 * @pipe: pipe to wait for
753 * Wait for vblank to occur on a given pipe
728 intel_pipe_to_cpu_transcoder(struct drm_i915_private *dev_priv, enum pipe pipe) argument
756 intel_wait_for_vblank(struct drm_device *dev, int pipe) argument
806 intel_wait_for_pipe_off(struct drm_device *dev, int pipe) argument
891 assert_pll(struct drm_i915_private *dev_priv, enum pipe pipe, bool state) argument
945 assert_fdi_tx(struct drm_i915_private *dev_priv, enum pipe pipe, bool state) argument
971 assert_fdi_rx(struct drm_i915_private *dev_priv, enum pipe pipe, bool state) argument
988 assert_fdi_tx_pll_enabled(struct drm_i915_private *dev_priv, enum pipe pipe) argument
1008 assert_fdi_rx_pll_enabled(struct drm_i915_private *dev_priv, enum pipe pipe) argument
1020 assert_panel_unlocked(struct drm_i915_private *dev_priv, enum pipe pipe) argument
1049 assert_pipe(struct drm_i915_private *dev_priv, enum pipe pipe, bool state) argument
1094 assert_planes_disabled(struct drm_i915_private *dev_priv, enum pipe pipe) argument
1124 assert_sprites_disabled(struct drm_i915_private *dev_priv, enum pipe pipe) argument
1171 assert_pch_transcoder_disabled(struct drm_i915_private *dev_priv, enum pipe pipe) argument
1186 dp_pipe_enabled(struct drm_i915_private *dev_priv, enum pipe pipe, u32 port_sel, u32 val) argument
1204 hdmi_pipe_enabled(struct drm_i915_private *dev_priv, enum pipe pipe, u32 val) argument
1220 lvds_pipe_enabled(struct drm_i915_private *dev_priv, enum pipe pipe, u32 val) argument
1236 adpa_pipe_enabled(struct drm_i915_private *dev_priv, enum pipe pipe, u32 val) argument
1251 assert_pch_dp_disabled(struct drm_i915_private *dev_priv, enum pipe pipe, int reg, u32 port_sel) argument
1264 assert_pch_hdmi_disabled(struct drm_i915_private *dev_priv, enum pipe pipe, int reg) argument
1277 assert_pch_ports_disabled(struct drm_i915_private *dev_priv, enum pipe pipe) argument
1317 intel_enable_pll(struct drm_i915_private *dev_priv, enum pipe pipe) argument
1356 intel_disable_pll(struct drm_i915_private *dev_priv, enum pipe pipe) argument
1465 ironlake_enable_pch_transcoder(struct drm_i915_private *dev_priv, enum pipe pipe) argument
1552 ironlake_disable_pch_transcoder(struct drm_i915_private *dev_priv, enum pipe pipe) argument
1613 intel_enable_pipe(struct drm_i915_private *dev_priv, enum pipe pipe, bool pch_port) argument
1668 intel_disable_pipe(struct drm_i915_private *dev_priv, enum pipe pipe) argument
1717 intel_enable_plane(struct drm_i915_private *dev_priv, enum plane plane, enum pipe pipe) argument
1744 intel_disable_plane(struct drm_i915_private *dev_priv, enum plane plane, enum pipe pipe) argument
2228 int pipe = intel_crtc->pipe; local
2301 int pipe = intel_crtc->pipe; local
2403 int pipe = intel_crtc->pipe; local
2535 int pipe = intel_crtc->pipe; local
2650 int pipe = intel_crtc->pipe; local
2687 int pipe = intel_crtc->pipe; local
2717 int pipe = intel_crtc->pipe; local
2930 int pipe = intel_crtc->pipe; local
3127 cpt_verify_modeset(struct drm_device *dev, int pipe) argument
3145 int pipe = crtc->pipe; local
3165 enum pipe pipe = to_intel_crtc(crtc)->pipe; local
3176 enum pipe pipe = to_intel_crtc(crtc)->pipe; local
3190 int pipe = intel_crtc->pipe; local
3307 int pipe = intel_crtc->pipe; local
3376 int pipe = crtc->pipe; local
3393 int pipe = intel_crtc->pipe; local
3466 int pipe = intel_crtc->pipe; local
3554 g4x_fixup_plane(struct drm_i915_private *dev_priv, enum pipe pipe) argument
3600 int pipe = intel_crtc->pipe; local
3647 int pipe = intel_crtc->pipe; local
3706 int pipe = intel_crtc->pipe; local
3752 int pipe = intel_crtc->pipe; local
3877 enum pipe pipe; local
3939 enum pipe pipe = 0; local
3945 ironlake_check_fdi_lanes(struct drm_device *dev, enum pipe pipe, struct intel_crtc_config *pipe_config) argument
4310 int pipe = crtc->pipe; local
4368 int pipe = crtc->pipe; local
4381 int pipe = crtc->pipe; local
4410 int pipe = crtc->pipe; local
4531 int pipe = crtc->pipe; local
4631 int pipe = crtc->pipe; local
4683 enum pipe pipe = intel_crtc->pipe; local
4855 int pipe = intel_crtc->pipe; local
5377 int pipe = intel_crtc->pipe; local
5427 int pipe = intel_crtc->pipe; local
5705 int pipe = intel_crtc->pipe; local
6074 int pipe = intel_crtc->pipe; local
6181 int pipe = to_intel_crtc(crtc)->pipe; local
6270 int pipe = to_intel_crtc(crtc)->pipe; local
6363 enum pipe pipe = intel_crtc->pipe; local
6435 int pipe = intel_crtc->pipe; local
6461 int pipe = intel_crtc->pipe; local
6490 int pipe = intel_crtc->pipe; local
6946 int pipe = intel_crtc->pipe; local
7067 int pipe = intel_crtc->pipe; local
7110 int pipe = intel_crtc->pipe; local
7250 intel_finish_page_flip(struct drm_device *dev, int pipe) argument
8231 enum pipe pipe, tracked_pipe; local
8325 enum pipe pipe; local
8941 intel_crtc_init(struct drm_device *dev, int pipe) argument
9864 enum pipe pipe; local
9948 enum pipe pipe; local
10115 } pipe[I915_MAX_PIPES]; member in struct:intel_display_error_state
[all...]
H A Di915_irq.c112 enum pipe pipe; local
116 for_each_pipe(pipe) {
117 crtc = to_intel_crtc(dev_priv->pipe_to_crtc_mapping[pipe]);
129 enum pipe pipe; local
132 for_each_pipe(pipe) {
133 crtc = to_intel_crtc(dev_priv->pipe_to_crtc_mapping[pipe]);
143 enum pipe pipe, boo
142 ironlake_set_fifo_underrun_reporting(struct drm_device *dev, enum pipe pipe, bool enable) argument
226 intel_set_cpu_fifo_underrun_reporting(struct drm_device *dev, enum pipe pipe, bool enable) argument
318 i915_enable_pipestat(drm_i915_private_t *dev_priv, int pipe, u32 mask) argument
333 i915_disable_pipestat(drm_i915_private_t *dev_priv, int pipe, u32 mask) argument
356 i915_pipe_enabled(struct drm_device *dev, int pipe) argument
374 i915_get_vblank_counter(struct drm_device *dev, int pipe) argument
406 gm45_get_vblank_counter(struct drm_device *dev, int pipe) argument
420 i915_get_crtc_scanoutpos(struct drm_device *dev, int pipe, int *vpos, int *hpos) argument
488 i915_get_vblank_timestamp(struct drm_device *dev, int pipe, int *max_error, struct timeval *vblank_time, unsigned flags) argument
923 int pipe; local
999 int pipe; local
1101 int pipe; local
1825 int i, pipe; local
1960 int pipe; local
2100 i915_pageflip_stall_check(struct drm_device *dev, int pipe) argument
2149 i915_enable_vblank(struct drm_device *dev, int pipe) argument
2173 ironlake_enable_vblank(struct drm_device *dev, int pipe) argument
2189 ivybridge_enable_vblank(struct drm_device *dev, int pipe) argument
2205 valleyview_enable_vblank(struct drm_device *dev, int pipe) argument
2231 i915_disable_vblank(struct drm_device *dev, int pipe) argument
2246 ironlake_disable_vblank(struct drm_device *dev, int pipe) argument
2257 ivybridge_disable_vblank(struct drm_device *dev, int pipe) argument
2268 valleyview_disable_vblank(struct drm_device *dev, int pipe) argument
2595 int pipe; local
2854 int pipe; local
2909 int pipe; local
2950 i8xx_handle_vblank(struct drm_device *dev, int pipe, u16 iir) argument
2986 int pipe; local
3048 int pipe; local
3063 int pipe; local
3125 i915_handle_vblank(struct drm_device *dev, int plane, int pipe, u32 iir) argument
3163 int pipe, ret = IRQ_NONE; local
3258 int pipe; local
3282 int pipe; local
3391 int ret = IRQ_NONE, pipe; local
3495 int pipe; local
[all...]
H A Dintel_ddi.c295 int pipe = intel_crtc->pipe; local
298 DRM_DEBUG_KMS("Preparing DDI mode on port %c, pipe %c\n",
299 port_name(port), pipe_name(pipe));
312 DRM_DEBUG_DRIVER("DP audio on pipe %c on DDI\n",
313 pipe_name(intel_crtc->pipe));
330 DRM_DEBUG_DRIVER("HDMI audio on pipe %c on DDI\n",
331 pipe_name(intel_crtc->pipe));
356 DRM_ERROR("%d encoders on crtc for pipe %c\n", num_encoders,
357 pipe_name(intel_crtc->pipe));
642 enum pipe pipe = intel_crtc->pipe; local
768 enum pipe pipe = intel_crtc->pipe; local
868 enum pipe pipe = 0; local
901 intel_ddi_get_hw_state(struct intel_encoder *encoder, enum pipe *pipe) argument
949 intel_ddi_get_crtc_pll(struct drm_i915_private *dev_priv, enum pipe pipe) argument
986 enum pipe pipe; local
1104 int pipe = intel_crtc->pipe; local
1143 int pipe = intel_crtc->pipe; local
[all...]
H A Dintel_drv.h120 * the encoder is active. If the encoder is enabled it also set the pipe
121 * it is connected to in the pipe parameter. */
122 bool (*get_hw_state)(struct intel_encoder *, enum pipe *pipe);
125 * pre-filled the pipe config. Note that intel_encoder->base.crtc must
200 /* CPU Transcoder for the pipe. Currently this can only differ from the
201 * pipe on Haswell (where we have a special eDP transcoder). */
210 /* DP has a bunch of special case unfortunately, so mark the pipe
215 * Enable dithering, used when the selected pipe bpp doesn't match the
228 * crtc bandwidth limit, don't increase pipe bp
277 enum pipe pipe; member in struct:intel_crtc
320 enum pipe pipe; member in struct:intel_plane
507 intel_get_crtc_for_pipe(struct drm_device *dev, int pipe) argument
[all...]
H A Dintel_crt.c70 enum pipe *pipe)
83 *pipe = PORT_TO_PIPE_CPT(tmp);
85 *pipe = PORT_TO_PIPE(tmp);
180 /* We need the pipe to run for anything but OFF. */
186 /* We call connector dpms manually below in case pipe dpms doesn't
189 /* From off to on, enable the pipe first. */
268 /* For CPT allow 3 pipe config, for others just use A or B */
273 adpa |= PORT_TRANS_SEL_CPT(intel_crtc->pipe);
274 else if (intel_crtc->pipe
69 intel_crt_get_hw_state(struct intel_encoder *encoder, enum pipe *pipe) argument
497 uint32_t pipe = to_intel_crtc(crt->base.base.crtc)->pipe; local
[all...]
H A Dintel_dvo.c126 enum pipe *pipe)
138 *pipe = PORT_TO_PIPE(tmp);
209 /* We call connector dpms manually below in case pipe dpms doesn't
287 int pipe = intel_crtc->pipe; local
290 int dpll_reg = DPLL(pipe);
313 if (pipe == 1)
432 int pipe = (dvo_val & DVO_PIPE_B_SELECT) ? 1 : 0; local
434 crtc = intel_get_crtc_for_pipe(dev, pipe);
125 intel_dvo_get_hw_state(struct intel_encoder *encoder, enum pipe *pipe) argument
[all...]
H A Dintel_hdmi.c186 int reg = TVIDEO_DIP_CTL(intel_crtc->pipe);
202 I915_WRITE(TVIDEO_DIP_DATA(intel_crtc->pipe), *data);
207 I915_WRITE(TVIDEO_DIP_DATA(intel_crtc->pipe), 0);
226 int reg = TVIDEO_DIP_CTL(intel_crtc->pipe);
245 I915_WRITE(TVIDEO_DIP_DATA(intel_crtc->pipe), *data);
250 I915_WRITE(TVIDEO_DIP_DATA(intel_crtc->pipe), 0);
269 int reg = VLV_TVIDEO_DIP_CTL(intel_crtc->pipe);
285 I915_WRITE(VLV_TVIDEO_DIP_DATA(intel_crtc->pipe), *data);
290 I915_WRITE(VLV_TVIDEO_DIP_DATA(intel_crtc->pipe), 0);
456 u32 reg = TVIDEO_DIP_CTL(intel_crtc->pipe);
653 intel_hdmi_get_hw_state(struct intel_encoder *encoder, enum pipe *pipe) argument
759 int pipe = crtc ? to_intel_crtc(crtc)->pipe : -1; local
1038 int pipe = intel_crtc->pipe; local
[all...]
H A Di915_ums.c34 static bool i915_pipe_enabled(struct drm_device *dev, enum pipe pipe) argument
39 /* On IVB, 3rd pipe shares PLL with another one */
40 if (pipe > 1)
44 dpll_reg = PCH_DPLL(pipe);
46 dpll_reg = (pipe == PIPE_A) ? _DPLL_A : _DPLL_B;
51 static void i915_save_palette(struct drm_device *dev, enum pipe pipe) argument
54 unsigned long reg = (pipe == PIPE_A ? _PALETTE_A : _PALETTE_B);
58 if (!i915_pipe_enabled(dev, pipe))
73 i915_restore_palette(struct drm_device *dev, enum pipe pipe) argument
[all...]
H A Dintel_pm.c295 I915_WRITE(HSW_PIPE_SLICE_CHICKEN_1(intel_crtc->pipe),
480 * - more than one pipe is active
489 DRM_DEBUG_KMS("more than one pipe active, disabling compression\n");
599 * disabling the FBC. However, along all current pipe
1809 DRM_DEBUG_KMS("FIFO watermarks For pipe A -"
1823 DRM_DEBUG_KMS("FIFO watermarks For pipe B -"
1894 DRM_DEBUG_KMS("FIFO watermarks For pipe A -"
1908 DRM_DEBUG_KMS("FIFO watermarks For pipe B -"
1997 DRM_DEBUG_KMS("FIFO watermarks For pipe A -"
2011 DRM_DEBUG_KMS("FIFO watermarks For pipe
2281 enum pipe pipe; local
2311 hsw_compute_wm_pipe(struct drm_i915_private *dev_priv, uint32_t mem_value, enum pipe pipe, struct hsw_pipe_wm_parameters *params) argument
2368 enum pipe pipe; local
2440 enum pipe pipe; local
2635 haswell_update_sprite_wm(struct drm_device *dev, int pipe, uint32_t sprite_width, int pixel_size, bool enable) argument
2731 sandybridge_update_sprite_wm(struct drm_device *dev, int pipe, uint32_t sprite_width, int pixel_size, bool enable) argument
2854 intel_update_sprite_watermarks(struct drm_device *dev, int pipe, uint32_t sprite_width, int pixel_size, bool enable) argument
3926 int pipe; local
4007 int pipe; local
[all...]
H A Dintel_lvds.c69 enum pipe *pipe)
82 *pipe = PORT_TO_PIPE_CPT(tmp);
84 *pipe = PORT_TO_PIPE(tmp);
133 int pipe = intel_crtc->pipe; local
141 temp |= PORT_TRANS_SEL_CPT(pipe);
143 if (pipe == 1) {
213 intel_panel_enable_backlight(dev, intel_crtc->pipe);
269 if (INTEL_INFO(dev)->gen < 4 && intel_crtc->pipe
68 intel_lvds_get_hw_state(struct intel_encoder *encoder, enum pipe *pipe) argument
897 int pipe; local
[all...]
H A Dintel_dp.c863 DRM_DEBUG_DRIVER("Enabling DP audio on pipe %c\n",
864 pipe_name(crtc->pipe));
883 intel_dp->DP |= crtc->pipe << 29;
897 if (crtc->pipe == 1)
1159 int pipe = to_intel_crtc(intel_dig_port->base.base.crtc)->pipe; local
1182 intel_panel_enable_backlight(dev, pipe);
1217 to_intel_crtc(crtc)->pipe);
1245 to_intel_crtc(crtc)->pipe);
1293 enum pipe *pip
1292 intel_dp_get_hw_state(struct intel_encoder *encoder, enum pipe *pipe) argument
1454 int pipe = intel_crtc->pipe; local
[all...]
H A Dintel_tv.c845 intel_tv_get_hw_state(struct intel_encoder *encoder, enum pipe *pipe) argument
854 *pipe = PORT_TO_PIPE(tmp);
950 int pipe = intel_crtc->pipe; local
1022 if (intel_crtc->pipe == 1)
1094 int pipeconf_reg = PIPECONF(pipe);
1106 intel_wait_for_vblank(dev, intel_crtc->pipe);
1110 intel_wait_for_pipe_off(dev, intel_crtc->pipe);
1167 * Requires that the current pipe'
[all...]
H A Dintel_panel.c300 pfit_control |= ((intel_crtc->pipe << PFIT_PIPE_SHIFT) |
546 enum pipe pipe)
550 intel_pipe_to_cpu_transcoder(dev_priv, pipe);
545 intel_panel_enable_backlight(struct drm_device *dev, enum pipe pipe) argument
H A Di915_drv.h54 enum pipe { enum
102 #define POWER_DOMAIN_PIPE(pipe) ((pipe) + POWER_DOMAIN_PIPE_A)
103 #define POWER_DOMAIN_PIPE_PANEL_FITTER(pipe) \
104 ((pipe) + POWER_DOMAIN_PIPE_A_PANEL_FITTER)
193 * 1.5: Add vblank pipe configuration
195 * - Support vertical blank on secondary display pipe
368 void (*update_sprite_wm)(struct drm_device *dev, int pipe,
373 * fills out the pipe-config with the hw state. */
543 FBC_MULTIPLE_PIPES, /* more than one pipe activ
[all...]
H A Dintel_sdvo.c1249 sdvox |= SDVO_PIPE_SEL_CPT(intel_crtc->pipe);
1251 sdvox |= SDVO_PIPE_SEL(intel_crtc->pipe);
1289 enum pipe *pipe)
1304 *pipe = PORT_TO_PIPE_CPT(tmp);
1306 *pipe = PORT_TO_PIPE(tmp);
1346 * state. Since the general pipe state readout happens before the
1396 int pipe = crtc ? to_intel_crtc(crtc)->pipe : -1; local
1410 intel_wait_for_vblank(encoder->base.dev, pipe);
1288 intel_sdvo_get_hw_state(struct intel_encoder *encoder, enum pipe *pipe) argument
[all...]
H A Di915_drm.h414 int pipe; member in struct:drm_i915_vblank_pipe
889 /** pipe of requested CRTC **/
890 __u32 pipe; member in struct:drm_i915_get_pipe_from_crtc_id
H A Dintel_overlay.c716 oconfig |= overlay->crtc->pipe == 0 ?
829 /* can't use the overlay with double wide pipe */
831 (I915_READ(PIPECONF(crtc->pipe)) & (PIPECONF_DOUBLE_WIDE | PIPECONF_ENABLE)) != PIPECONF_ENABLE)
1002 * Return the pipe currently connected to the panel fitter,
1020 /* 965 can place panel fitter on either pipe */
1024 /* older chips can only use pipe 1 */
1105 intel_panel_fitter_pipe(dev) == crtc->pipe) {
/solaris-x11-s11/open-src/kernel/drm/src/
H A Ddrm_irq.c999 e->pipe = crtc;
1151 if (e->pipe != crtc)
1157 drm_vblank_put(dev, e->pipe);
1256 static int drm_queue_vblank_event(struct drm_device *dev, int pipe, argument
1272 e->pipe = pipe;
1289 seq = drm_vblank_count_and_time(dev, pipe, &now);
1298 vblwait->request.sequence, seq, pipe);
1302 drm_vblank_put(dev, pipe);
1319 drm_vblank_put(dev, pipe);
[all...]
H A Ddrm_fops.c298 drm_vblank_put(dev, v->pipe);
/solaris-x11-s11/open-src/app/fbconsole/sun-src/
H A Dfbconsole.c87 * This version (unused) opens a pipe and redirects the console to it.
95 if (pipe(fds) == -1) {
97 perror("pipe");
108 fprintf(stderr,"Couldn't redirect console to console pipe\n");
342 * Waits for input from the console message pipe or the xserver.
/solaris-x11-s11/open-src/driver/xf86-input-hotkey/sun-src/
H A Dhotkey.c238 if (pipe (hotkey_event_fd) == -1) {
240 "hotkey_events_init: pipe open failed with errno %d\n", errno);
246 xf86Msg(X_CONFIG, "hotkey_events_init and pipe open succeeded\n");
/solaris-x11-s11/open-src/kernel/mdb/modules/
H A Di915.c1379 int pipe, ret = DCMD_OK; local
1422 for_each_pipe(pipe) {
1423 ret = i915_read(dev_priv, PIPESTAT(pipe), &val);
1426 pipe_name(pipe), val);
1480 for_each_pipe(pipe) {
1481 ret = i915_read(dev_priv, (uintptr_t)PIPESTAT(pipe),
1485 pipe_name(pipe), val);
/solaris-x11-s11/open-src/app/dsession/sun-src/
H A Ddsession.c138 if (pipe(p_fd) != 0) {
140 perror("unable to pipe");
336 if (pipe(p_fd) != 0) {
337 perror("get_sessions: unable to pipe");

Completed in 2017 milliseconds

12