drm/tests/modetest
Laurent Pinchart d7c0a08bc5 modetest: Allocate dumb buffers with the correct bpp
The modetest application uses libkms to allocate dumb buffers, leading
to overallocation due to the hardcoded 32 bpp value. This can even cause
failures in drivers when the resulting pitch is too large for the
hardware to handle and gets rejected by the driver when creating the
frame buffer.

Fix this by computing the required bpp value and allocating dumb buffers
directly without going through libkms.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2015-01-11 14:37:53 +02:00
..
Android.mk modetest: Allocate dumb buffers with the correct bpp 2015-01-11 14:37:53 +02:00
Makefile.am modetest: Allocate dumb buffers with the correct bpp 2015-01-11 14:37:53 +02:00
Makefile.sources modetest: move sources lists to makefiles.sources 2014-09-28 17:09:34 +01:00
buffers.c modetest: Allocate dumb buffers with the correct bpp 2015-01-11 14:37:53 +02:00
buffers.h modetest: Allocate dumb buffers with the correct bpp 2015-01-11 14:37:53 +02:00
cursor.c modetest: Use threads for cursors instead of SIGALRM 2014-11-22 11:45:02 -05:00
cursor.h modetest: add cursor support 2014-04-22 11:14:12 -04:00
modetest.c modetest: Allocate dumb buffers with the correct bpp 2015-01-11 14:37:53 +02:00