/gfx-drm/usr/src/uts/common/drm/ |
H A D | drm_linux_list.h | 61 #define list_empty(head) \ argument 62 ((head)->next == head) 66 (head)->next = head; \ 67 (head)->prev = head; \ 74 (ptr)->prev = head; \ 77 (head)->next = ptr; \ 85 (ptr)->next = head; \ 87 (head)->prev = ptr; \ 110 list_add(ptr, head, entry); \ 143 for (pos = (head)->next; pos != head; pos = (pos)->next) [all …]
|
H A D | drm_sun_idr.h | 77 #define idr_list_for_each(entry, head) \ argument 79 list_for_each(entry, &(head)->next[key]) 81 extern int idr_list_pre_get(struct idr_list *head, int flag); 82 extern void idr_list_init(struct idr_list *head); 83 extern int idr_list_get_new_above(struct idr_list *head, 86 extern void *idr_list_find(struct idr_list *head, uint32_t name); 87 extern int idr_list_remove(struct idr_list *head, uint32_t name); 88 extern void idr_list_free(struct idr_list *head); 89 extern int idr_list_empty(struct idr_list *head);
|
H A D | drm_crtc.h | 133 struct list_head head; member 265 struct list_head head; member 284 struct list_head head; member 291 struct list_head head; member 296 struct list_head head; member 402 struct list_head head; member 521 struct list_head head; member 592 struct list_head head; member 672 struct list_head head; member 926 extern void drm_mode_list_concat(struct list_head *head,
|
H A D | drm_sun_timer.h | 40 struct list_head *head; member
|
H A D | drmP.h | 471 struct drm_magic_entry *head; member 560 struct list_head head; /**< list head */ member 569 struct list_head head; /**< list head */ member 575 struct list_head head; member 583 struct list_head head; /**< list head */ member 703 struct list_head head; member 980 struct list_head head; /**< each minor contains a list of masters */ member
|
/gfx-drm/usr/src/uts/common/io/drm/ |
H A D | drm_agpsupport.c | 420 list_del(&entry->head); in drm_agp_free() 455 struct drm_agp_head *head = NULL; in drm_agp_init() local 458 if (!(head = kmalloc(sizeof(*head), GFP_KERNEL))) in drm_agp_init() 460 (void) memset((void *)head, 0, sizeof(*head)); in drm_agp_init() 468 &head->agpgart_lh, head->agpgart_li); in drm_agp_init() 474 ret = ldi_ioctl(head->agpgart_lh, AGPIOC_INFO, in drm_agp_init() 480 INIT_LIST_HEAD(&head->memory); in drm_agp_init() 481 head->base = head->agp_info.agpi_aperbase; in drm_agp_init() 482 return head; in drm_agp_init() 487 ldi_ident_release(head->agpgart_li); in drm_agp_init() [all …]
|
H A D | drm_crtc_helper.c | 63 &dev->mode_config.connector_list, head) { in drm_helper_move_panel_connectors_to_head() 66 list_move_tail(&connector->head, &panel_list, (caddr_t)connector); in drm_helper_move_panel_connectors_to_head() 82 list_for_each_entry(mode, struct drm_display_mode, &connector->modes, head) { in drm_mode_validate_flag() 130 list_for_each_entry(mode, struct drm_display_mode, &connector->modes, head) in drm_helper_probe_single_connector_modes() 180 list_for_each_entry(mode, struct drm_display_mode, &connector->modes, head){ in drm_helper_probe_single_connector_modes() 192 list_for_each_entry(mode, struct drm_display_mode, &connector->modes, head) in drm_helper_probe_single_connector_modes() 199 list_for_each_entry(mode, struct drm_display_mode, &connector->modes, head){ in drm_helper_probe_single_connector_modes() 294 list_for_each_entry(crtc, struct drm_crtc, &dev->mode_config.crtc_list, head) { in drm_helper_disable_unused_functions() 327 list_for_each_entry(tmp, struct drm_crtc, &dev->mode_config.crtc_list, head) { in drm_encoder_crtc_ok() 615 list_for_each_entry(crtc, struct drm_crtc, &dev->mode_config.crtc_list, head) { in drm_crtc_helper_set_config() [all …]
|
H A D | drm_sun_idr.c | 359 idr_list_init(struct idr_list *head) in idr_list_init() argument 365 head->next = entry; in idr_list_init() 389 obj_temp = idr_list_find(head, id); in idr_list_get_new_above() 407 node = &head->next[key]; in idr_list_get_new_above() 419 idr_list_find(struct idr_list *head, in idr_list_find() argument 426 list_for_each(entry, &head->next[key]) { in idr_list_find() 445 idr_list_remove(struct idr_list *head, in idr_list_remove() argument 464 idr_list_free(struct idr_list *head) in idr_list_free() argument 473 kmem_free(head->next, in idr_list_free() 475 head->next = NULL; in idr_list_free() [all …]
|
H A D | drm_auth.c | 78 for (pt = master->magiclist[hash].head; pt; pt = pt->next) { in drm_find_file() 122 master->magiclist[hash].head = entry; in drm_add_magic() 150 for (pt = master->magiclist[hash].head; pt; prev = pt, pt = pt->next) { in drm_remove_magic() 152 if (master->magiclist[hash].head == pt) { in drm_remove_magic() 153 master->magiclist[hash].head = pt->next; in drm_remove_magic()
|
H A D | drm_modes.c | 606 void drm_mode_list_concat(struct list_head *head, struct list_head *new) in drm_mode_list_concat() argument 611 list_for_each_safe(entry, tmp, head) { in drm_mode_list_concat() 790 struct list_head head = dst->head; in drm_mode_copy() local 794 dst->head = head; in drm_mode_copy() 901 list_for_each_entry(mode, struct drm_display_mode, mode_list, head) { in drm_mode_validate_size() 937 list_for_each_entry(mode, struct drm_display_mode, mode_list, head) { in drm_mode_validate_clocks() 968 list_for_each_entry_safe(mode, t, struct drm_display_mode, mode_list, head) { in drm_mode_prune_invalid() 970 list_del(&mode->head); in drm_mode_prune_invalid() 1096 head) { in drm_mode_connector_list_update() 1106 list_del(&pmode->head); in drm_mode_connector_list_update() [all …]
|
H A D | drm_context.c | 168 list_for_each_entry(_entry, struct drm_map_list, &dev->maplist, head) { in drm_getsareactx() 204 list_for_each_entry(r_list, struct drm_map_list, &dev->maplist, head) { in drm_setsareactx() 354 INIT_LIST_HEAD(&ctx_entry->head); in drm_addctx() 359 list_add(&ctx_entry->head, &dev->ctxlist, (caddr_t)ctx_entry); in drm_addctx() 462 list_for_each_entry_safe(pos, n, struct drm_ctx_list, &dev->ctxlist, head) { in drm_rmctx() 464 list_del(&pos->head); in drm_rmctx()
|
H A D | drm_memory.c | 219 struct list_head head; member 251 INIT_LIST_HEAD(&iomem->head); in drm_sun_ioremap() 252 list_add(&iomem->head, &drm_iomem_list, (caddr_t)iomem); in drm_sun_ioremap() 262 list_for_each_entry(iomem, struct drm_iomem, &drm_iomem_list, head) { in drm_sun_iounmap() 265 list_del(&iomem->head); in drm_sun_iounmap()
|
H A D | drm_crtc.c | 516 list_del(&fb->head); in drm_framebuffer_cleanup() 637 list_del(&crtc->head); in drm_crtc_cleanup() 666 list_del(&mode->head); in drm_mode_remove() 1365 head) { in drm_mode_getresources() 1393 head) { in drm_mode_getresources() 1424 head) { in drm_mode_getresources() 3042 list_del(&blob->head); in drm_property_destroy_blob() 3902 head) { in drm_mode_config_cleanup() 3912 head) { in drm_mode_config_cleanup() 3917 head) { in drm_mode_config_cleanup() [all …]
|
H A D | drm_stub.c | 112 master->magiclist[i].head = NULL; in drm_master_create() 118 list_add_tail(&master->head, &minor->master_list, (caddr_t)master); in drm_master_create() 137 list_del(&master->head); in drm_master_destroy() 142 list_for_each_entry_safe(r_list, list_temp, struct drm_map_list, &dev->maplist, head) { in drm_master_destroy() 157 for (pt = master->magiclist[i].head; pt; pt = next) { in drm_master_destroy() 161 master->magiclist[i].head = master->magiclist[i].tail = NULL; in drm_master_destroy() 504 list_for_each_entry_safe(r_list, list_temp, struct drm_map_list, &dev->maplist, head) in drm_put_dev()
|
H A D | drm_fb_helper.c | 84 list_for_each_entry(connector, struct drm_connector, &dev->mode_config.connector_list, head) { in drm_fb_helper_single_add_all_connectors() 165 list_for_each_entry(c, struct drm_crtc, &dev->mode_config.crtc_list, head) { in drm_mode_config_fb() 185 list_for_each_entry(plane, struct drm_plane, &dev->mode_config.plane_list, head) in drm_fb_helper_restore_fbdev_mode() 231 list_for_each_entry(crtc, struct drm_crtc, &dev->mode_config.crtc_list, head) { in drm_fb_helper_is_bound() 296 list_for_each_entry(crtc, struct drm_crtc, &dev->mode_config.crtc_list, head) { in drm_fb_helper_init() 447 list_for_each_entry(mode, struct drm_display_mode, &fb_connector->connector->modes, head) { in drm_has_preferred_mode() 481 list_for_each_entry(mode, struct drm_display_mode, &fb_helper_conn->connector->modes, head) { in drm_pick_cmdline_mode() 503 list_add(&mode->head, &fb_helper_conn->connector->modes, in drm_pick_cmdline_mode() 601 list_for_each_entry(mode, struct drm_display_mode, &fb_helper_conn->connector->modes, head) { in drm_target_cloned() 642 list_for_each_entry(modes[i], struct drm_display_mode, &fb_helper_conn->connector->modes, head) in drm_target_preferred()
|
H A D | drm_sunmod.c | 317 list_add_tail(&seg->head, &obj->seg_list, (caddr_t)seg); in drm_gem_map_access() 377 &obj->seg_list, head) { in drm_gem_unmap() 380 list_del(&entry->head); in drm_gem_unmap() 910 list_for_each_entry(_entry, struct drm_map_list, &dev->maplist, head) { in drm_core_findmap()
|
H A D | drm_bufs.c | 61 list_for_each_entry(entry, struct drm_map_list, &dev->maplist, head) { in drm_find_matching_map() 291 list_add(&list->head, &dev->maplist, (caddr_t)list); in drm_addmap_core() 380 list_for_each_entry_safe(r_list, list_t, struct drm_map_list, &dev->maplist, head) { in drm_rmmap_locked() 383 list_del(&r_list->head); in drm_rmmap_locked() 457 list_for_each_entry(r_list, struct drm_map_list, &dev->maplist, head) { in drm_rmmap_ioctl()
|
H A D | drm_gem.c | 672 list_for_each_entry_safe(r_list, list_temp, struct drm_history_list, &obj->his_list, head) { in drm_gem_object_release() 673 list_del(&r_list->head); in drm_gem_object_release() 805 list_add_tail(&list->head, &obj->his_list, (caddr_t)list); in drm_gem_object_track()
|
/gfx-drm/usr/src/ |
H A D | Makefile | 44 HDRSUBDIRS= uts head lib cmd 49 CHKHDRSUBDIRS= head uts lib 117 clean: $(SUBDIRS) head pkg 118 clobber: $(SUBDIRS) head pkg clobber_local 127 $(SUBDIRS) head pkg: FRC target 156 @cd head; pwd; $(MAKE) install_h 175 XRINCDIRS = uts/common head ucbhead 199 $(JAVA_ROOT)/bin/java -fullversion 2>&1 | head -1; \
|
/gfx-drm/usr/src/common/libdrm/ |
H A D | Check-patches | 96 ( head -27 patches/incl-drm-drm-h.patch ; 100 ( head -27 patches/incl-drm-i915-drm-h.patch ; 116 ( head -27 patches/xf86drm-h.patch ;
|
/gfx-drm/usr/src/uts/intel/io/i915/ |
H A D | i915_gem_debug.c | 379 int head, tail; member 638 ring->head = ring_read(ring, _RING_HEAD) & HEAD_ADDR; in ring_sample() 642 if (ring->tail == ring->head) in ring_sample() 645 full = ring->tail - ring->head; in ring_sample() 877 u32 tail, head; in ring_dump() local 878 head = I915_READ_HEAD(ring) & HEAD_ADDR; in ring_dump() 882 DRM_ERROR("HEAD 0x%x TAIL 0x%x", head, tail); in ring_dump() 885 if (head == tail) in ring_dump() 889 virt = (unsigned int *)((intptr_t)ring->virtual_start + head + (i-180)*4); in ring_dump() 890 DRM_ERROR("%s[0x%x]: 0x%x", ring->name, head + (i-180)*4, virt[0]); in ring_dump()
|
H A D | intel_display.c | 5039 base.head) { in ironlake_init_pch_refclk() 7673 base.head) { in intel_modeset_update_staged_output_state() 7679 base.head) { in intel_modeset_update_staged_output_state() 7696 base.head) { in intel_modeset_commit_output_state() 7701 base.head) { in intel_modeset_commit_output_state() 7783 base.head) { in compute_baseline_pipe_bpp() 7831 base.head) { in check_encoder_cloning() 7888 base.head) { in intel_modeset_pipe_config() 7963 base.head) { in intel_modeset_affected_pipes() 7979 base.head) { in intel_modeset_affected_pipes() [all …]
|
H A D | intel_ringbuffer.c | 52 int space = (ring->head & HEAD_ADDR) - (ring->tail + I915_RING_FREE_SPACE); in ring_space() 403 u32 head; in init_ring_common() local 418 head = I915_READ_HEAD(ring) & HEAD_ADDR; in init_ring_common() 421 if (head != 0) { in init_ring_common() 470 ring->head = I915_READ_HEAD(ring); in init_ring_common() 1418 ring->head = ring->last_retired_head; in intel_ring_wait_request() 1459 ring->head = ring->last_retired_head; in intel_ring_wait_request() 1489 ring->head = I915_READ_HEAD(ring); in ring_wait_for_space()
|
/gfx-drm/usr/src/cmd/mdb/i915/ |
H A D | i915.c | 383 struct list_head *head; in obj_walk_list() local 386 head = mdb_alloc(sizeof (struct list_head), UM_SLEEP); in obj_walk_list() 398 0, NULL, (uintptr_t)head->prev) == -1) { in obj_walk_list() 404 mdb_free(head, sizeof (struct list_head)); in obj_walk_list() 480 struct list_head *head; in i915_obj_list() local 487 if (mdb_vread(head, sizeof (struct list_head), in i915_obj_list() 499 0, NULL, (uintptr_t)head->prev) == -1) { in i915_obj_list() 505 mdb_free(head, sizeof (struct list_head)); in i915_obj_list() 1159 struct list_head *head; in request_walk_list() local 1172 0, NULL, (uintptr_t)head->prev) == -1) { in request_walk_list() [all …]
|
/gfx-drm/usr/src/common/libdrm/patches/ |
H A D | util-double-list-h.patch | 12 #define LIST_FOR_EACH_ENTRY(pos, head, member) \
|