/gfx-drm/usr/src/uts/common/drm/ |
H A D | drm_linux_list.h | 52 #define container_of(ptr, type, member) \ argument 53 ((type *)(uintptr_t)((char *)(ptr) - (unsigned long)(&((type *)0)->member))) 55 #define list_entry(ptr, type, member) \ argument 56 ptr ? ((type *)(uintptr_t)(ptr->contain_ptr)) : NULL 58 #define list_first_entry(ptr, type, member) \ argument 59 list_entry((ptr)->next, type, member) 150 #define list_for_each_entry(pos, type, head, member) \ argument 151 for (pos = list_entry((head)->next, type, member); pos; \ 152 pos = list_entry(pos->member.next, type, member)) 155 for (pos = list_entry((head)->next, type, member), \ [all …]
|
H A D | drm.h | 84 #define _IOC(dir, type, nr, size) \ argument 86 ((type) << _IOC_TYPESHIFT) | \ 249 enum drm_map_type type; /**< Type of memory to map */ member 294 enum drm_stat_type type; member 480 unsigned int type; member 522 enum drm_vblank_seq_type type; member 528 enum drm_vblank_seq_type type; member 738 #define DRM_IOR(nr,type) _IOR(DRM_IOCTL_BASE,nr,type) argument 739 #define DRM_IOW(nr,type) _IOW(DRM_IOCTL_BASE,nr,type) argument 740 #define DRM_IOWR(nr,type) _IOWR(DRM_IOCTL_BASE,nr,type) argument [all …]
|
H A D | drm_io32.h | 59 drm_map_type_t type; member 79 drm_stat_type_t type; member 126 uint32_t type; /* Type of memory to allocate */ member 158 drm_vblank_seq_type_t type; member 163 drm_vblank_seq_type_t type; member
|
H A D | drm_crtc.h | 58 uint32_t type; member 122 .name = nm, .status = 0, .type = (t), .clock = (c), \ 127 .base.type = DRM_MODE_OBJECT_MODE 139 unsigned int type; member 858 int type; member 1002 uint32_t id, uint32_t type);
|
H A D | drmP.h | 420 #define __offsetof(type, field) ((size_t)(&((type *)0)->field)) argument 421 #define offsetof(type, field) __offsetof(type, field) argument 542 enum drm_map_type type; /**< Type of memory to map */ member 1001 int type; /**< Control or render */ member 1351 extern void *drm_agp_allocate_memory(size_t pages, uint32_t type, struct drm_device *dev); 1361 unsigned long num_pages, uint32_t gtt_offset, pfn_t scratch, uint32_t type); 1363 uint32_t gtt_offset, void *gttp, uint32_t type);
|
H A D | drm_mm.h | 99 #define drm_mm_for_each_node(entry, type, mm) list_for_each_entry(entry, type, \ argument
|
/gfx-drm/usr/src/uts/intel/io/i915/ |
H A D | intel_ddi.c | 68 int type = intel_encoder->type; in intel_ddi_get_encoder_port() local 296 int type = intel_encoder->type; in intel_ddi_mode_set() local 641 int type = intel_encoder->type; in intel_ddi_pll_mode_set() local 736 int type = intel_encoder->type; in intel_ddi_set_pipe_settings() local 771 int type = intel_encoder->type; in intel_ddi_enable_transcoder_func() local 1044 int type = intel_encoder->type; in intel_ddi_pre_enable() local 1072 int type = intel_encoder->type; in intel_ddi_post_disable() local 1109 int type = intel_encoder->type; in intel_enable_ddi() local 1145 int type = intel_encoder->type; in intel_disable_ddi() local 1267 int type = intel_encoder->type; in intel_ddi_hot_plug() local [all …]
|
H A D | intel_dvo.c | 47 .type = INTEL_DVO_CHIP_TMDS, 54 .type = INTEL_DVO_CHIP_TMDS, 61 .type = INTEL_DVO_CHIP_TMDS, 68 .type = INTEL_DVO_CHIP_LVDS, 75 .type = INTEL_DVO_CHIP_TMDS, 82 .type = INTEL_DVO_CHIP_LVDS, 90 .type = INTEL_DVO_CHIP_TMDS, 438 mode->type |= DRM_MODE_TYPE_PREFERRED; in intel_dvo_get_current_mode() 507 intel_encoder->type = INTEL_OUTPUT_DVO; in intel_dvo_init() 510 switch (dvo->type) { in intel_dvo_init() [all …]
|
H A D | intel_tv.c | 55 int type; member 958 switch (intel_tv->type) { in intel_tv_mode_set() 1160 .type = DRM_MODE_TYPE_DRIVER, 1184 int type; in intel_tv_detect_type() local 1232 type = -1; in intel_tv_detect_type() 1246 type = DRM_MODE_CONNECTOR_SVIDEO; in intel_tv_detect_type() 1252 type = -1; in intel_tv_detect_type() 1272 return type; in intel_tv_detect_type() 1315 int type; in intel_tv_detect() local 1330 if (type < 0) in intel_tv_detect() [all …]
|
H A D | intel_hdmi.c | 89 switch (frame->type) { in g4x_infoframe_index() 95 DRM_DEBUG_DRIVER("unknown info frame type %d\n", frame->type); in g4x_infoframe_index() 102 switch (frame->type) { in g4x_infoframe_enable() 108 DRM_DEBUG_DRIVER("unknown info frame type %d\n", frame->type); in g4x_infoframe_enable() 115 switch (frame->type) { in hsw_infoframe_enable() 129 switch (frame->type) { in hsw_infoframe_data_reg() 238 if (frame->type != DIP_TYPE_AVI) in cpt_write_infoframe() 350 .type = DIP_TYPE_AVI, in intel_hdmi_set_avi_infoframe() 375 spd_if.type = DIP_TYPE_SPD; in intel_hdmi_set_spd_infoframe() 919 intel_encoder->type = INTEL_OUTPUT_HDMI; in intel_hdmi_detect() [all …]
|
H A D | intel_dp.c | 2415 uint8_t type; in intel_dp_detect_dpcd() local 2441 if (type == DP_DS_PORT_TYPE_VGA || type == DP_DS_PORT_TYPE_NON_EDID) in intel_dp_detect_dpcd() 2585 if (intel_encoder->type != INTEL_OUTPUT_EDP) in intel_dp_detect() 2800 intel_encoder->type == INTEL_OUTPUT_EDP) in intel_trans_dp_port_sel() 3087 int type, error; in intel_dp_init_connector() local 3093 type = DRM_MODE_CONNECTOR_DisplayPort; in intel_dp_init_connector() 3100 type = DRM_MODE_CONNECTOR_eDP; in intel_dp_init_connector() 3104 type = DRM_MODE_CONNECTOR_eDP; in intel_dp_init_connector() 3108 type = DRM_MODE_CONNECTOR_eDP; in intel_dp_init_connector() 3119 if (type == DRM_MODE_CONNECTOR_eDP) in intel_dp_init_connector() [all …]
|
H A D | i915_gem_gtt.c | 532 uint32_t type) in gen6_ggtt_clear_range() argument 574 uint32_t type) in i915_ggtt_clear_range() argument 581 dev_priv->gtt.scratch_page->pfnarray[0], type); in i915_ggtt_clear_range() 598 void i915_gem_gtt_unbind_object(struct drm_i915_gem_object *obj, uint32_t type) in i915_gem_gtt_unbind_object() argument 603 dev_priv->gtt.gtt_clear_range(dev, obj, type); in i915_gem_gtt_unbind_object() 835 dev_priv->gtt.gtt_mapping.type = 0; in gen6_gmch_probe() 1147 uint32_t type) in intel_rw_gtt() argument 1158 gttp, type); in intel_rw_gtt() 1160 if (type) { in intel_rw_gtt()
|
H A D | dvo.h | 42 int type; member
|
/gfx-drm/usr/src/uts/intel/io/agpgart/ |
H A D | agp_kstat.c | 94 int type; in agp_init_kstats() local 111 type = KSTAT_DATA_UINT64; in agp_init_kstats() 115 type = KSTAT_DATA_CHAR; in agp_init_kstats() 118 type = KSTAT_DATA_UINT32; in agp_init_kstats() 122 kstat_named_init(knp, np, type); in agp_init_kstats()
|
H A D | agptarget.c | 661 int type = 0; in agp_target_ioctl() local 664 type = CHIP_IS_INTEL; in agp_target_ioctl() 666 type = CHIP_IS_AMD; in agp_target_ioctl() 668 type = 0; in agp_target_ioctl() 672 if (ddi_copyout(&type, (void *)data, sizeof (int), mode)) { in agp_target_ioctl()
|
/gfx-drm/usr/src/uts/common/io/drm/ |
H A D | drm_bufs.c | 70 map->type != entry->map->type || in drm_find_matching_map() 73 switch (map->type) { in drm_find_matching_map() 131 map->type = type; in drm_addmap_core() 148 if (map->type == _DRM_SHM) in drm_addmap_core() 164 switch (map->type) { in drm_addmap_core() 176 map->type, map->size, in drm_addmap_core() 282 if (map->type == _DRM_REGISTERS) in drm_addmap_core() 299 if (map->type == _DRM_REGISTERS) in drm_addmap_core() 346 if (!(DRM_SUSER(credp) || map->type == _DRM_AGP || map->type == _DRM_SHM)) in drm_addmap_ioctl() 395 switch (map->type) { in drm_rmmap_locked() [all …]
|
H A D | drm_io32.c | 44 dest64->type = dest32.type; in copyin32_drm_map() 60 src32.type = src64->type; in copyout32_drm_map() 280 src32.data[i].type = src64->data[i].type; in copyout32_drm_stats() 335 dest64->request.type = dest32.request.type; in copyin32_drm_wait_vblank() 348 src32.reply.type = src64->reply.type; in copyout32_drm_wait_vblank()
|
H A D | drm_stub.c | 51 static int drm_minor_get_id(struct drm_device *dev, int type) in drm_minor_get_id() argument 57 switch (type) { in drm_minor_get_id() 308 static int drm_get_minor(struct drm_device *dev, struct drm_minor **minor, int type) in drm_get_minor() argument 317 minor_id = drm_minor_get_id(dev, type); in drm_get_minor() 327 new_minor->type = type; in drm_get_minor() 335 if (type == DRM_MINOR_LEGACY) in drm_get_minor() 337 else if (type == DRM_MINOR_CONTROL) in drm_get_minor() 339 else if (type == DRM_MINOR_RENDER) in drm_get_minor() 341 else if (type == DRM_MINOR_VGATEXT) in drm_get_minor() 343 else if (type == DRM_MINOR_AGPMASTER) in drm_get_minor()
|
H A D | drm_sysfs.c | 65 switch (minor->type) { in drm_sysfs_device_add() 118 switch (minor->type) { in drm_sysfs_device_remove()
|
H A D | drm_ioctl.c | 157 map->type = r_list->map->type; in drm_getmap() 232 stats->data[i].type = dev->types[i]; in drm_getstats()
|
H A D | drm_pci.c | 55 if ((map->type == _DRM_AGP) && dev->agp) { in drm_core_ioremap() 87 if (map->type != _DRM_AGP) { in drm_core_ioremapfree()
|
H A D | drm_irq.c | 1274 e->event.base.type = DRM_EVENT_VBLANK; in drm_queue_vblank_event() 1291 if ((vblwait->request.type & _DRM_VBLANK_NEXTONMISS) && in drm_queue_vblank_event() 1347 if (vblwait->request.type & _DRM_VBLANK_SIGNAL) in drm_wait_vblank() 1350 if (vblwait->request.type & in drm_wait_vblank() 1354 vblwait->request.type, in drm_wait_vblank() 1360 flags = vblwait->request.type & _DRM_VBLANK_FLAGS_MASK; in drm_wait_vblank() 1361 high_crtc = (vblwait->request.type & _DRM_VBLANK_HIGH_CRTC_MASK); in drm_wait_vblank() 1376 switch (vblwait->request.type & _DRM_VBLANK_TYPES_MASK) { in drm_wait_vblank() 1379 vblwait->request.type &= ~_DRM_VBLANK_RELATIVE; in drm_wait_vblank()
|
H A D | drm_modes.c | 60 mode->vsync_end, mode->vtotal, mode->type, mode->flags); in drm_mode_debug_printmodeline() 733 if ((p == NULL) || ((p->type & DRM_MODE_TYPE_CRTC_C) == DRM_MODE_TYPE_BUILTIN)) in drm_mode_set_crtcinfo() 1002 diff = ((b->type & DRM_MODE_TYPE_PREFERRED) != 0) - in drm_mode_compare() 1003 ((a->type & DRM_MODE_TYPE_PREFERRED) != 0); in drm_mode_compare() 1105 mode->type |= pmode->type; in drm_mode_connector_list_update()
|
H A D | drm_crtc.c | 80 if (list[i].type == val) \ 168 int type; member 288 obj->type = obj_type; in drm_mode_object_get() 323 uint32_t id, uint32_t type) in drm_mode_object_find() argument 333 if (!obj || (obj->type != type) || (obj->id != id)) in drm_mode_object_find() 1229 out->type = in->type; in drm_crtc_convert_to_umode() 1262 out->type = in->type; in drm_crtc_convert_umode() 2749 props[i].type, in drm_property_create_enum() 2775 props[i].type, in drm_property_create_bitmask() 2869 obj->type); in drm_object_attach_property() [all …]
|
/gfx-drm/usr/src/common/libdrm/patches/ |
H A D | incl-drm-drm-h.patch | 63 +#define _IOC(dir, type, nr, size) \ 65 + ((type) << _IOC_TYPESHIFT) | \ 94 enum drm_map_type type; /**< Type of memory to map */
|