Searched refs:shim_device (Results 1 – 13 of 13) sorted by relevance
58 struct shim_device shim_device; variable81 shim_device.fd_map = _mesa_hash_table_create(NULL, in drm_shim_device_init()85 mtx_init(&shim_device.mem_lock, mtx_plain); in drm_shim_device_init()87 shim_device.mem_fd = memfd_create("shim mem", MFD_CLOEXEC); in drm_shim_device_init()88 assert(shim_device.mem_fd != -1); in drm_shim_device_init()90 ASSERTED int ret = ftruncate(shim_device.mem_fd, SHIM_MEM_SIZE); in drm_shim_device_init()106 util_vma_heap_init(&shim_device.mem_heap, shim_page_size, in drm_shim_device_init()135 _mesa_hash_table_insert(shim_device.fd_map, (void *)(uintptr_t)(fd + 1), shim_fd); in drm_shim_fd_register()145 _mesa_hash_table_search(shim_device.fd_map, (void *)(uintptr_t)(fd + 1)); in drm_shim_fd_lookup()160 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
612 if (bus_types[i].bus_type != shim_device.bus_type) in readlink()
104 shim_device.bus_type = DRM_BUS_PLATFORM; in drm_shim_driver_init()105 shim_device.driver_name = "lima"; in drm_shim_driver_init()106 shim_device.driver_ioctls = driver_ioctls; in drm_shim_driver_init()107 shim_device.driver_ioctl_count = ARRAY_SIZE(driver_ioctls); in drm_shim_driver_init()110 shim_device.version_major = 1; in drm_shim_driver_init()111 shim_device.version_minor = 1; in drm_shim_driver_init()112 shim_device.version_patchlevel = 0; in drm_shim_driver_init()
130 shim_device.bus_type = DRM_BUS_PLATFORM; in drm_shim_driver_init()131 shim_device.driver_name = "panfrost"; in drm_shim_driver_init()132 shim_device.driver_ioctls = driver_ioctls; in drm_shim_driver_init()133 shim_device.driver_ioctl_count = ARRAY_SIZE(driver_ioctls); in drm_shim_driver_init()136 shim_device.version_major = 1; in drm_shim_driver_init()137 shim_device.version_minor = 1; in drm_shim_driver_init()138 shim_device.version_patchlevel = 0; in drm_shim_driver_init()
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()
210 shim_device.bus_type = DRM_BUS_PCI; in drm_shim_driver_init()211 shim_device.driver_name = "nouveau"; in drm_shim_driver_init()212 shim_device.driver_ioctls = driver_ioctls; in drm_shim_driver_init()213 shim_device.driver_ioctl_count = ARRAY_SIZE(driver_ioctls); in drm_shim_driver_init()215 shim_device.version_major = 1; in drm_shim_driver_init()216 shim_device.version_minor = 0; in drm_shim_driver_init()217 shim_device.version_patchlevel = 1; in drm_shim_driver_init()
291 shim_device.bus_type = DRM_BUS_PLATFORM; in drm_shim_driver_init()292 shim_device.driver_name = "msm"; in drm_shim_driver_init()293 shim_device.driver_ioctls = driver_ioctls; in drm_shim_driver_init()294 shim_device.driver_ioctl_count = ARRAY_SIZE(driver_ioctls); in drm_shim_driver_init()297 shim_device.version_major = 1; in drm_shim_driver_init()298 shim_device.version_minor = 6; in drm_shim_driver_init()299 shim_device.version_patchlevel = 0; in drm_shim_driver_init()
113 shim_device.bus_type = DRM_BUS_PLATFORM; in drm_shim_driver_init()114 shim_device.driver_name = "vc4"; in drm_shim_driver_init()115 shim_device.driver_ioctls = driver_ioctls; in drm_shim_driver_init()116 shim_device.driver_ioctl_count = ARRAY_SIZE(driver_ioctls); 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()
375 shim_device.bus_type = DRM_BUS_PCI; in drm_shim_driver_init()376 shim_device.driver_name = "i915"; in drm_shim_driver_init()377 shim_device.driver_ioctls = driver_ioctls; in drm_shim_driver_init()378 shim_device.driver_ioctl_count = ARRAY_SIZE(driver_ioctls); in drm_shim_driver_init()