summaryrefslogtreecommitdiff
path: root/vmwgfx_prime.c
AgeCommit message (Collapse)AuthorFilesLines
2018-08-31vmwgfx: Fix compilation on 4.19Thomas Hellstrom1-1/+8
The ida API and the dmabuf API has changed. The ida fix might be short-lived since the ida_simple API might go soon too. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Sinclair Yeh <syeh@vmware.com> Reviewed-by: Deepak Rawat <drawat@vmware.com>
2018-07-05vmwgfx: Fix build on RHEL 7.5Thomas Hellstrom1-1/+2
RHEL 7.5 has backported drm from kernel 4.14 and the new dma-buf methods causes a compilation error. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Sinclair Yeh <syeh@vmware.com> Reviewed-by: Deepak Rawat <drawat@vmware.com>
2017-06-20vmwgfx: Fix build error for kernel version 4.11.xDeepak Rawat1-1/+1
Due to comparing LINUX_VERSION_CODE is greater against 4.11.0 was getting build error for kernel version 4.11.x. The fields have been renamed in kernel 4.12 Signed-off-by: Deepak Rawat <drawat@vmware.com> Reviewed-by: Sinclair Yeh <syeh@vmware.com>
2017-05-30vmwgfx: Update dma_buf_ops handlersSinclair Yeh1-0/+8
Extracted out of commit f9b67f0014cb ("dma-buf: Rename dma-ops to prevent conflict with kunmap_atomic macro") The fields have been renamed in Kernel 4.12 Signed-off-by: Sinclair Yeh <syeh@vmware.com> Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
2016-12-20vmwgfx: Build on vanilla linux 2.6.35Thomas Hellstrom1-1/+1
Update the compat headers to build on vanilla linux 2.6.35. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2013-11-27drm,vmwgfx hook up the prime ioctlsThomas Hellstrom1-0/+146
Import the upstream drm code for prime and hook up the vmwgfx-specific prime code. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>