summaryrefslogtreecommitdiff
path: root/libkms/dumb.c
AgeCommit message (Collapse)Author
2014-09-01libkms: remove explicit define _FILE_OFFSET_BITS 64Emil Velikov
configure.ac has AC_SYS_LARGEFILE which provides the define and/or approapriate magic when required. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.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>
2011-05-14libkms: All current BO_TYPE are 32bppChris Wilson
... so request a 32bpp dumb buffer rather than a 16bpp. Fixes modetest and friends. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-03-04libkms: add dumb supportDave Airlie
this uses the drm cap interface to check if the dumb ioctl is supported.