summaryrefslogtreecommitdiff
path: root/libkms
AgeCommit message (Collapse)Author
2013-06-27kms: Allow compiling libkms without Intel supportLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
2013-04-18kms: Return a negative error code in kms_bo_create()Laurent Pinchart
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-18kms: Make libkms.h usable in C++Laurent Pinchart
Wrap the header in extern "C" { ... };. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jakob Bornecrantz <wallbraker@gmail.com>
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>
2013-01-02libkms: fix memory leak in error pathMaxime Villard
Signed-off-by: Maxime Villard <rustyBSD@gmx.fr> Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2012-09-08libkms: link against libdrmMarcin Slusarz
Signed-off-by: Marcin Slusarz <marcin.slusarz@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.
2011-02-17libkms/radeon: Add backendnobled
Todo: What tiling should be set on scanout buffers? Haven't tested besides compiling it.
2010-06-01libkms: Fix include pathsDaniel Stone
Otherwise xf86drm.h isn't found, or the wrong one.
2010-02-28libkms/nouveau: Add supportMarcin Kościelnicki
2010-02-28libkms/intel: Throw out unused intel_bo fields.Marcin Kościelnicki
Acked-by: Jakob Bornecrantz <jakob@vmware.com>
2010-02-18libkms: Use a standard version numberJakob Bornecrantz
2010-02-18libkms: Add missing include file to libkms sourceJakob Bornecrantz
2010-01-28libkms: Rework interface to not duplicate fields from kms and make formats ↵Jakob Bornecrantz
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
2010-01-23libkms: Fix return value in vmwgfx_bo_createJakob Bornecrantz
2010-01-15libkms: Fix multiple map unmap in vmwgfx and add comment in intelJakob Bornecrantz
2010-01-12libkms: Use sysfs instead of udev to find driverJakob Bornecrantz
Udev code is still there just commented out.
2010-01-08libkms/intel: Don't fail to create bo if we fail to tileJakob Bornecrantz
2010-01-08libkms: Add intel backendJakob Bornecrantz
2010-01-08libkms: Pick driver backend via pci id that we get from udevJakob Bornecrantz
2010-01-05libkms: Make vmwgfx optionalJakob Bornecrantz
2010-01-05libkms: Remove duped vmwgfx_drm.h headerJakob Bornecrantz
2009-12-14vmwgfx: Fetch the latest headerJakob Bornecrantz
2009-12-04libkms: Change destroy api a bitJakob Bornecrantz
2009-12-04libkms: Add libkmsJakob Bornecrantz