summaryrefslogtreecommitdiff
path: root/libkms/api.c
Commit message (Collapse)AuthorAgeFilesLines
* libkms: annotate public functionsLucas De Marchi2018-09-191-8/+8
| | | | | | | | | | | | | | | | | | | | This was done with: nm --dynamic --defined-only build/libkms/libkms.so | \ grep kms_ | \ cut -d' ' -f3 > /tmp/a.txt while read sym; do read f func line _ <<<$(cscope -d -L -1 $sym) if [ ! -z "$f" ]; then sed -i "${line}s/^/drm_public /" $f fi done < /tmp/a.txt The idea here will be to switch the default visibility to hidden so we don't export symbols we shouldn't. Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com> Acked-by: Eric Engestrom <eric.engestrom@intel.com>
* meson,configure: include config.h automaticallyEric Engestrom2018-03-201-4/+0
| | | | | | | | | This will prevent any more missing `#include "config.h"` bug, at the cost of having to recompile some files that didn't need to be when changing build options. Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
* drm: rename libdrm{,_macros}.hEmil Velikov2015-04-281-1/+1
| | | | | | Provide a more meaningful name, considering what it does. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
* libkms: annotate private symbolsEmil Velikov2015-04-281-0/+3
| | | | | Cc: Jakob Bornecrantz <jakob@vmware.com> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
* all: include config.h only when available and use its definesEmil Velikov2014-09-011-0/+2
| | | | | | ... rather than explicitly redefining HAVE_STDINT_H and _GNU_SOURCE. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
* kms: Return a negative error code in kms_bo_create()Laurent Pinchart2013-04-181-1/+1
| | | | | | | | | | The function returns returns 0 on success or a negative value in case of an error, except when given invalid attributes in which case it returns the positive EINVAL value. Replace that with -EINVAL to allow the caller to detect errors with a < 0 check. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jakob Bornecrantz <wallbraker@gmail.com>
* libkms: Rework interface to not duplicate fields from kms and make formats ↵Jakob Bornecrantz2010-01-281-9/+8
| | | | | | | | | explicit List of changes: Fixes the cursor size to 64x64, you still need ti supply width and height Explicitly make the cursor format A8R8G8B8 Explicitly make the scanout format X8R8G8B8
* libkms: Use sysfs instead of udev to find driverJakob Bornecrantz2010-01-121-27/+1
| | | | Udev code is still there just commented out.
* libkms: Add intel backendJakob Bornecrantz2010-01-081-0/+1
|
* libkms: Pick driver backend via pci id that we get from udevJakob Bornecrantz2010-01-081-4/+25
|
* libkms: Make vmwgfx optionalJakob Bornecrantz2010-01-051-0/+5
|
* libkms: Change destroy api a bitJakob Bornecrantz2009-12-041-4/+18
|
* libkms: Add libkmsJakob Bornecrantz2009-12-041-0/+124