Searched refs:shim_device (Results 1 – 9 of 9) sorted by relevance
58 struct shim_device shim_device; variable79 shim_device.fd_map = _mesa_hash_table_create(NULL, in drm_shim_device_init()83 mtx_init(&shim_device.mem_lock, mtx_plain); in drm_shim_device_init()85 shim_device.mem_fd = memfd_create("shim mem", MFD_CLOEXEC); in drm_shim_device_init()86 assert(shim_device.mem_fd != -1); in drm_shim_device_init()88 ASSERTED int ret = ftruncate(shim_device.mem_fd, SHIM_MEM_SIZE); in drm_shim_device_init()91 util_vma_heap_init(&shim_device.mem_heap, 4096, SHIM_MEM_SIZE - 4096); in drm_shim_device_init()119 _mesa_hash_table_insert(shim_device.fd_map, (void *)(uintptr_t)(fd + 1), shim_fd); in drm_shim_fd_register()129 _mesa_hash_table_search(shim_device.fd_map, (void *)(uintptr_t)(fd + 1)); in drm_shim_fd_lookup()144 args->version_major = shim_device.version_major; in drm_shim_ioctl_version()[all …]
40 struct shim_device { struct61 extern struct shim_device shim_device; argument
492 if (bus_types[i].bus_type != shim_device.bus_type) in readlink()
220 shim_device.bus_type = DRM_BUS_PLATFORM; in drm_shim_driver_init()221 shim_device.driver_name = "etnaviv"; in drm_shim_driver_init()222 shim_device.driver_ioctls = driver_ioctls; in drm_shim_driver_init()223 shim_device.driver_ioctl_count = ARRAY_SIZE(driver_ioctls); in drm_shim_driver_init()226 shim_device.version_major = 1; in drm_shim_driver_init()227 shim_device.version_minor = 1; in drm_shim_driver_init()228 shim_device.version_patchlevel = 0; in drm_shim_driver_init()
289 shim_device.bus_type = DRM_BUS_PLATFORM; in drm_shim_driver_init()290 shim_device.driver_name = "msm"; in drm_shim_driver_init()291 shim_device.driver_ioctls = driver_ioctls; in drm_shim_driver_init()292 shim_device.driver_ioctl_count = ARRAY_SIZE(driver_ioctls); in drm_shim_driver_init()295 shim_device.version_major = 1; in drm_shim_driver_init()296 shim_device.version_minor = 5; in drm_shim_driver_init()297 shim_device.version_patchlevel = 0; in drm_shim_driver_init()
151 shim_device.bus_type = DRM_BUS_PLATFORM; in drm_shim_driver_init()152 shim_device.driver_name = "v3d"; in drm_shim_driver_init()153 shim_device.driver_ioctls = driver_ioctls; in drm_shim_driver_init()154 shim_device.driver_ioctl_count = ARRAY_SIZE(driver_ioctls); in drm_shim_driver_init()
83 shim_device.bus_type = DRM_BUS_PLATFORM; in drm_shim_driver_init()84 shim_device.driver_name = "v3d"; in drm_shim_driver_init()
357 shim_device.driver_ioctls = driver_ioctls; in v3dX()358 shim_device.driver_ioctl_count = ARRAY_SIZE(driver_ioctls); in v3dX()360 shim_device.driver_bo_free = v3d_bo_free; in v3dX()
352 shim_device.bus_type = DRM_BUS_PCI; in drm_shim_driver_init()353 shim_device.driver_name = "i915"; in drm_shim_driver_init()354 shim_device.driver_ioctls = driver_ioctls; in drm_shim_driver_init()355 shim_device.driver_ioctl_count = ARRAY_SIZE(driver_ioctls); in drm_shim_driver_init()