drm/libkms
Laurent Pinchart aa4afdf0b3 kms: Return a negative error code in kms_bo_create()
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>
2013-04-18 10:07:01 -04:00
..
Makefile.am libkms: link against libdrm 2012-09-08 00:50:22 +02:00
api.c kms: Return a negative error code in kms_bo_create() 2013-04-18 10:07:01 -04:00
dumb.c libkms: All current BO_TYPE are 32bpp 2011-05-14 11:17:23 +01:00
intel.c libkms: fix memory leak in error path 2013-01-02 10:55:50 -05:00
internal.h libkms: add dumb support 2011-03-04 15:25:51 +10:00
libkms.h kms: Make libkms.h usable in C++ 2013-04-18 10:05:53 -04:00
libkms.pc.in libkms: Use a standard version number 2010-02-18 16:29:36 +01:00
linux.c libkms: return -EINVAL on fstat error 2013-01-02 10:57:07 -05:00
nouveau.c libkms: fix memory leak in error path 2013-01-02 10:55:50 -05:00
radeon.c libkms/radeon: Add backend 2011-02-17 09:26:30 +01:00
vmwgfx.c libkms: Rework interface to not duplicate fields from kms and make formats explicit 2010-01-28 17:32:54 +01:00