summaryrefslogtreecommitdiff
path: root/libkms/linux.c
AgeCommit message (Collapse)Author
2015-07-13include <sys/types.h> & <sys/mkdev.h> directly for major() and minor()Alan Coopersmith
Linux seems to pick these up via another header, but Solaris needs them explicitly included, or we get undefined symbol errors for major & minor. v2: use headers documented in makedev(3C) man page instead of sysmacros.h Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> v3 [Emil Velikov]: include sys/mkdev.h only when available. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2015-04-28drm: rename libdrm{,_macros}.hEmil Velikov
Provide a more meaningful name, considering what it does. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2015-04-28libkms: annotate private symbolsEmil Velikov
Cc: Jakob Bornecrantz <jakob@vmware.com> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2014-09-28libkms: build the intel backend only when neededEmil Velikov
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
2014-09-01all: include config.h only when available and use its definesEmil Velikov
... rather than explicitly redefining HAVE_STDINT_H and _GNU_SOURCE. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2014-01-12tests/kmstest: support exynosHyungwon Hwang
In this patch, to support exynos for KMS, Exynos KMS driver is newly added. Also, Exynos is added to the list of kmstest supported modules. Signed-off-by: Hyungwon Hwang <human.hwang@samsung.com> Signed-off-by: Rob Clark <robclark@freedesktop.org>
2013-01-02libkms: return -EINVAL on fstat errorMaxime Villard
On error fstat return -1, instead return -EINVAL to caller Signed-off-by: Maxime Villard <rustyBSD@gmx.fr> Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2011-03-04libkms: add dumb supportDave Airlie
this uses the drm cap interface to check if the dumb ioctl is supported.
2011-02-17libkms/radeon: Add backendnobled
Todo: What tiling should be set on scanout buffers? Haven't tested besides compiling it.
2010-02-28libkms/nouveau: Add supportMarcin Koƛcielnicki
2010-01-12libkms: Use sysfs instead of udev to find driverJakob Bornecrantz
Udev code is still there just commented out.
2010-01-08libkms: Pick driver backend via pci id that we get from udevJakob Bornecrantz