#
7ad9adf8 |
| 20-May-2024 |
riastradh <riastradh@NetBSD.org> |
drm: Fix missing bounds checks in dma buf mmap.
|
#
b6203ff2 |
| 21-Feb-2023 |
riastradh <riastradh@NetBSD.org> |
drm: Teach dmabuf to handle lseek.
Needed by libdrm_amdgpu.
Based on patch from Jeff Frasca -- thanks!
XXX pullup-10
|
#
f4ab16cd |
| 09-Apr-2022 |
riastradh <riastradh@NetBSD.org> |
drm: Convert membar_enter/exit stragglers to membar_acquire/release.
|
#
f7a114ac |
| 17-Feb-2022 |
riastradh <riastradh@NetBSD.org> |
drm: Fix membars around dma_buf_put reference count release.
|
#
fb426d3c |
| 19-Dec-2021 |
riastradh <riastradh@NetBSD.org> |
amdgpu: amdgpu_dma_buf.c
|
#
aceadda5 |
| 19-Dec-2021 |
riastradh <riastradh@NetBSD.org> |
drm: Omit half-baked dma_buf_file indirection.
|
#
36251ed1 |
| 19-Dec-2021 |
riastradh <riastradh@NetBSD.org> |
drm: Note NetBSD->Linux errno conversion.
|
#
9ff13907 |
| 19-Dec-2021 |
riastradh <riastradh@NetBSD.org> |
drm: Another pass over i915 and some supporting logic.
This makes a shim around sg_table, which essentially represents two things:
1. an array of pages (roughly corresponding to bus_dma_segment_t[]
drm: Another pass over i915 and some supporting logic.
This makes a shim around sg_table, which essentially represents two things:
1. an array of pages (roughly corresponding to bus_dma_segment_t[]) 2. an array of DMA addresses stored in a bus_dmamap_t
Both parts are optional; different parts of i915 use sg_tables to pass around one or both of the two parts. This helps to reduce the ifdefs by quite a bit, although it's not always clear which part of an sg_table any particular interface is actually using which is why I was reluctant to do this before.
show more ...
|
#
f3058635 |
| 19-Dec-2021 |
riastradh <riastradh@NetBSD.org> |
Rename reservation_object -> dma_resv.
|
#
a1f7e1a9 |
| 19-Dec-2021 |
riastradh <riastradh@NetBSD.org> |
Update dma-buf API enough to compile drm_prime.c.
|
#
12dff477 |
| 19-Dec-2021 |
riastradh <riastradh@NetBSD.org> |
No need for <linux/fence.h> in linux_dma_buf.c.
|
#
e40e833e |
| 17-Oct-2019 |
maya <maya@NetBSD.org> |
correct error handling.
from Ilja Van Sprundel, thanks.
|
#
fc13bb21 |
| 04-Jan-2019 |
tnn <tnn@NetBSD.org> |
dma_buf_fd(): fd_putfile() does not belong here
PR kern/53834 ok riastradh@
|
#
46d82501 |
| 27-Aug-2018 |
riastradh <riastradh@NetBSD.org> |
Implement poll for reservations and dma bufs.
|
#
618d1137 |
| 27-Aug-2018 |
riastradh <riastradh@NetBSD.org> |
Simplify. Destroy the mutex too.
|
#
48d56489 |
| 27-Aug-2018 |
riastradh <riastradh@NetBSD.org> |
Return the fd we just allocated.
|
#
f2331d95 |
| 27-Aug-2018 |
riastradh <riastradh@NetBSD.org> |
Draft support for drm prime.
|