summaryrefslogtreecommitdiff
path: root/libavutil/hwcontext_drm.c
Commit message (Collapse)AuthorAge
* hwcontext_drm: make dependency on Linux kernel headers optionalLynne2020-12-30
| | | | | | | | | | This was introduced in version 4.6. And may not exist all without an optional package. So to prevent a hard dependency on needing the Linux kernel headers to compile, make this optional. Also ignore the status of the ioctl, since it may fail on older kernels which don't support it. It's okay to ignore as its not fatal and any serious errors will be caught later by the mmap call.
* hwcontext_drm: issue DMA_BUF_IOCTL_SYNC when mapping FDsLynne2020-11-25
| | | | | This improves performance and helps a little when given FDs without any synchronization fences.
* lavu: Add DRM hwcontextMark Thompson2017-09-13