/dports/multimedia/libv4l/linux-5.13-rc2/drivers/dma-buf/ |
H A D | dma-buf.c | 77 dmabuf->ops->release(dmabuf); in dma_buf_release() 145 return dmabuf->ops->mmap(dmabuf, vma); in dma_buf_mmap_internal() 217 if (!dmabuf || !dmabuf->resv) in dma_buf_poll() 565 dmabuf->cb_excl.poll = dmabuf->cb_shared.poll = &dmabuf->poll; in dma_buf_export() 611 if (!dmabuf || !dmabuf->file) in dma_buf_fd() 662 if (WARN_ON(!dmabuf || !dmabuf->file)) in dma_buf_put() 738 attach->dmabuf = dmabuf; in dma_buf_dynamic_attach() 855 dmabuf->ops->detach(dmabuf, attach); in dma_buf_detach() 1267 return dmabuf->ops->mmap(dmabuf, vma); in dma_buf_mmap() 1310 ret = dmabuf->ops->vmap(dmabuf, &ptr); in dma_buf_vmap() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/dma-buf/ |
H A D | dma-buf.c | 77 dmabuf->ops->release(dmabuf); in dma_buf_release() 145 return dmabuf->ops->mmap(dmabuf, vma); in dma_buf_mmap_internal() 217 if (!dmabuf || !dmabuf->resv) in dma_buf_poll() 565 dmabuf->cb_excl.poll = dmabuf->cb_shared.poll = &dmabuf->poll; in dma_buf_export() 611 if (!dmabuf || !dmabuf->file) in dma_buf_fd() 662 if (WARN_ON(!dmabuf || !dmabuf->file)) in dma_buf_put() 738 attach->dmabuf = dmabuf; in dma_buf_dynamic_attach() 855 dmabuf->ops->detach(dmabuf, attach); in dma_buf_detach() 1267 return dmabuf->ops->mmap(dmabuf, vma); in dma_buf_mmap() 1310 ret = dmabuf->ops->vmap(dmabuf, &ptr); in dma_buf_vmap() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/dma-buf/ |
H A D | dma-buf.c | 77 dmabuf->ops->release(dmabuf); in dma_buf_release() 145 return dmabuf->ops->mmap(dmabuf, vma); in dma_buf_mmap_internal() 217 if (!dmabuf || !dmabuf->resv) in dma_buf_poll() 565 dmabuf->cb_excl.poll = dmabuf->cb_shared.poll = &dmabuf->poll; in dma_buf_export() 611 if (!dmabuf || !dmabuf->file) in dma_buf_fd() 662 if (WARN_ON(!dmabuf || !dmabuf->file)) in dma_buf_put() 738 attach->dmabuf = dmabuf; in dma_buf_dynamic_attach() 855 dmabuf->ops->detach(dmabuf, attach); in dma_buf_detach() 1267 return dmabuf->ops->mmap(dmabuf, vma); in dma_buf_mmap() 1310 ret = dmabuf->ops->vmap(dmabuf, &ptr); in dma_buf_vmap() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/gpu/drm/i915/gem/selftests/ |
H A D | i915_gem_dmabuf.c | 17 struct dma_buf *dmabuf; in igt_dmabuf_export() local 25 if (IS_ERR(dmabuf)) { in igt_dmabuf_export() 28 return PTR_ERR(dmabuf); in igt_dmabuf_export() 31 dma_buf_put(dmabuf); in igt_dmabuf_export() 40 struct dma_buf *dmabuf; in igt_dmabuf_import_self() local 48 if (IS_ERR(dmabuf)) { in igt_dmabuf_import_self() 73 dma_buf_put(dmabuf); in igt_dmabuf_import_self() 90 if (IS_ERR(dmabuf)) in igt_dmabuf_import() 159 dma_buf_put(dmabuf); in igt_dmabuf_import() 173 if (IS_ERR(dmabuf)) in igt_dmabuf_import_ownership() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/gpu/drm/i915/gem/selftests/ |
H A D | i915_gem_dmabuf.c | 17 struct dma_buf *dmabuf; in igt_dmabuf_export() local 25 if (IS_ERR(dmabuf)) { in igt_dmabuf_export() 28 return PTR_ERR(dmabuf); in igt_dmabuf_export() 31 dma_buf_put(dmabuf); in igt_dmabuf_export() 40 struct dma_buf *dmabuf; in igt_dmabuf_import_self() local 48 if (IS_ERR(dmabuf)) { in igt_dmabuf_import_self() 73 dma_buf_put(dmabuf); in igt_dmabuf_import_self() 90 if (IS_ERR(dmabuf)) in igt_dmabuf_import() 159 dma_buf_put(dmabuf); in igt_dmabuf_import() 173 if (IS_ERR(dmabuf)) in igt_dmabuf_import_ownership() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/gpu/drm/i915/gem/selftests/ |
H A D | i915_gem_dmabuf.c | 17 struct dma_buf *dmabuf; in igt_dmabuf_export() local 25 if (IS_ERR(dmabuf)) { in igt_dmabuf_export() 28 return PTR_ERR(dmabuf); in igt_dmabuf_export() 31 dma_buf_put(dmabuf); in igt_dmabuf_export() 40 struct dma_buf *dmabuf; in igt_dmabuf_import_self() local 48 if (IS_ERR(dmabuf)) { in igt_dmabuf_import_self() 73 dma_buf_put(dmabuf); in igt_dmabuf_import_self() 90 if (IS_ERR(dmabuf)) in igt_dmabuf_import() 159 dma_buf_put(dmabuf); in igt_dmabuf_import() 173 if (IS_ERR(dmabuf)) in igt_dmabuf_import_ownership() [all …]
|
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/hw/vfio/ |
H A D | display.c | 30 if (dmabuf->pos_x != plane->x_pos || dmabuf->pos_y != plane->y_pos) { in vfio_display_update_cursor() 35 if (dmabuf->hot_x != plane->x_hot || dmabuf->hot_y != plane->y_hot) { in vfio_display_update_cursor() 62 QTAILQ_FOREACH(dmabuf, &dpy->dmabuf.bufs, next) { in vfio_display_get_dmabuf() 65 QTAILQ_REMOVE(&dpy->dmabuf.bufs, dmabuf, next); in vfio_display_get_dmabuf() 66 QTAILQ_INSERT_HEAD(&dpy->dmabuf.bufs, dmabuf, next); in vfio_display_get_dmabuf() 90 QTAILQ_INSERT_HEAD(&dpy->dmabuf.bufs, dmabuf, next); in vfio_display_get_dmabuf() 91 return dmabuf; in vfio_display_get_dmabuf() 96 QTAILQ_REMOVE(&dpy->dmabuf.bufs, dmabuf, next); in vfio_display_free_one_dmabuf() 108 QTAILQ_FOREACH_SAFE(dmabuf, &dpy->dmabuf.bufs, next, tmp) { in vfio_display_free_dmabufs() 113 assert(dmabuf != dpy->dmabuf.primary); in vfio_display_free_dmabufs() [all …]
|
/dports/emulators/qemu42/qemu-4.2.1/hw/vfio/ |
H A D | display.c | 196 if (dmabuf->pos_x != plane->x_pos || dmabuf->pos_y != plane->y_pos) { in vfio_display_update_cursor() 228 QTAILQ_FOREACH(dmabuf, &dpy->dmabuf.bufs, next) { in vfio_display_get_dmabuf() 231 QTAILQ_REMOVE(&dpy->dmabuf.bufs, dmabuf, next); in vfio_display_get_dmabuf() 232 QTAILQ_INSERT_HEAD(&dpy->dmabuf.bufs, dmabuf, next); in vfio_display_get_dmabuf() 257 QTAILQ_INSERT_HEAD(&dpy->dmabuf.bufs, dmabuf, next); in vfio_display_get_dmabuf() 258 return dmabuf; in vfio_display_get_dmabuf() 263 QTAILQ_REMOVE(&dpy->dmabuf.bufs, dmabuf, next); in vfio_display_free_one_dmabuf() 266 g_free(dmabuf); in vfio_display_free_one_dmabuf() 275 QTAILQ_FOREACH_SAFE(dmabuf, &dpy->dmabuf.bufs, next, tmp) { in vfio_display_free_dmabufs() 280 assert(dmabuf != dpy->dmabuf.primary); in vfio_display_free_dmabufs() [all …]
|
/dports/emulators/qemu/qemu-6.2.0/hw/vfio/ |
H A D | display.c | 194 if (dmabuf->pos_x != plane->x_pos || dmabuf->pos_y != plane->y_pos) { 226 QTAILQ_FOREACH(dmabuf, &dpy->dmabuf.bufs, next) { 229 QTAILQ_REMOVE(&dpy->dmabuf.bufs, dmabuf, next); 230 QTAILQ_INSERT_HEAD(&dpy->dmabuf.bufs, dmabuf, next); 255 QTAILQ_INSERT_HEAD(&dpy->dmabuf.bufs, dmabuf, next); 256 return dmabuf; 261 QTAILQ_REMOVE(&dpy->dmabuf.bufs, dmabuf, next); 264 g_free(dmabuf); 273 QTAILQ_FOREACH_SAFE(dmabuf, &dpy->dmabuf.bufs, next, tmp) { 278 assert(dmabuf != dpy->dmabuf.primary); [all …]
|
/dports/emulators/qemu60/qemu-6.0.0/hw/vfio/ |
H A D | display.c | 195 if (dmabuf->pos_x != plane->x_pos || dmabuf->pos_y != plane->y_pos) { in vfio_display_update_cursor() 227 QTAILQ_FOREACH(dmabuf, &dpy->dmabuf.bufs, next) { in vfio_display_get_dmabuf() 230 QTAILQ_REMOVE(&dpy->dmabuf.bufs, dmabuf, next); in vfio_display_get_dmabuf() 231 QTAILQ_INSERT_HEAD(&dpy->dmabuf.bufs, dmabuf, next); in vfio_display_get_dmabuf() 256 QTAILQ_INSERT_HEAD(&dpy->dmabuf.bufs, dmabuf, next); in vfio_display_get_dmabuf() 257 return dmabuf; in vfio_display_get_dmabuf() 262 QTAILQ_REMOVE(&dpy->dmabuf.bufs, dmabuf, next); in vfio_display_free_one_dmabuf() 265 g_free(dmabuf); in vfio_display_free_one_dmabuf() 274 QTAILQ_FOREACH_SAFE(dmabuf, &dpy->dmabuf.bufs, next, tmp) { in vfio_display_free_dmabufs() 279 assert(dmabuf != dpy->dmabuf.primary); in vfio_display_free_dmabufs() [all …]
|
/dports/emulators/qemu-utils/qemu-4.2.1/hw/vfio/ |
H A D | display.c | 196 if (dmabuf->pos_x != plane->x_pos || dmabuf->pos_y != plane->y_pos) { in vfio_display_update_cursor() 228 QTAILQ_FOREACH(dmabuf, &dpy->dmabuf.bufs, next) { in vfio_display_get_dmabuf() 231 QTAILQ_REMOVE(&dpy->dmabuf.bufs, dmabuf, next); in vfio_display_get_dmabuf() 232 QTAILQ_INSERT_HEAD(&dpy->dmabuf.bufs, dmabuf, next); in vfio_display_get_dmabuf() 257 QTAILQ_INSERT_HEAD(&dpy->dmabuf.bufs, dmabuf, next); in vfio_display_get_dmabuf() 258 return dmabuf; in vfio_display_get_dmabuf() 263 QTAILQ_REMOVE(&dpy->dmabuf.bufs, dmabuf, next); in vfio_display_free_one_dmabuf() 266 g_free(dmabuf); in vfio_display_free_one_dmabuf() 275 QTAILQ_FOREACH_SAFE(dmabuf, &dpy->dmabuf.bufs, next, tmp) { in vfio_display_free_dmabufs() 280 assert(dmabuf != dpy->dmabuf.primary); in vfio_display_free_dmabufs() [all …]
|
/dports/emulators/qemu5/qemu-5.2.0/hw/vfio/ |
H A D | display.c | 196 if (dmabuf->pos_x != plane->x_pos || dmabuf->pos_y != plane->y_pos) { in vfio_display_update_cursor() 228 QTAILQ_FOREACH(dmabuf, &dpy->dmabuf.bufs, next) { in vfio_display_get_dmabuf() 231 QTAILQ_REMOVE(&dpy->dmabuf.bufs, dmabuf, next); in vfio_display_get_dmabuf() 232 QTAILQ_INSERT_HEAD(&dpy->dmabuf.bufs, dmabuf, next); in vfio_display_get_dmabuf() 257 QTAILQ_INSERT_HEAD(&dpy->dmabuf.bufs, dmabuf, next); in vfio_display_get_dmabuf() 258 return dmabuf; in vfio_display_get_dmabuf() 263 QTAILQ_REMOVE(&dpy->dmabuf.bufs, dmabuf, next); in vfio_display_free_one_dmabuf() 266 g_free(dmabuf); in vfio_display_free_one_dmabuf() 275 QTAILQ_FOREACH_SAFE(dmabuf, &dpy->dmabuf.bufs, next, tmp) { in vfio_display_free_dmabufs() 280 assert(dmabuf != dpy->dmabuf.primary); in vfio_display_free_dmabufs() [all …]
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/hw/vfio/ |
H A D | display.c | 196 if (dmabuf->pos_x != plane->x_pos || dmabuf->pos_y != plane->y_pos) { in vfio_display_update_cursor() 228 QTAILQ_FOREACH(dmabuf, &dpy->dmabuf.bufs, next) { in vfio_display_get_dmabuf() 231 QTAILQ_REMOVE(&dpy->dmabuf.bufs, dmabuf, next); in vfio_display_get_dmabuf() 232 QTAILQ_INSERT_HEAD(&dpy->dmabuf.bufs, dmabuf, next); in vfio_display_get_dmabuf() 257 QTAILQ_INSERT_HEAD(&dpy->dmabuf.bufs, dmabuf, next); in vfio_display_get_dmabuf() 258 return dmabuf; in vfio_display_get_dmabuf() 263 QTAILQ_REMOVE(&dpy->dmabuf.bufs, dmabuf, next); in vfio_display_free_one_dmabuf() 266 g_free(dmabuf); in vfio_display_free_one_dmabuf() 275 QTAILQ_FOREACH_SAFE(dmabuf, &dpy->dmabuf.bufs, next, tmp) { in vfio_display_free_dmabufs() 280 assert(dmabuf != dpy->dmabuf.primary); in vfio_display_free_dmabufs() [all …]
|
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/hw/vfio/ |
H A D | display.c | 194 if (dmabuf->pos_x != plane->x_pos || dmabuf->pos_y != plane->y_pos) { in vfio_display_update_cursor() 226 QTAILQ_FOREACH(dmabuf, &dpy->dmabuf.bufs, next) { in vfio_display_get_dmabuf() 229 QTAILQ_REMOVE(&dpy->dmabuf.bufs, dmabuf, next); in vfio_display_get_dmabuf() 230 QTAILQ_INSERT_HEAD(&dpy->dmabuf.bufs, dmabuf, next); in vfio_display_get_dmabuf() 255 QTAILQ_INSERT_HEAD(&dpy->dmabuf.bufs, dmabuf, next); in vfio_display_get_dmabuf() 256 return dmabuf; in vfio_display_get_dmabuf() 261 QTAILQ_REMOVE(&dpy->dmabuf.bufs, dmabuf, next); in vfio_display_free_one_dmabuf() 264 g_free(dmabuf); in vfio_display_free_one_dmabuf() 273 QTAILQ_FOREACH_SAFE(dmabuf, &dpy->dmabuf.bufs, next, tmp) { in vfio_display_free_dmabufs() 278 assert(dmabuf != dpy->dmabuf.primary); in vfio_display_free_dmabufs() [all …]
|
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/hw/vfio/ |
H A D | display.c | 196 if (dmabuf->pos_x != plane->x_pos || dmabuf->pos_y != plane->y_pos) { in vfio_display_update_cursor() 228 QTAILQ_FOREACH(dmabuf, &dpy->dmabuf.bufs, next) { in vfio_display_get_dmabuf() 231 QTAILQ_REMOVE(&dpy->dmabuf.bufs, dmabuf, next); in vfio_display_get_dmabuf() 232 QTAILQ_INSERT_HEAD(&dpy->dmabuf.bufs, dmabuf, next); in vfio_display_get_dmabuf() 257 QTAILQ_INSERT_HEAD(&dpy->dmabuf.bufs, dmabuf, next); in vfio_display_get_dmabuf() 258 return dmabuf; in vfio_display_get_dmabuf() 263 QTAILQ_REMOVE(&dpy->dmabuf.bufs, dmabuf, next); in vfio_display_free_one_dmabuf() 266 g_free(dmabuf); in vfio_display_free_one_dmabuf() 275 QTAILQ_FOREACH_SAFE(dmabuf, &dpy->dmabuf.bufs, next, tmp) { in vfio_display_free_dmabufs() 280 assert(dmabuf != dpy->dmabuf.primary); in vfio_display_free_dmabufs() [all …]
|
/dports/emulators/qemu/qemu-6.2.0/hw/display/ |
H A D | virtio-gpu-udmabuf.c | 166 QTAILQ_REMOVE(&g->dmabuf.bufs, dmabuf, next); in virtio_gpu_free_dmabuf() 167 g_free(dmabuf); in virtio_gpu_free_dmabuf() 177 VGPUDMABuf *dmabuf; in virtio_gpu_create_dmabuf() local 183 dmabuf = g_new0(VGPUDMABuf, 1); in virtio_gpu_create_dmabuf() 184 dmabuf->buf.width = fb->width; in virtio_gpu_create_dmabuf() 185 dmabuf->buf.height = fb->height; in virtio_gpu_create_dmabuf() 186 dmabuf->buf.stride = fb->stride; in virtio_gpu_create_dmabuf() 187 dmabuf->buf.x = r->x; in virtio_gpu_create_dmabuf() 188 dmabuf->buf.y = r->y; in virtio_gpu_create_dmabuf() 196 QTAILQ_INSERT_HEAD(&g->dmabuf.bufs, dmabuf, next); in virtio_gpu_create_dmabuf() [all …]
|
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/hw/display/ |
H A D | virtio-gpu-udmabuf.c | 166 QTAILQ_REMOVE(&g->dmabuf.bufs, dmabuf, next); in virtio_gpu_free_dmabuf() 167 g_free(dmabuf); in virtio_gpu_free_dmabuf() 176 VGPUDMABuf *dmabuf; in virtio_gpu_create_dmabuf() local 182 dmabuf = g_new0(VGPUDMABuf, 1); in virtio_gpu_create_dmabuf() 183 dmabuf->buf.width = fb->width; in virtio_gpu_create_dmabuf() 184 dmabuf->buf.height = fb->height; in virtio_gpu_create_dmabuf() 185 dmabuf->buf.stride = fb->stride; in virtio_gpu_create_dmabuf() 187 dmabuf->buf.fd = res->dmabuf_fd; in virtio_gpu_create_dmabuf() 191 QTAILQ_INSERT_HEAD(&g->dmabuf.bufs, dmabuf, next); in virtio_gpu_create_dmabuf() 193 return dmabuf; in virtio_gpu_create_dmabuf() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/hid/ |
H A D | hid-elan.c | 85 dmabuf[1] = 0x05; in elan_get_device_param() 86 dmabuf[2] = 0x03; in elan_get_device_param() 88 dmabuf[4] = 0x01; in elan_get_device_param() 125 if (!dmabuf) in elan_get_device_params() 132 drvdata->max_x = (dmabuf[4] << 8) | dmabuf[3]; in elan_get_device_params() 138 drvdata->max_y = (dmabuf[4] << 8) | dmabuf[3]; in elan_get_device_params() 148 kfree(dmabuf); in elan_get_device_params() 397 if (!dmabuf) in elan_start_multitouch() 403 kfree(dmabuf); in elan_start_multitouch() 424 if (!dmabuf) in elan_mute_led_set_brigtness() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/hid/ |
H A D | hid-elan.c | 85 dmabuf[1] = 0x05; in elan_get_device_param() 86 dmabuf[2] = 0x03; in elan_get_device_param() 88 dmabuf[4] = 0x01; in elan_get_device_param() 125 if (!dmabuf) in elan_get_device_params() 132 drvdata->max_x = (dmabuf[4] << 8) | dmabuf[3]; in elan_get_device_params() 138 drvdata->max_y = (dmabuf[4] << 8) | dmabuf[3]; in elan_get_device_params() 148 kfree(dmabuf); in elan_get_device_params() 397 if (!dmabuf) in elan_start_multitouch() 403 kfree(dmabuf); in elan_start_multitouch() 424 if (!dmabuf) in elan_mute_led_set_brigtness() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/hid/ |
H A D | hid-elan.c | 85 dmabuf[1] = 0x05; in elan_get_device_param() 86 dmabuf[2] = 0x03; in elan_get_device_param() 88 dmabuf[4] = 0x01; in elan_get_device_param() 125 if (!dmabuf) in elan_get_device_params() 132 drvdata->max_x = (dmabuf[4] << 8) | dmabuf[3]; in elan_get_device_params() 138 drvdata->max_y = (dmabuf[4] << 8) | dmabuf[3]; in elan_get_device_params() 148 kfree(dmabuf); in elan_get_device_params() 397 if (!dmabuf) in elan_start_multitouch() 403 kfree(dmabuf); in elan_start_multitouch() 424 if (!dmabuf) in elan_mute_led_set_brigtness() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/samples/vfio-mdev/ |
H A D | mbochs.c | 819 dmabuf->mode.width, dmabuf->mode.height, dmabuf->mode.stride, in mbochs_print_dmabuf() 820 dmabuf->mode.offset, dmabuf->mode.size, dmabuf->pagecount); in mbochs_print_dmabuf() 826 struct mbochs_dmabuf *dmabuf = at->dmabuf->priv; in mbochs_map_dmabuf() local 855 struct mbochs_dmabuf *dmabuf = at->dmabuf->priv; in mbochs_unmap_dmabuf() local 880 kfree(dmabuf); in mbochs_release_dmabuf() 900 if (!dmabuf) in mbochs_dmabuf_alloc() 923 return dmabuf; in mbochs_dmabuf_alloc() 930 kfree(dmabuf); in mbochs_dmabuf_alloc() 1107 if (!dmabuf) in mbochs_query_gfx_plane() 1109 if (!dmabuf) { in mbochs_query_gfx_plane() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/samples/vfio-mdev/ |
H A D | mbochs.c | 819 dmabuf->mode.width, dmabuf->mode.height, dmabuf->mode.stride, in mbochs_print_dmabuf() 820 dmabuf->mode.offset, dmabuf->mode.size, dmabuf->pagecount); in mbochs_print_dmabuf() 826 struct mbochs_dmabuf *dmabuf = at->dmabuf->priv; in mbochs_map_dmabuf() local 855 struct mbochs_dmabuf *dmabuf = at->dmabuf->priv; in mbochs_unmap_dmabuf() local 880 kfree(dmabuf); in mbochs_release_dmabuf() 900 if (!dmabuf) in mbochs_dmabuf_alloc() 923 return dmabuf; in mbochs_dmabuf_alloc() 930 kfree(dmabuf); in mbochs_dmabuf_alloc() 1107 if (!dmabuf) in mbochs_query_gfx_plane() 1109 if (!dmabuf) { in mbochs_query_gfx_plane() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/samples/vfio-mdev/ |
H A D | mbochs.c | 819 dmabuf->mode.width, dmabuf->mode.height, dmabuf->mode.stride, in mbochs_print_dmabuf() 820 dmabuf->mode.offset, dmabuf->mode.size, dmabuf->pagecount); in mbochs_print_dmabuf() 826 struct mbochs_dmabuf *dmabuf = at->dmabuf->priv; in mbochs_map_dmabuf() local 855 struct mbochs_dmabuf *dmabuf = at->dmabuf->priv; in mbochs_unmap_dmabuf() local 880 kfree(dmabuf); in mbochs_release_dmabuf() 900 if (!dmabuf) in mbochs_dmabuf_alloc() 923 return dmabuf; in mbochs_dmabuf_alloc() 930 kfree(dmabuf); in mbochs_dmabuf_alloc() 1107 if (!dmabuf) in mbochs_query_gfx_plane() 1109 if (!dmabuf) { in mbochs_query_gfx_plane() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/weston/src/libweston/backend-drm/ |
H A D | fb.c | 231 .width = dmabuf->attributes.width, in drm_fb_get_from_dmabuf() 232 .height = dmabuf->attributes.height, in drm_fb_get_from_dmabuf() 233 .format = dmabuf->attributes.format, in drm_fb_get_from_dmabuf() 235 .fd = dmabuf->attributes.fd[0], in drm_fb_get_from_dmabuf() 238 .width = dmabuf->attributes.width, in drm_fb_get_from_dmabuf() 239 .height = dmabuf->attributes.height, in drm_fb_get_from_dmabuf() 240 .format = dmabuf->attributes.format, in drm_fb_get_from_dmabuf() 255 if (dmabuf->attributes.flags) in drm_fb_get_from_dmabuf() 307 fb->width = dmabuf->attributes.width; in drm_fb_get_from_dmabuf() 491 struct linux_dmabuf_buffer *dmabuf; in drm_fb_get_from_view() local [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/weston/src/libweston/backend-drm/ |
H A D | fb.c | 231 .width = dmabuf->attributes.width, in drm_fb_get_from_dmabuf() 232 .height = dmabuf->attributes.height, in drm_fb_get_from_dmabuf() 233 .format = dmabuf->attributes.format, in drm_fb_get_from_dmabuf() 235 .fd = dmabuf->attributes.fd[0], in drm_fb_get_from_dmabuf() 238 .width = dmabuf->attributes.width, in drm_fb_get_from_dmabuf() 239 .height = dmabuf->attributes.height, in drm_fb_get_from_dmabuf() 240 .format = dmabuf->attributes.format, in drm_fb_get_from_dmabuf() 255 if (dmabuf->attributes.flags) in drm_fb_get_from_dmabuf() 307 fb->width = dmabuf->attributes.width; in drm_fb_get_from_dmabuf() 491 struct linux_dmabuf_buffer *dmabuf; in drm_fb_get_from_view() local [all …]
|