/src/sys/external/bsd/drm2/drm/ |
drm_gem_framebuffer_helper.c | 60 unsigned plane; local in function:drm_gem_fb_destroy 62 for (plane = 0; plane < __arraycount(fb->obj); plane++) 63 drm_gem_object_put_unlocked(fb->obj[plane]); 71 * Create a GEM handle for the object of the first plane (plane=0) 103 unsigned plane; local in function:drm_gem_fb_create_with_funcs 123 /* Get the object for each plane. */ 124 for (plane = 0; plane < fb->format->num_planes; plane++) [all...] |
/src/sys/external/bsd/drm2/dist/drm/ |
drm_damage_helper.c | 45 * FB_DAMAGE_CLIPS is an optional plane property which provides a means to 46 * specify a list of damage rectangles on a plane in framebuffer coordinates of 47 * the framebuffer attached to the plane. In current context damage is the area 48 * of plane framebuffer that has changed since last plane update (also called 50 * framebuffer attached during last plane update or not. 57 * ignore damage clips property and in that case driver will do a full plane 59 * inside damage clips will be updated to plane. For efficiency driver can do 64 * framebuffer (since last plane update) can result in incorrect rendering. 67 * array of &drm_mode_rect. Unlike plane &drm_plane_state.src coordinates 174 struct drm_plane *plane; local in function:drm_atomic_helper_dirtyfb [all...] |
drm_modeset_lock.c | 405 struct drm_plane *plane; local in function:drm_modeset_lock_all_ctx 418 drm_for_each_plane(plane, dev) { 419 ret = drm_modeset_lock(&plane->mutex, ctx);
|
drm_blend.c | 8 * DRM core plane blending related functions 46 * The basic plane composition model supported by standard plane properties only 54 * For the atomic ioctl the following standard (atomic) properties on the plane object 55 * encode the basic plane composition model: 82 * Mode object ID of the &drm_framebuffer this plane should scan out. 84 * Mode object ID of the &drm_crtc this plane should be connected to. 101 * plane-wide opacity, from transparent (0) to opaque (0xffff). It can be 104 * pre-multiplied by the global alpha associated to the plane. 115 * Signals that a drm plane is rotated <degrees> degrees in counte 439 struct drm_plane *plane; local in function:drm_atomic_helper_crtc_normalize_zpos [all...] |
drm_mode_config.c | 190 struct drm_plane *plane; local in function:drm_mode_config_reset 195 drm_for_each_plane(plane, dev) 196 if (plane->funcs->reset) 197 plane->funcs->reset(plane); 476 struct drm_plane *plane, *plt; local in function:drm_mode_config_cleanup 506 list_for_each_entry_safe(plane, plt, &dev->mode_config.plane_list, 508 plane->funcs->destroy(plane);
|
drm_crtc.c | 72 * &drm_crtc_funcs.set_config, legacy plane operations, see 218 * @primary: Primary plane for CRTC 219 * @cursor: Cursor plane for CRTC 226 * planes). For really simple hardware which has only 1 plane look at 370 struct drm_plane *plane; local in function:drm_mode_getcrtc 379 plane = crtc->primary; 383 drm_modeset_lock(&plane->mutex, NULL); 384 if (plane->state && plane->state->fb) 385 crtc_resp->fb_id = plane->state->fb->base.id 440 struct drm_plane *plane = tmp->primary; local in function:__drm_mode_set_config_internal 449 struct drm_plane *plane = crtc->primary; local in function:__drm_mode_set_config_internal 456 struct drm_plane *plane = tmp->primary; local in function:__drm_mode_set_config_internal 537 struct drm_plane *plane; local in function:drm_mode_setcrtc [all...] |
drm_atomic.c | 201 struct drm_plane *plane = state->planes[i].ptr; local in function:drm_atomic_state_default_clear 203 if (!plane) 206 plane->funcs->atomic_destroy_state(plane, 459 * drm_atomic_get_plane_state - get plane state 461 * @plane: plane to get state object for 463 * This function returns the plane state for the given plane, allocating it if 464 * needed. It will also grab the relevant plane lock to make sure that the stat 552 struct drm_plane *plane = new_plane_state->plane; local in function:drm_atomic_plane_check 663 struct drm_plane *plane = state->plane; local in function:drm_atomic_plane_print_state 1117 struct drm_plane *plane; local in function:drm_atomic_add_affected_planes 1150 struct drm_plane *plane; local in function:drm_atomic_check_only 1466 struct drm_plane *plane; local in function:__drm_state_dump [all...] |
drm_atomic_uapi.c | 168 * drm_atomic_set_crtc_for_plane - set CRTC for plane 169 * @plane_state: the plane whose incoming state to update 170 * @crtc: CRTC to use for the plane 172 * Changing the assigned CRTC for a plane requires us to grab the lock and state 185 struct drm_plane *plane = plane_state->plane; local in function:drm_atomic_set_crtc_for_plane 196 crtc_state->plane_mask &= ~drm_plane_mask(plane); 206 crtc_state->plane_mask |= drm_plane_mask(plane); 210 DRM_DEBUG_ATOMIC("Link [PLANE:%d:%s] state %p to [CRTC:%d:%s]\n", 211 plane->base.id, plane->name, plane_state 235 struct drm_plane *plane = plane_state->plane; local in function:drm_atomic_set_fb_for_plane 882 struct drm_plane *plane = obj_to_plane(obj); local in function:drm_atomic_get_property 1010 struct drm_plane *plane = obj_to_plane(obj); local in function:drm_atomic_set_property [all...] |
drm_framebuffer.c | 52 * handle that can be passed to the KMS CRTC control, plane configuration and 160 const struct drm_format_info *format, int plane) 162 if (plane == 0) 169 const struct drm_format_info *format, int plane) 171 if (plane == 0) 214 DRM_DEBUG_KMS("Format requires non-linear modifier for plane %d\n", i); 219 DRM_DEBUG_KMS("no buffer object handle for plane %d\n", i); 230 DRM_DEBUG_KMS("bad pitch %u for plane %d\n", r->pitches[i], i); 235 DRM_DEBUG_KMS("bad fb modifier %"PRIu64" for plane %d\n", 242 DRM_DEBUG_KMS("bad fb modifier %"PRIu64" for plane %d\n" 847 struct drm_plane *plane; local in function:atomic_remove_fb 941 struct drm_plane *plane; local in function:legacy_remove_fb [all...] |
drm_plane.c | 45 * A plane represents an image source that can be blended with or overlayed on 47 * &drm_framebuffer object. The plane itself specifies the cropping and scaling 49 * pipeline, represented by &drm_crtc. A plane can also have additional 53 * To create a plane, a KMS drivers allocates and zeroes an instances of 58 * primary plane per CRTC to avoid surprising userspace too much. See enum 60 * plane types. Special planes are associated with their CRTC by calling 63 * The type of a plane is exposed in the immutable "type" enumeration property, 91 static int create_in_format_blob(struct drm_device *dev, struct drm_plane *plane) 100 formats_size = sizeof(__u32) * plane->format_count; 107 sizeof(struct drm_format_modifier) * plane->modifier_count 297 struct drm_plane *plane; local in function:drm_plane_register_all 312 struct drm_plane *plane; local in function:drm_plane_unregister_all 401 struct drm_plane *plane; local in function:drm_plane_from_index 483 struct drm_plane *plane; local in function:drm_mode_getplane_res 521 struct drm_plane *plane; local in function:drm_mode_getplane 659 struct drm_plane *plane; local in function:drm_any_plane_has_format 799 struct drm_plane *plane; local in function:drm_mode_setplane 853 struct drm_plane *plane = crtc->cursor; local in function:drm_mode_cursor_universal 1044 struct drm_plane *plane; local in function:drm_mode_page_flip_ioctl [all...] |
drm_client_modeset.c | 894 * This function checks if the primary plane in @modeset can hw rotate 900 * True if the plane can do the rotation, false otherwise. 905 struct drm_plane *plane = modeset->crtc->primary; local in function:drm_client_rotation 963 !plane->rotation_property) 966 for (i = 0; i < plane->rotation_property->num_values; i++) 967 valid_mask |= (1ULL << plane->rotation_property->values[i]); 979 struct drm_plane *plane; local in function:drm_client_modeset_commit_atomic 995 drm_for_each_plane(plane, dev) { 998 plane_state = drm_atomic_get_plane_state(state, plane); 1007 if (plane->type == DRM_PLANE_TYPE_PRIMARY 1067 struct drm_plane *plane; local in function:drm_client_modeset_commit_legacy [all...] |
/src/sys/external/bsd/drm2/dist/drm/i915/display/ |
intel_atomic_plane.c | 27 * DOC: atomic plane helpers 29 * The functions here are used by the atomic plane helper functions to 30 * implement legacy plane updates (i.e., drm_plane->update_plane() and 31 * drm_plane->disable_plane()). This allows plane updates to use the 32 * atomic state infrastructure and perform plane updates as separate 50 struct intel_plane *plane) 54 __drm_atomic_helper_plane_state_reset(&plane_state->uapi, &plane->base); 62 struct intel_plane *plane; local in function:intel_plane_alloc 64 plane = kzalloc(sizeof(*plane), GFP_KERNEL) 232 struct intel_plane *plane = to_intel_plane(new_plane_state->uapi.plane); local in function:intel_plane_atomic_check_with_state 323 struct intel_plane *plane; local in function:skl_next_plane_to_commit 386 struct intel_plane *plane; local in function:skl_update_planes_on_crtc 415 struct intel_plane *plane; local in function:i9xx_update_planes_on_crtc [all...] |
intel_atomic.c | 31 * See intel_atomic_plane.c for the plane-specific atomic functionality. 329 struct intel_plane *plane = to_intel_plane(plane_state->uapi.plane); local in function:intel_atomic_setup_scaler 333 } else if (icl_is_hdr_plane(dev_priv, plane->id)) { 337 * we don't need the scaler to upsample the UV plane. 391 struct drm_plane *plane = NULL; local in function:intel_atomic_setup_scalers 409 * - as part of plane commit, scalers will be committed 439 name = "PLANE"; 441 /* plane scaler case: assign as a plane scaler * [all...] |
intel_fbc.c | 62 * frontbuffer's x:0/y:0 coordinates we lie to the hardware about the plane's 64 * consequence, the fence doesn't really start exactly at the display plane 70 return fbc->state_cache.plane.y - fbc->state_cache.plane.adjusted_y; 74 * For SKL+, the plane source size used by the hardware is based on the value we 82 *width = cache->plane.src_w; 84 *height = cache->plane.src_h; 404 * FIXME: This should be tracked in the plane config eventually 607 * programmed as the display plane base address register. It does not look at 609 * variables instead of just looking at the pipe/plane size 1063 struct intel_plane *plane; local in function:intel_fbc_choose_crtc [all...] |
/src/sys/external/bsd/drm2/dist/drm/virtio/ |
virtgpu_plane.c | 75 static void virtio_gpu_plane_destroy(struct drm_plane *plane) 77 drm_plane_cleanup(plane); 78 kfree(plane); 90 static int virtio_gpu_plane_atomic_check(struct drm_plane *plane, 93 bool is_cursor = plane->type == DRM_PLANE_TYPE_CURSOR; 134 static void virtio_gpu_primary_plane_update(struct drm_plane *plane, 137 struct drm_device *dev = plane->dev; 143 if (plane->state->crtc) 144 output = drm_crtc_to_virtio_gpu_output(plane->state->crtc); 150 if (!plane->state->fb || !output->enabled) 327 struct drm_plane *plane; local in function:virtio_gpu_plane_init [all...] |
/src/lib/libc/citrus/modules/ |
citrus_dechanyu.c | 355 int plane; local in function:_citrus_DECHanyu_stdenc_wctocs 362 plane = 0; 369 plane += 2; 374 plane += (wc & 0x80) ? 1 : 2; 377 *csid = plane;
|
/src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/ |
nouveau_dispnv04_hw.c | 300 bool save, unsigned plane) 304 NVWriteVgaSeq(dev, 0, NV_VIO_SR_PLANE_MASK_INDEX, 1 << plane); 305 NVWriteVgaGr(dev, 0, NV_VIO_GX_READ_MAP_INDEX, plane); 309 nv04_display(dev)->saved_vga_font[plane][i] = 312 nv04_display(dev)->saved_vga_font[plane][i] = 318 nv04_display(dev)->saved_vga_font[plane][i]); 320 iowrite32_native(nv04_display(dev)->saved_vga_font[plane][i], 333 unsigned plane; local in function:nouveau_hw_save_vga_fonts 391 for (plane = 0; plane < 4; plane++ [all...] |
nouveau_dispnv04_overlay.c | 118 nv10_update_plane(struct drm_plane *plane, struct drm_crtc *crtc, 125 struct nouveau_drm *drm = nouveau_drm(plane->dev); 128 container_of(plane, struct nouveau_plane, base); 196 nv10_disable_plane(struct drm_plane *plane, 199 struct nvif_object *dev = &nouveau_drm(plane->dev)->client.device.object; 201 container_of(plane, struct nouveau_plane, base); 213 nv_destroy_plane(struct drm_plane *plane) 215 drm_plane_force_disable(plane); 216 drm_plane_cleanup(plane); 217 kfree(plane); 286 struct nouveau_plane *plane = kzalloc(sizeof(struct nouveau_plane), GFP_KERNEL); local in function:nv10_overlay_init 475 struct nouveau_plane *plane = kzalloc(sizeof(struct nouveau_plane), GFP_KERNEL); local in function:nv04_overlay_init [all...] |
/src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv50/ |
wndw.h | 5 #define nv50_wndw(p) container_of((p), struct nv50_wndw, plane) 28 struct drm_plane plane; member in struct:nv50_wndw
|
/src/games/atc/ |
struct.h | 82 typedef struct plane { struct 83 struct plane *next, *prev; 100 } PLANE; 103 PLANE *head, *tail;
|
/src/sys/external/bsd/drm2/dist/drm/i915/ |
i915_vma_types.h | 106 struct intel_remapped_plane_info plane[2]; member in struct:intel_remapped_info 111 struct intel_remapped_plane_info plane[2]; member in struct:intel_rotation_info 133 BUILD_BUG_ON(offsetof(struct intel_remapped_info, plane[0]) != 134 offsetof(struct intel_rotation_info, plane[0])); 135 BUILD_BUG_ON(offsetofend(struct intel_remapped_info, plane[1]) != 136 offsetofend(struct intel_rotation_info, plane[1])); 219 * use on each plane on each crtc, while also building the next atomic
|
/src/sys/external/bsd/drm2/dist/include/drm/ |
drm_plane.h | 41 * struct drm_plane_state - mutable plane state 50 /** @plane: backpointer to the plane */ 51 struct drm_plane *plane; member in struct:drm_plane_state 87 * Left position of visible portion of plane on crtc, signed dest 95 * Upper position of visible portion of plane on crtc, signed dest 100 /** @crtc_w: width of visible portion of plane on crtc */ 101 /** @crtc_h: height of visible portion of plane on crtc */ 105 * @src_x: left position of visible portion of plane within plane (i [all...] |
/src/sys/arch/atari/dev/ |
grfabs_reg.h | 92 u_char *plane; /* plane data for bitmap/vga. */ member in struct:bitmap 98 u_int phys_mappable; /* amount of mappable lin. plane mem. */ 99 u_int vga_mappable; /* amount of mappable vga plane mem. */
|
/src/sys/arch/amiga/dev/ |
grfabs_reg.h | 87 * WARNING: the plane array is only for convenience, all data for bitplanes 89 * for the plane pointers and row_mod is to support interleaving 93 * to place the start of mappable plane data in ``hardware_address'', 97 * so that the entire contiguous plane data is exactly: 101 * Final Warning: Plane data must begin on a PAGE address and the allocation 114 u_char **plane; /* plane data for bitmap. */ member in struct:bitmap 134 ((b)->plane[p] + (((b)->bytes_per_row + (b)->row_mod) * l)) 218 #define VDISPLAY_LINE(v, p, l) ((v)->bitmap->plane[(p)] +\
|
/src/sys/external/bsd/drm2/dist/drm/vboxvideo/ |
vbox_mode.c | 269 static int vbox_primary_atomic_check(struct drm_plane *plane, 287 static void vbox_primary_atomic_update(struct drm_plane *plane, 290 struct drm_crtc *crtc = plane->state->crtc; 291 struct drm_framebuffer *fb = plane->state->fb; 297 plane->state->src_x >> 16, 298 plane->state->src_y >> 16); 302 clips = drm_plane_get_damage_clips(plane->state); 303 num_clips = drm_plane_get_damage_clips_count(plane->state); 331 static void vbox_primary_atomic_disable(struct drm_plane *plane, 336 /* vbox_do_modeset checks plane->state->fb and will disable if NULL * 520 struct drm_plane *plane; local in function:vbox_create_plane [all...] |