Author | SHA1 | Message | Date |
---|---|---|---|
|
53c56585a6
|
hwcontext_drm: make dependency on Linux kernel headers optional
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. |
4 years ago |
|
993d8d9429
|
hwcontext_drm: issue DMA_BUF_IOCTL_SYNC when mapping FDs
This improves performance and helps a little when given FDs without any synchronization fences. |
4 years ago |
|
9cb23cd9fe | lavu: Add DRM hwcontext | 8 years ago |