Lines Matching refs:pdevice

512                                   struct v3dv_physical_device *pdevice)
515 pdevice->display_fd = create_display_fd_wayland(NULL);
519 if (pdevice->display_fd == -1)
520 pdevice->display_fd = create_display_fd_xcb(NULL);
524 if (pdevice->display_fd == - 1 && pdevice->master_fd >= 0)
525 pdevice->display_fd = dup(pdevice->master_fd);
536 struct v3dv_physical_device *pdevice,
546 pdevice->display_fd = create_display_fd_xcb(surface);
552 pdevice->display_fd = create_display_fd_wayland(surface);
557 pdevice->master_fd >= 0) {
558 pdevice->display_fd = dup(pdevice->master_fd);
569 struct v3dv_physical_device *pdevice,
573 mtx_lock(&pdevice->mutex);
575 if (pdevice->display_fd != -1)
583 acquire_display_device_surface(instance, pdevice, surface);
585 acquire_display_device_no_surface(instance, pdevice);
587 if (pdevice->display_fd == -1)
592 mtx_unlock(&pdevice->mutex);
1260 V3DV_FROM_HANDLE(v3dv_physical_device, pdevice, physicalDevice);
1418 .vendorID = v3dv_physical_device_vendor_id(pdevice),
1419 .deviceID = v3dv_physical_device_device_id(pdevice),
1426 "%s", pdevice->name);
1428 pdevice->pipeline_cache_uuid, VK_UUID_SIZE);
1435 V3DV_FROM_HANDLE(v3dv_physical_device, pdevice, physicalDevice);
1464 memcpy(id_props->deviceUUID, pdevice->device_uuid, VK_UUID_SIZE);
1465 memcpy(id_props->driverUUID, pdevice->driver_uuid, VK_UUID_SIZE);
1473 props->hasPrimary = pdevice->has_primary;
1475 props->primaryMajor = (int64_t) major(pdevice->primary_devid);
1476 props->primaryMinor = (int64_t) minor(pdevice->primary_devid);
1478 props->hasRender = pdevice->has_render;
1480 props->renderMajor = (int64_t) major(pdevice->render_devid);
1481 props->renderMinor = (int64_t) minor(pdevice->render_devid);
1500 (UINT32_MAX / v3dv_X(pdevice, max_descriptor_bo_size)());
1767 device->pdevice = physical_device;
1839 drmSyncobjDestroy(device->pdevice->render_fd, device->last_job_sync);
1970 int render_fd = device->pdevice->render_fd;
2024 struct v3dv_physical_device *pdevice = &device->instance->physicalDevice;
2025 if (unlikely(pdevice->display_fd < 0)) {
2026 result = v3dv_physical_device_acquire_display(instance, pdevice, NULL);
2030 assert(pdevice->display_fd != -1);
2034 int display_fd = pdevice->display_fd;
2077 struct v3dv_physical_device *pdevice = &device->instance->physicalDevice;
2089 assert(pAllocateInfo->memoryTypeIndex < pdevice->memory.memoryTypeCount);
2090 mem->type = &pdevice->memory.memoryTypes[pAllocateInfo->memoryTypeIndex];
2481 struct v3dv_physical_device *pdevice = &device->instance->physicalDevice;
2486 (1 << pdevice->memory.memoryTypeCount) - 1;
2506 ret = drmPrimeHandleToFD(device->pdevice->render_fd,