drm/tests
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
..
exynos exynos: do not build fimg2d_test when building without libkms support. 2014-07-25 11:38:55 +02:00
kmstest tests/kmstest: support exynos 2014-01-12 08:23:38 -05:00
modeprint modeprint: pretty print connector names 2014-01-24 17:51:05 -05:00
modetest modetest: Allocate dumb buffers with the correct bpp 2015-01-11 14:37:53 +02:00
proptest update signed/object prop types 2014-11-24 19:56:50 -05:00
radeon radeon: Add missing header includes. 2014-07-16 12:16:08 +09:00
tegra tegra: Add simple test for drm_tegra_open() 2014-11-27 17:20:27 +01:00
ttmtest Purge macro NEED_REPLIES 2010-07-01 13:12:55 -06:00
vbltest libdrm: Add NVIDIA Tegra support 2014-11-27 17:05:35 +01:00
Makefile.am tegra: Add simple test for drm_tegra_open() 2014-11-27 17:20:27 +01:00
auth.c Fix a race in the auth test where client prevents server from being master. 2007-10-17 13:20:46 -07:00
dristat.c more compile fix 2014-09-28 14:52:51 -04:00
drmstat.c all: include config.h only when available and use its defines 2014-09-01 16:06:01 +01:00
drmtest.c drmtest: make check should fail so hard on unable to open device 2011-09-26 16:03:20 +01:00
drmtest.h Use libudev in test case to only run gem tests for intel devices. 2009-04-06 17:13:01 -04:00
gem_basic.c Use libudev in test case to only run gem tests for intel devices. 2009-04-06 17:13:01 -04:00
gem_flink.c tests/gem_flink: Check for MASTER before proceeding 2011-12-18 14:03:18 +00:00
gem_mmap.c tests: Update for ENOENT returns from unknown handles 2010-12-10 12:10:13 +00:00
gem_readwrite.c tests: Update for ENOENT returns from unknown handles 2010-12-10 12:10:13 +00:00
getclient.c Add some trivial regression tests, one of which fails. 2007-07-19 04:59:59 -07:00
getstats.c Add simple regression test for getstats (does it not crash the kernel?). 2007-08-15 11:06:49 -07:00
getversion.c tests: Use drmFreeVersion() instead of drmFree() 2014-04-17 16:21:47 +02:00
lock.c Bug #12838: Fix lock test client vs. server master race and misplaced closes. 2007-10-17 13:26:10 -07:00
name_from_fd.c Add drmGetDeviceNameFromFd function 2009-11-23 20:51:34 -05:00
openclose.c Add some trivial regression tests, one of which fails. 2007-07-19 04:59:59 -07:00
setversion.c tests/*version: add missing string.h header 2013-08-30 11:36:20 -04:00
updatedraw.c Skip tests that require root 2009-04-06 17:22:10 -04:00