Lines Matching refs:pdev
210 panvk_arch_dispatch(device->pdev.arch, meta_cleanup, device); in panvk_physical_device_finish()
211 panfrost_close_device(&device->pdev); in panvk_physical_device_finish()
311 device->pdev.debug |= PAN_DBG_TRACE; in panvk_physical_device_init()
313 device->pdev.debug |= PAN_DBG_NO_CACHE; in panvk_physical_device_init()
314 panfrost_open_device(NULL, fd, &device->pdev); in panvk_physical_device_init()
317 if (device->pdev.quirks & MIDGARD_SFBD) { in panvk_physical_device_init()
320 panfrost_model_name(device->pdev.gpu_id)); in panvk_physical_device_init()
324 panvk_arch_dispatch(device->pdev.arch, meta_init, device); in panvk_physical_device_init()
327 sprintf(device->name, "%s", panfrost_model_name(device->pdev.gpu_id)); in panvk_physical_device_init()
329 if (panvk_device_get_cache_uuid(device->pdev.gpu_id, device->cache_uuid)) { in panvk_physical_device_init()
350 panfrost_close_device(&device->pdev); in panvk_physical_device_init()
920 const struct panfrost_device *pdev = &device->physical_device->pdev; in panvk_queue_init() local
931 int ret = drmIoctl(pdev->fd, DRM_IOCTL_SYNCOBJ_CREATE, &create); in panvk_queue_init()
965 switch (physical_device->pdev.arch) { in panvk_CreateDevice()
1073 const struct panfrost_device *pdev = &queue->device->physical_device->pdev; in panvk_QueueWaitIdle() local
1082 ret = drmIoctl(pdev->fd, DRM_IOCTL_SYNCOBJ_WAIT, &wait); in panvk_QueueWaitIdle()
1163 mem->bo = panfrost_bo_import(&device->physical_device->pdev, fd_info->fd); in panvk_AllocateMemory()
1167 mem->bo = panfrost_bo_create(&device->physical_device->pdev, in panvk_AllocateMemory()
1413 const struct panfrost_device *pdev = &device->physical_device->pdev; in panvk_CreateEvent() local
1424 int ret = drmIoctl(pdev->fd, DRM_IOCTL_SYNCOBJ_CREATE, &create); in panvk_CreateEvent()
1441 const struct panfrost_device *pdev = &device->physical_device->pdev; in panvk_DestroyEvent() local
1447 drmIoctl(pdev->fd, DRM_IOCTL_SYNCOBJ_DESTROY, &destroy); in panvk_DestroyEvent()
1457 const struct panfrost_device *pdev = &device->physical_device->pdev; in panvk_GetEventStatus() local
1467 int ret = drmIoctl(pdev->fd, DRM_IOCTL_SYNCOBJ_WAIT, &wait); in panvk_GetEventStatus()
1486 const struct panfrost_device *pdev = &device->physical_device->pdev; in panvk_SetEvent() local
1499 if (drmIoctl(pdev->fd, DRM_IOCTL_SYNCOBJ_SIGNAL, &objs)) in panvk_SetEvent()
1510 const struct panfrost_device *pdev = &device->physical_device->pdev; in panvk_ResetEvent() local
1517 if (drmIoctl(pdev->fd, DRM_IOCTL_SYNCOBJ_RESET, &objs)) in panvk_ResetEvent()