summaryrefslogtreecommitdiff
path: root/tests/kmstest
AgeCommit message (Collapse)AuthorFilesLines
2016-01-27tests/kmstest: inverse the order of LDADD librariesEmil Velikov1-2/+2
The utils library depends on libdrm. Flip the order, orderwise we might error during link stage like below: CC main.o CCLD kmstest /usr/bin/ld: ../../tests/util/.libs/libutil.a(libutil_la-kms.o): undefined reference to symbol 'drmOpen' Reported-by: Tom Stellard <thomas.stellard@amd.com> Tested-by: Tom Stellard <thomas.stellard@amd.com> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2016-01-26kmstest: Use util_open()Stefan Agner2-17/+32
Use the new util_open() helper instead of open-coding the method for finding a usable device. While at it, make the command-line interface more consistent with that of modetest by adding the -D and -M options. Signed-off-by: Stefan Agner <stefan@agner.ch> v2: correctly use util_open() - swap device, module Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2015-08-05drm: add tests/amdgpu (v3)Alex Deucher1-0/+1
This adds some basic unit tests for the new amdgpu driver. v2: use common util_math.h v3: implement suggestions from Emil replace malloc/memset with calloc make header guards all caps use posix_memalign rather than mem_align replace malloc with calloc for pm4 allocations make CU_SuiteInfo static fix Makefile.am fix fd numbering use drmGetVersion/drmFreeVersion rather than open coding it close fd, clean up CU registry on error Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2015-05-28tests/kmstest: support atmel-hlcdcBoris BREZILLON1-0/+1
Signed-off-by: Boris BREZILLON <boris.brezillon@free-electrons.com>
2015-03-20tests: add rockchip to modetest, kmstest, vbltest and proptestDaniel Kurtz1-0/+1
There is a rockchip drm kms driver. Add "rockchip" to the static lists of driver names in the the standard set of tests. Signed-off-by: Daniel Kurtz <djkurtz@chromium.org> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com> [Emil Velikov: Resolve trivial conflicts.] Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2015-03-15Add static qualifier to local functionsJan Vesely1-1/+1
v2: Don't bother marking dead functions static (handler, xf86VDrvMsgVerb, drmSetDebugMsgFunction) Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
2015-03-14tests: String literals are const char *Jan Vesely1-1/+1
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu> Reviewed-by: Emil Velikov <eil.l.velikov@gmail.com>
2015-02-27autotools: add WARN_CFLAGS to all targetsEmil Velikov1-0/+1
... minus test/ttmtest. The latter is not really hooked up with the actual build. This will give us 66 warnings on a distribution build of which - 12 -Wunused-variable - 11 -Wunused-function - 19 -Wmissing-prototypes and a few -Wswitch-enum, -Wtype-limits etc. Adding the CFLAGS gives some exposure to these so that we can fix them. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
2015-02-25tests: add support for imx-drmPhilipp Zabel1-0/+1
Since imx-drm has graduated from staging it seems to be a good idea to recognize it by default in the libdrm tests. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
2014-01-12tests/kmstest: support exynosHyungwon Hwang1-0/+1
In this patch, to support exynos for KMS, Exynos KMS driver is newly added. Also, Exynos is added to the list of kmstest supported modules. Signed-off-by: Hyungwon Hwang <human.hwang@samsung.com> Signed-off-by: Rob Clark <robclark@freedesktop.org>
2013-03-25tests: allow tests programs to be installedBenjamin Gaignard1-0/+5
Install test programs is useful in cross compilation case. By default the behavior is the same and test programs aren't installed in $bindir. If --enable-install-test-programs is set then test programs are installed in $bindir. Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org> Signed-off-by: Rob Clark <robdclark@gmail.com>
2010-02-28tests: Add nouveau to list of supported modules.Marcin Kościelnicki1-0/+1
2010-01-28libkms: Rework interface to not duplicate fields from kms and make formats ↵Jakob Bornecrantz1-1/+1
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-12tests: Update kmstest a bitJakob Bornecrantz1-4/+12
2010-01-08tests: Add a very small libkms testJakob Bornecrantz2-0/+99