Searched refs:fb (Results 1 - 17 of 17) sorted by relevance

/solaris-x11-s11/open-src/kernel/drm/src/
H A Ddrm_crtc.c349 * This functions publishes the fb and makes it available for concurrent access
350 * by other users. Which means by this point the fb _must_ be fully set up -
351 * since all the fb attributes are invariant over its lifetime, no further
357 int drm_framebuffer_init(struct drm_device *dev, struct drm_framebuffer *fb, argument
363 kref_init(&fb->refcount);
364 INIT_LIST_HEAD(&fb->filp_head);
365 fb->dev = dev;
366 fb->funcs = funcs;
368 ret = drm_mode_object_get(dev, &fb->base, DRM_MODE_OBJECT_FB);
373 drm_framebuffer_reference(fb);
385 struct drm_framebuffer *fb = local
394 struct drm_framebuffer *fb; local
419 struct drm_framebuffer *fb; local
436 drm_framebuffer_unreference(struct drm_framebuffer *fb) argument
445 drm_framebuffer_reference(struct drm_framebuffer *fb) argument
457 __drm_framebuffer_unreference(struct drm_framebuffer *fb) argument
464 __drm_framebuffer_unregister(struct drm_device *dev, struct drm_framebuffer *fb) argument
485 drm_framebuffer_unregister_private(struct drm_framebuffer *fb) argument
512 drm_framebuffer_cleanup(struct drm_framebuffer *fb) argument
532 drm_framebuffer_remove(struct drm_framebuffer *fb) argument
1290 struct drm_framebuffer *fb; local
1822 struct drm_framebuffer *fb = NULL, *old_fb = NULL; local
1948 struct drm_framebuffer *fb; local
2001 struct drm_framebuffer *fb = NULL; local
2280 struct drm_framebuffer *fb; local
2456 struct drm_framebuffer *fb; local
2513 struct drm_framebuffer *fb = NULL; local
2568 struct drm_framebuffer *fb; local
2599 struct drm_framebuffer *fb; local
2679 struct drm_framebuffer *fb, *tfb; local
3469 struct drm_framebuffer *fb = NULL, *old_fb = NULL; local
3896 struct drm_framebuffer *fb, *fbt; local
[all...]
H A Ddrm_crtc_helper.c302 crtc->fb = NULL;
568 /* Enforce sane interface api - has been abused by the fb helper. */
569 BUG_ON(!set->mode && set->fb);
570 BUG_ON(set->fb && set->num_connectors == 0);
575 set->fb = NULL;
577 if (set->fb) {
579 set->crtc->base.id, set->fb->base.id,
633 save_set.fb = set->crtc->fb;
635 /* We should be able to check here if the fb ha
901 drm_helper_mode_fill_fb_struct(struct drm_framebuffer *fb, struct drm_mode_fb_cmd2 *mode_cmd) argument
[all...]
H A Ddrm_fb_helper.c44 * The fb helper functions are useful to provide an fbdev on top of a drm kernel
56 * should also notify the fb helper code from updates to the output
61 * All other functions exported by the fb helper library can be used to
159 /* Find the real fb for a given fb helper CRTC */
167 return c->fb;
232 if (crtc->fb)
234 if (crtc->fb == fb_helper->fb)
405 * Set the fb pointe
[all...]
/solaris-x11-s11/open-src/kernel/i915/src/
H A Dintel_sprite.c41 vlv_update_plane(struct drm_plane *dplane, struct drm_framebuffer *fb, argument
54 int pixel_size = drm_format_plane_cpp(fb->pixel_format, 0);
63 switch (fb->pixel_format) {
119 I915_WRITE(SPSTRIDE(pipe, plane), fb->pitches[0]);
122 linear_offset = y * fb->pitches[0] + x * pixel_size;
126 fb->pitches[0]);
209 ivb_update_plane(struct drm_plane *plane, struct drm_framebuffer *fb, argument
221 int pixel_size = drm_format_plane_cpp(fb->pixel_format, 0);
232 switch (fb->pixel_format) {
289 I915_WRITE(SPRSTRIDE(pipe), fb
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
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
[all...]
H A Dintel_fb.c49 struct drm_framebuffer *fb; local
85 fb = &ifbdev->ifb.base;
87 ifbdev->helper.fb = fb;
H A Dintel_display.c1869 static int i9xx_update_plane(struct drm_crtc *crtc, struct drm_framebuffer *fb, argument
1891 intel_fb = to_intel_framebuffer(fb);
1898 switch (fb->pixel_format) {
1926 DRM_ERROR("Unknown pixel format 0x%08x\n", fb->pixel_format);
1942 linear_offset = y * fb->pitches[0] + x * (fb->bits_per_pixel / 8);
1947 fb->bits_per_pixel / 8,
1948 fb->pitches[0]);
1955 obj->gtt_offset, linear_offset, x, y, fb->pitches[0]);
1956 I915_WRITE(DSPSTRIDE(plane), fb
1969 ironlake_update_plane(struct drm_crtc *crtc, struct drm_framebuffer *fb, int x, int y) argument
2062 intel_pipe_set_base_atomic(struct drm_crtc *crtc, struct drm_framebuffer *fb, int x, int y, enum mode_set_atomic state) argument
2164 intel_pipe_set_base(struct drm_crtc *crtc, int x, int y, struct drm_framebuffer *fb) argument
4847 i9xx_crtc_mode_set(struct drm_crtc *crtc, int x, int y, struct drm_framebuffer *fb) argument
5698 ironlake_crtc_mode_set(struct drm_crtc *crtc, int x, int y, struct drm_framebuffer *fb) argument
5947 haswell_crtc_mode_set(struct drm_crtc *crtc, int x, int y, struct drm_framebuffer *fb) argument
6062 intel_crtc_mode_set(struct drm_crtc *crtc, int x, int y, struct drm_framebuffer *fb) argument
6779 struct drm_framebuffer *fb; local
6810 struct drm_framebuffer *fb; local
7292 intel_gen2_queue_flip(struct drm_device *dev, struct drm_crtc *crtc, struct drm_framebuffer *fb, struct drm_i915_gem_object *obj) argument
7336 intel_gen3_queue_flip(struct drm_device *dev, struct drm_crtc *crtc, struct drm_framebuffer *fb, struct drm_i915_gem_object *obj) argument
7377 intel_gen4_queue_flip(struct drm_device *dev, struct drm_crtc *crtc, struct drm_framebuffer *fb, struct drm_i915_gem_object *obj) argument
7425 intel_gen6_queue_flip(struct drm_device *dev, struct drm_crtc *crtc, struct drm_framebuffer *fb, struct drm_i915_gem_object *obj) argument
7475 intel_gen7_queue_flip(struct drm_device *dev, struct drm_crtc *crtc, struct drm_framebuffer *fb, struct drm_i915_gem_object *obj) argument
7525 intel_default_queue_flip(struct drm_device *dev, struct drm_crtc *crtc, struct drm_framebuffer *fb, struct drm_i915_gem_object *obj) argument
7533 intel_crtc_page_flip(struct drm_crtc *crtc, struct drm_framebuffer *fb, struct drm_pending_vblank_event *event) argument
7730 compute_baseline_pipe_bpp(struct intel_crtc *crtc, struct drm_framebuffer *fb, struct intel_crtc_config *pipe_config) argument
7839 intel_modeset_pipe_config(struct drm_crtc *crtc, struct drm_framebuffer *fb, struct drm_display_mode *mode) argument
8407 __intel_set_mode(struct drm_crtc *crtc, struct drm_display_mode *mode, int x, int y, struct drm_framebuffer *fb) argument
8511 intel_set_mode(struct drm_crtc *crtc, struct drm_display_mode *mode, int x, int y, struct drm_framebuffer *fb) argument
9160 intel_user_framebuffer_destroy(struct drm_framebuffer *fb) argument
9170 intel_user_framebuffer_create_handle(struct drm_framebuffer *fb, struct drm_file *file, unsigned int *handle) argument
[all...]
H A Dintel_pm.c55 return to_intel_crtc(crtc)->active && crtc->fb && crtc->mode.clock;
84 struct drm_framebuffer *fb = crtc->fb; local
85 struct intel_framebuffer *intel_fb = to_intel_framebuffer(fb);
93 if (fb->pitches[0] < cfb_pitch)
94 cfb_pitch = fb->pitches[0];
134 struct drm_framebuffer *fb = crtc->fb; local
135 struct intel_framebuffer *intel_fb = to_intel_framebuffer(fb);
203 struct drm_framebuffer *fb local
275 struct drm_framebuffer *fb = crtc->fb; local
464 struct drm_framebuffer *fb; local
[all...]
H A Dintel_drv.h342 struct drm_framebuffer *fb,
537 struct drm_framebuffer *fb; member in struct:intel_fbc_work
H A Dintel_overlay.c610 switch (overlay->crtc->base.fb->bits_per_pixel) {
617 if (overlay->crtc->base.fb->depth == 15) {
H A Di915_drv.h387 struct drm_framebuffer *fb,
389 int (*update_plane)(struct drm_crtc *crtc, struct drm_framebuffer *fb,
H A Di915_drv.c1066 if (!crtc->fb)
H A Di915_irq.c2134 crtc->y * crtc->fb->pitches[0] +
2135 crtc->x * crtc->fb->bits_per_pixel/8);
/solaris-x11-s11/open-src/kernel/sys/drm/
H A Ddrm_crtc.h226 int (*create_handle)(struct drm_framebuffer *fb,
230 * Optinal callback for the dirty fb ioctl.
250 * Note that the fb is refcounted for the benefit of driver internals,
255 * hold a ref to the fb even though it has already been removed from
360 * rendering to the current fb until the flip has completed.
366 struct drm_framebuffer *fb,
381 * @invert_dimensions: for purposes of error checking crtc vs fb sizes,
407 * without a full modeset (fb, cursor data, ...)
414 struct drm_framebuffer *fb; member in struct:drm_crtc
416 /* Temporary tracking of the old fb whil
679 struct drm_framebuffer *fb; member in struct:drm_plane
703 struct drm_framebuffer *fb; member in struct:drm_mode_set
[all...]
H A Ddrm_crtc_helper.h74 /* Move the crtc on the current fb to the given position *optional* */
78 struct drm_framebuffer *fb, int x, int y,
144 extern int drm_helper_mode_fill_fb_struct(struct drm_framebuffer *fb,
H A Ddrm_fb_helper.h85 struct drm_framebuffer *fb; member in struct:drm_fb_helper
/solaris-x11-s11/open-src/lib/libXext/sun-src/src/
H A DXPanoramiX.c333 int framebuffercount; /* number of fb's we know about */
366 NOTE: screen_number implies a set of fb's for this
479 int fb = -1; local
508 fb = n;
514 if ((fb < 0) || (fb >= fbs)) /* fb value not valid */
548 if (fb == 0) /* assume screen == fb == 0. Code only supports one screen.*/
573 if ((fb >
[all...]
/solaris-x11-s11/open-src/kernel/mdb/modules/
H A Di915.c1808 struct drm_framebuffer fb; local
1834 if (mdb_vread(&fb, sizeof (struct drm_framebuffer),
1835 (uintptr_t)fbdev.helper.fb) == -1) {
1842 fb.width,
1843 fb.height,
1844 fb.depth,
1845 fb.bits_per_pixel,
1846 fb.base);

Completed in 315 milliseconds