Home
last modified time | relevance | path

Searched refs:drm_core_check_feature (Results 1 – 25 of 39) sorted by relevance

12

/linux/drivers/gpu/drm/
A Ddrm_context.c63 !drm_core_check_feature(dev, DRIVER_LEGACY)) in drm_legacy_ctxbitmap_free()
101 !drm_core_check_feature(dev, DRIVER_LEGACY)) in drm_legacy_ctxbitmap_init()
118 !drm_core_check_feature(dev, DRIVER_LEGACY)) in drm_legacy_ctxbitmap_cleanup()
140 !drm_core_check_feature(dev, DRIVER_LEGACY)) in drm_legacy_ctxbitmap_flush()
186 !drm_core_check_feature(dev, DRIVER_LEGACY)) in drm_legacy_getsareactx()
234 !drm_core_check_feature(dev, DRIVER_LEGACY)) in drm_legacy_setsareactx()
339 !drm_core_check_feature(dev, DRIVER_LEGACY)) in drm_legacy_resctx()
374 !drm_core_check_feature(dev, DRIVER_LEGACY)) in drm_legacy_addctx()
423 !drm_core_check_feature(dev, DRIVER_LEGACY)) in drm_legacy_getctx()
449 !drm_core_check_feature(dev, DRIVER_LEGACY)) in drm_legacy_switchctx()
[all …]
A Ddrm_scatter.c66 if (drm_core_check_feature(dev, DRIVER_SG) && dev->sg && in drm_legacy_sg_cleanup()
67 drm_core_check_feature(dev, DRIVER_LEGACY)) { in drm_legacy_sg_cleanup()
87 if (!drm_core_check_feature(dev, DRIVER_LEGACY)) in drm_legacy_sg_alloc()
90 if (!drm_core_check_feature(dev, DRIVER_SG)) in drm_legacy_sg_alloc()
203 if (!drm_core_check_feature(dev, DRIVER_LEGACY)) in drm_legacy_sg_free()
206 if (!drm_core_check_feature(dev, DRIVER_SG)) in drm_legacy_sg_free()
A Ddrm_irq.c106 if (drm_core_check_feature(dev, DRIVER_LEGACY)) in drm_legacy_irq_install()
139 WARN_ON(drm_core_check_feature(dev, DRIVER_MODESET)); in drm_legacy_irq_uninstall()
152 if (drm_core_check_feature(dev, DRIVER_LEGACY)) in drm_legacy_irq_uninstall()
175 if (!drm_core_check_feature(dev, DRIVER_HAVE_IRQ)) in drm_legacy_irq_control()
177 if (!drm_core_check_feature(dev, DRIVER_LEGACY)) in drm_legacy_irq_control()
A Ddrm_file.c66 if (drm_core_check_feature(dev, DRIVER_LEGACY)) in drm_dev_needs_global_mutex()
182 if (drm_core_check_feature(dev, DRIVER_GEM)) in drm_file_alloc()
185 if (drm_core_check_feature(dev, DRIVER_SYNCOBJ)) in drm_file_alloc()
200 if (drm_core_check_feature(dev, DRIVER_SYNCOBJ)) in drm_file_alloc()
202 if (drm_core_check_feature(dev, DRIVER_GEM)) in drm_file_alloc()
259 if (drm_core_check_feature(dev, DRIVER_LEGACY) && in drm_file_free()
264 if (drm_core_check_feature(dev, DRIVER_LEGACY)) in drm_file_free()
267 if (drm_core_check_feature(dev, DRIVER_HAVE_DMA)) in drm_file_free()
277 if (drm_core_check_feature(dev, DRIVER_SYNCOBJ)) in drm_file_free()
280 if (drm_core_check_feature(dev, DRIVER_GEM)) in drm_file_free()
[all …]
A Ddrm_dma.c56 if (!drm_core_check_feature(dev, DRIVER_HAVE_DMA) || in drm_legacy_dma_setup()
57 !drm_core_check_feature(dev, DRIVER_LEGACY)) in drm_legacy_dma_setup()
87 if (!drm_core_check_feature(dev, DRIVER_HAVE_DMA) || in drm_legacy_dma_takedown()
88 !drm_core_check_feature(dev, DRIVER_LEGACY)) in drm_legacy_dma_takedown()
A Ddrm_bufs.c427 !drm_core_check_feature(dev, DRIVER_LEGACY)) in drm_legacy_addmap_ioctl()
473 !drm_core_check_feature(dev, DRIVER_LEGACY)) in drm_legacy_getmap_ioctl()
574 !drm_core_check_feature(dev, DRIVER_LEGACY)) in drm_legacy_rmmap()
587 if (!drm_core_check_feature(dev, DRIVER_LEGACY)) in drm_legacy_master_rmmaps()
632 !drm_core_check_feature(dev, DRIVER_LEGACY)) in drm_legacy_rmmap_ioctl()
1122 if (!drm_core_check_feature(dev, DRIVER_SG)) in drm_legacy_addbufs_sg()
1279 if (!drm_core_check_feature(dev, DRIVER_LEGACY)) in drm_legacy_addbufs()
1325 if (!drm_core_check_feature(dev, DRIVER_LEGACY)) in __drm_legacy_infobufs()
1415 if (!drm_core_check_feature(dev, DRIVER_LEGACY)) in drm_legacy_markbufs()
1463 if (!drm_core_check_feature(dev, DRIVER_LEGACY)) in drm_legacy_freebufs()
[all …]
A Ddrm_pci.c110 if (!drm_core_check_feature(dev, DRIVER_LEGACY)) in drm_legacy_irq_by_busid()
117 if (!drm_core_check_feature(dev, DRIVER_HAVE_IRQ)) in drm_legacy_irq_by_busid()
135 if (drm_core_check_feature(dev, DRIVER_USE_AGP)) { in drm_legacy_pci_agp_init()
174 if (drm_core_check_feature(dev, DRIVER_LEGACY)) { in drm_legacy_get_pci_dev()
A Ddrm_drv.c627 if (drm_core_check_feature(dev, DRIVER_RENDER)) { in drm_dev_init()
643 if (drm_core_check_feature(dev, DRIVER_GEM)) { in drm_dev_init()
791 if (!drm_core_check_feature(dev, DRIVER_MODESET)) in create_compat_control_link()
825 if (!drm_core_check_feature(dev, DRIVER_MODESET)) in remove_compat_control_link()
894 if (drm_core_check_feature(dev, DRIVER_MODESET)) in drm_dev_register()
932 if (drm_core_check_feature(dev, DRIVER_LEGACY)) in drm_dev_unregister()
939 if (drm_core_check_feature(dev, DRIVER_MODESET)) in drm_dev_unregister()
A Ddrm_syncobj.c781 if (!drm_core_check_feature(dev, DRIVER_SYNCOBJ)) in drm_syncobj_create_ioctl()
798 if (!drm_core_check_feature(dev, DRIVER_SYNCOBJ)) in drm_syncobj_destroy_ioctl()
813 if (!drm_core_check_feature(dev, DRIVER_SYNCOBJ)) in drm_syncobj_handle_to_fd_ioctl()
837 if (!drm_core_check_feature(dev, DRIVER_SYNCOBJ)) in drm_syncobj_fd_to_handle_ioctl()
916 if (!drm_core_check_feature(dev, DRIVER_SYNCOBJ_TIMELINE)) in drm_syncobj_transfer_ioctl()
1238 if (!drm_core_check_feature(dev, DRIVER_SYNCOBJ)) in drm_syncobj_wait_ioctl()
1271 if (!drm_core_check_feature(dev, DRIVER_SYNCOBJ_TIMELINE)) in drm_syncobj_timeline_wait_ioctl()
1307 if (!drm_core_check_feature(dev, DRIVER_SYNCOBJ)) in drm_syncobj_reset_ioctl()
1340 if (!drm_core_check_feature(dev, DRIVER_SYNCOBJ)) in drm_syncobj_signal_ioctl()
1378 if (!drm_core_check_feature(dev, DRIVER_SYNCOBJ_TIMELINE)) in drm_syncobj_timeline_signal_ioctl()
[all …]
A Ddrm_client.c84 if (!drm_core_check_feature(dev, DRIVER_MODESET) || !dev->driver->dumb_create) in drm_client_init()
168 if (!drm_core_check_feature(dev, DRIVER_MODESET)) in drm_client_dev_unregister()
198 if (!drm_core_check_feature(dev, DRIVER_MODESET)) in drm_client_dev_hotplug()
218 if (!drm_core_check_feature(dev, DRIVER_MODESET)) in drm_client_dev_restore()
A Ddrm_vblank.c204 if (drm_core_check_feature(dev, DRIVER_MODESET)) { in __get_vblank_counter()
427 if (drm_core_check_feature(dev, DRIVER_MODESET)) { in __disable_vblank()
505 drm_core_check_feature(dev, DRIVER_MODESET)); in drm_vblank_init_release()
1104 if (drm_core_check_feature(dev, DRIVER_MODESET)) { in __enable_vblank()
1324 if (drm_core_check_feature(dev, DRIVER_ATOMIC) || !vblank->inmodeset) in drm_crtc_vblank_off()
1597 if (!drm_core_check_feature(dev, DRIVER_LEGACY)) in drm_legacy_modeset_ctl_ioctl()
1640 if (drm_core_check_feature(dev, DRIVER_MODESET)) { in drm_queue_vblank_event()
1743 if (unlikely(drm_core_check_feature(dev, DRIVER_LEGACY))) in drm_wait_vblank_supported()
1785 if (drm_core_check_feature(dev, DRIVER_MODESET)) { in drm_wait_vblank_ioctl()
2032 if (!drm_core_check_feature(dev, DRIVER_MODESET)) in drm_crtc_get_sequence_ioctl()
[all …]
A Ddrm_lock.c172 if (!drm_core_check_feature(dev, DRIVER_LEGACY)) in drm_legacy_lock()
262 if (!drm_core_check_feature(dev, DRIVER_LEGACY)) in drm_legacy_unlock()
357 if (!drm_core_check_feature(dev, DRIVER_LEGACY)) in drm_legacy_lock_master_cleanup()
A Ddrm_ioctl.c252 req->value = drm_core_check_feature(dev, DRIVER_SYNCOBJ); in drm_getcap()
255 req->value = drm_core_check_feature(dev, DRIVER_SYNCOBJ_TIMELINE); in drm_getcap()
260 if (!drm_core_check_feature(dev, DRIVER_MODESET)) in drm_getcap()
322 if (!drm_core_check_feature(dev, DRIVER_MODESET)) in drm_setclientcap()
337 if (!drm_core_check_feature(dev, DRIVER_ATOMIC)) in drm_setclientcap()
780 if (likely(!drm_core_check_feature(dev, DRIVER_LEGACY)) || in drm_ioctl_kernel()
A Ddrm_lease.c489 if (!drm_core_check_feature(dev, DRIVER_MODESET)) in drm_mode_create_lease_ioctl()
600 if (!drm_core_check_feature(dev, DRIVER_MODESET)) in drm_mode_list_lessees_ioctl()
650 if (!drm_core_check_feature(dev, DRIVER_MODESET)) in drm_mode_get_lease_ioctl()
702 if (!drm_core_check_feature(dev, DRIVER_MODESET)) in drm_mode_revoke_lease_ioctl()
A Ddrm_framebuffer.c123 if (!drm_core_check_feature(dev, DRIVER_MODESET)) in drm_mode_addfb()
352 if (!drm_core_check_feature(dev, DRIVER_MODESET)) in drm_mode_addfb2()
435 if (!drm_core_check_feature(dev, DRIVER_MODESET)) in drm_mode_rmfb()
512 if (!drm_core_check_feature(dev, DRIVER_MODESET)) in drm_mode_getfb()
575 if (!drm_core_check_feature(dev, DRIVER_MODESET)) in drm_mode_getfb2_ioctl()
706 if (!drm_core_check_feature(dev, DRIVER_MODESET)) in drm_mode_dirtyfb_ioctl()
A Ddrm_property.c469 if (!drm_core_check_feature(dev, DRIVER_MODESET)) in drm_mode_getproperty_ioctl()
761 if (!drm_core_check_feature(dev, DRIVER_MODESET)) in drm_mode_getblob_ioctl()
790 if (!drm_core_check_feature(dev, DRIVER_MODESET)) in drm_mode_createblob_ioctl()
827 if (!drm_core_check_feature(dev, DRIVER_MODESET)) in drm_mode_destroyblob_ioctl()
A Ddrm_legacy_misc.c62 drm_core_check_feature(dev, DRIVER_LEGACY)) { in drm_legacy_setup()
A Ddrm_plane.c335 if (drm_core_check_feature(dev, DRIVER_ATOMIC)) { in __drm_universal_plane_init()
654 if (!drm_core_check_feature(dev, DRIVER_MODESET)) in drm_mode_getplane_res()
691 if (!drm_core_check_feature(dev, DRIVER_MODESET)) in drm_mode_getplane()
967 if (!drm_core_check_feature(dev, DRIVER_MODESET)) in drm_mode_setplane()
1105 if (!drm_core_check_feature(dev, DRIVER_MODESET)) in drm_mode_cursor_common()
1214 if (!drm_core_check_feature(dev, DRIVER_MODESET)) in drm_mode_page_flip_ioctl()
A Ddrm_auth.c368 if (drm_core_check_feature(dev, DRIVER_MODESET) && file_priv->is_master) { in drm_master_release()
424 if (drm_core_check_feature(dev, DRIVER_MODESET)) in drm_master_destroy()
A Ddrm_crtc.c310 if (drm_core_check_feature(dev, DRIVER_ATOMIC)) { in __drm_crtc_init_with_planes()
474 if (!drm_core_check_feature(dev, DRIVER_MODESET)) in drm_mode_getcrtc()
649 if (!drm_core_check_feature(dev, DRIVER_MODESET)) in drm_mode_setcrtc()
A Ddrm_color_mgmt.c365 if (!drm_core_check_feature(dev, DRIVER_MODESET)) in drm_mode_gamma_set_ioctl()
433 if (!drm_core_check_feature(dev, DRIVER_MODESET)) in drm_mode_gamma_get_ioctl()
A Ddrm_mode_object.c408 if (!drm_core_check_feature(dev, DRIVER_MODESET)) in drm_mode_obj_get_properties_ioctl()
534 if (!drm_core_check_feature(dev, DRIVER_MODESET)) in drm_mode_obj_set_property_ioctl()
A Ddrm_gem.c800 if (!drm_core_check_feature(dev, DRIVER_GEM)) in drm_gem_close_ioctl()
827 if (!drm_core_check_feature(dev, DRIVER_GEM)) in drm_gem_flink_ioctl()
878 if (!drm_core_check_feature(dev, DRIVER_GEM)) in drm_gem_open_ioctl()
A Ddrm_encoder.c285 if (!drm_core_check_feature(dev, DRIVER_MODESET)) in drm_mode_getencoder()
/linux/include/drm/
A Ddrm_drv.h578 static inline bool drm_core_check_feature(const struct drm_device *dev, in drm_core_check_feature() function
594 return drm_core_check_feature(dev, DRIVER_ATOMIC) || in drm_drv_uses_atomic_modeset()

Completed in 47 milliseconds

12