/solaris-x11-s11/open-src/kernel/i915/src/ |
H A D | intel_sprite.c | 26 * New plane/sprite handling. 28 * The older chips had a separate interface for programming plane related 29 * registers; newer ones are much simpler and we can use the new DRM plane 51 int plane = intel_plane->plane; local 56 sprctl = I915_READ(SPCNTR(pipe, plane)); 100 * out the unsupported plane formats 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), ( 148 int plane = intel_plane->plane; local 165 int plane = intel_plane->plane; local 194 int plane = intel_plane->plane; local 209 ivb_update_plane(struct drm_plane *plane, struct drm_framebuffer *fb, struct drm_i915_gem_object *obj, int crtc_x, int crtc_y, unsigned int crtc_w, unsigned int crtc_h, int x, int y, uint32_t src_w, uint32_t src_h) argument 320 ivb_disable_plane(struct drm_plane *plane) argument 346 ivb_update_colorkey(struct drm_plane *plane, struct drm_intel_sprite_colorkey *key) argument 375 ivb_get_colorkey(struct drm_plane *plane, struct drm_intel_sprite_colorkey *key) argument 400 ilk_update_plane(struct drm_plane *plane, struct drm_framebuffer *fb, struct drm_i915_gem_object *obj, int crtc_x, int crtc_y, unsigned int crtc_w, unsigned int crtc_h, int x, int y, uint32_t src_w, uint32_t src_h) argument 485 ilk_disable_plane(struct drm_plane *plane) argument 535 ilk_update_colorkey(struct drm_plane *plane, struct drm_intel_sprite_colorkey *key) argument 564 ilk_get_colorkey(struct drm_plane *plane, struct drm_intel_sprite_colorkey *key) argument 603 intel_update_plane(struct drm_plane *plane, struct drm_crtc *crtc, struct drm_framebuffer *fb, int crtc_x, int crtc_y, unsigned int crtc_w, unsigned int crtc_h, uint32_t src_x, uint32_t src_y, uint32_t src_w, uint32_t src_h) argument 851 intel_disable_plane(struct drm_plane *plane) argument 875 intel_destroy_plane(struct drm_plane *plane) argument 887 struct drm_plane *plane; local 919 struct drm_plane *plane; local 942 intel_plane_restore(struct drm_plane *plane) argument 956 intel_plane_disable(struct drm_plane *plane) argument 1002 intel_plane_init(struct drm_device *dev, enum pipe pipe, int plane) argument [all...] |
H A D | intel_drv.h | 216 * plane bpp. 278 enum plane plane; member in struct:intel_crtc 287 bool primary_disabled; /* is the crtc obscured by a plane? */ 319 int plane; member in struct:intel_plane 341 void (*update_plane)(struct drm_plane *plane, 348 void (*disable_plane)(struct drm_plane *plane); 349 int (*update_colorkey)(struct drm_plane *plane, 351 void (*get_colorkey)(struct drm_plane *plane, 514 intel_get_crtc_for_plane(struct drm_device *dev, int plane) argument [all...] |
H A D | intel_display.c | 1077 enum plane plane, bool state) 1083 reg = DSPCNTR(plane); 1087 DRM_ERROR("plane %c assertion failure, should be active but is disabled\n", 1088 plane_name(plane)); 1107 DRM_ERROR("plane %c assertion failure, should be disabled but not\n", 1119 DRM_ERROR("plane %c assertion failure, should be off on pipe %c but is still active\n", 1309 * Enable @pipe's PLL so we can start pumping pixels from a plane. Check to 1632 * a plane. On ILK+ the pipe PLLs are integrated, so we don't 1662 * are met, if applicable, e.g. plane disable 1076 assert_plane(struct drm_i915_private *dev_priv, enum plane plane, bool state) argument 1700 intel_flush_display_plane(struct drm_i915_private *dev_priv, enum plane plane) 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 1877 int plane = intel_crtc->plane; local 1977 int plane = intel_crtc->plane; local 2096 enum plane plane = intel_crtc->plane; local 2302 int plane = intel_crtc->plane; local 3191 int plane = intel_crtc->plane; local 3308 int plane = intel_crtc->plane; local 3394 int plane = intel_crtc->plane; local 3467 int plane = intel_crtc->plane; local 3601 int plane = intel_crtc->plane; local 3648 int plane = intel_crtc->plane; local 3707 int plane = intel_crtc->plane; local 4856 int plane = intel_crtc->plane; local 5706 int plane = intel_crtc->plane; local 5954 int plane = intel_crtc->plane; local 7258 intel_finish_page_flip_plane(struct drm_device *dev, int plane) argument 7266 intel_prepare_page_flip(struct drm_device *dev, int plane) argument 9741 bool plane; local 9949 struct drm_plane *plane; local 10125 } plane[I915_MAX_PIPES]; member in struct:intel_display_error_state [all...] |
H A D | i915_reg.h | 297 /* IVB has funny definitions for which plane to flip. */ 826 #define DISPLAY_PLANE_FLIP_PENDING(plane) (1<<(11-(plane))) /* A and B only */ 874 #define MI_ARB_BLOCK_GRANT_2 (2 << 12) /* for 1 display plane */ 915 /* Set display plane priority */ 2921 * bytes_per_pixel is the number of bytes coming out of the plane, 3382 #define DSPCNTR(plane) _PIPE(plane, _DSPACNTR, _DSPBCNTR) 3383 #define DSPADDR(plane) _PIPE(plane, _DSPAADD [all...] |
H A D | intel_pm.c | 89 int plane, i; local 98 plane = intel_crtc->plane == 0 ? FBC_CTL_PLANEA : FBC_CTL_PLANEB; 106 fbc_ctl2 |= plane; 119 DRM_DEBUG_KMS("enabled FBC, pitch %d, yoff %d, plane %c, ", 120 cfb_pitch, crtc->y, plane_name(intel_crtc->plane)); 138 int plane = intel_crtc->plane == 0 ? DPFC_CTL_PLANEA : DPFC_CTL_PLANEB; local 142 dpfc_ctl = plane | DPFC_SR_EN | DPFC_CTL_LIMIT_1X; 154 DRM_DEBUG_KMS("enabled fbc on plane 207 int plane = intel_crtc->plane == 0 ? DPFC_CTL_PLANEA : DPFC_CTL_PLANEB; local 812 i9xx_get_fifo_size(struct drm_device *dev, int plane) argument 828 i85x_get_fifo_size(struct drm_device *dev, int plane) argument 845 i845_get_fifo_size(struct drm_device *dev, int plane) argument 861 i830_get_fifo_size(struct drm_device *dev, int plane) argument 1162 g4x_compute_wm0(struct drm_device *dev, int plane, const struct intel_watermark_params *display, int display_latency_ns, const struct intel_watermark_params *cursor, int cursor_latency_ns, int *plane_wm, int *cursor_wm) argument 1248 g4x_compute_srwm(struct drm_device *dev, int plane, int latency_ns, const struct intel_watermark_params *display, const struct intel_watermark_params *cursor, int *display_wm, int *cursor_wm) argument 1294 vlv_compute_drain_latency(struct drm_device *dev, int plane, int *plane_prec_mult, int *plane_dl, int *cursor_prec_mult, int *cursor_dl) argument 1743 ironlake_compute_srwm(struct drm_device *dev, int level, int plane, int latency_ns, const struct intel_watermark_params *display, const struct intel_watermark_params *cursor, int *fbc_wm, int *display_wm, int *cursor_wm) argument 2366 struct drm_plane *plane; local 2639 struct drm_plane *plane; local 2656 sandybridge_compute_sprite_wm(struct drm_device *dev, int plane, uint32_t sprite_width, int pixel_size, const struct intel_watermark_params *display, int display_latency_ns, int *sprite_wm) argument 2688 sandybridge_compute_sprite_srwm(struct drm_device *dev, int plane, uint32_t sprite_width, int pixel_size, const struct intel_watermark_params *display, int latency_ns, int *sprite_wm) argument [all...] |
H A D | i915_irq.c | 2128 int dspsurf = DSPSURF(intel_crtc->plane); 2132 int dspaddr = DSPADDR(intel_crtc->plane); 2142 intel_prepare_page_flip(dev, intel_crtc->plane); 3126 int plane, int pipe, u32 iir) 3129 u32 flip_pending = DISPLAY_PLANE_FLIP_PENDING(plane); 3137 intel_prepare_page_flip(dev, plane); 3220 int plane = pipe; local 3222 plane = !plane; 3225 i915_handle_vblank(dev, plane, pip 3125 i915_handle_vblank(struct drm_device *dev, int plane, int pipe, u32 iir) argument [all...] |
H A D | i915_drv.h | 70 enum plane { enum 348 int (*get_fifo_size)(struct drm_device *dev, int plane); 541 FBC_BAD_PLANE, /* fbc not supported on plane */ 1078 enum plane cfb_plane;
|
H A D | intel_tv.c | 1095 int dspcntr_reg = DSPCNTR(intel_crtc->plane); 1102 intel_flush_display_plane(dev_priv, intel_crtc->plane); 1131 intel_flush_display_plane(dev_priv, intel_crtc->plane);
|
/solaris-x11-s11/open-src/kernel/drm/src/ |
H A D | drm_crtc.c | 536 struct drm_plane *plane; local 571 list_for_each_entry(plane, struct drm_plane, &dev->mode_config.plane_list, head) { 572 if (plane->fb == fb) 573 drm_plane_force_disable(plane); 797 * drm_plane_init - Initialise a new plane object 799 * @plane: plane object to init 801 * @funcs: callbacks for the new plane 804 * @priv: plane is private (hidden from userspace)? 806 * Inits a new object created as base part of a driver plane objec 811 drm_plane_init(struct drm_device *dev, struct drm_plane *plane, unsigned long possible_crtcs, const struct drm_plane_funcs *funcs, const uint32_t *formats, uint32_t format_count, bool priv) argument 866 drm_plane_cleanup(struct drm_plane *plane) argument 890 drm_plane_force_disable(struct drm_plane *plane) argument 1706 struct drm_plane *plane; local 1754 struct drm_plane *plane; local 1820 struct drm_plane *plane; local 3191 struct drm_plane *plane = obj_to_plane(obj); local 3745 drm_format_plane_cpp(uint32_t format, int plane) argument 3899 struct drm_plane *plane, *plt; local [all...] |
H A D | drm_fb_helper.c | 176 struct drm_plane *plane; local 185 list_for_each_entry(plane, struct drm_plane, &dev->mode_config.plane_list, head) 186 drm_plane_force_disable(plane);
|
/solaris-x11-s11/open-src/kernel/sys/drm/ |
H A D | drm_crtc.h | 251 * for example some hw, disabling a CRTC/plane is asynchronous, and 635 * drm_plane_funcs - driver plane control functions 636 * @update_plane: update the plane configuration 637 * @disable_plane: shut down the plane 638 * @destroy: clean up plane resources 642 int (*update_plane)(struct drm_plane *plane, 648 int (*disable_plane)(struct drm_plane *plane); 649 void (*destroy)(struct drm_plane *plane); 651 int (*set_property)(struct drm_plane *plane, 656 * drm_plane - central DRM plane contro [all...] |
/solaris-x11-s11/open-src/xserver/xorg/sun-src/tsol/ |
H A D | tsolprotocol.c | 999 Mask plane = 0; local 1154 plane = ((Mask)1) << (pDraw->depth - 1); 1157 Ones(planemask & (plane | (plane - 1))); 1267 for (; plane; plane >>= 1) 1269 if (planemask & plane) 1281 plane,
|