mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-17 21:58:10 +02:00
This small program allows universal planes to be tested. Currently this isn't very flexible because it allows only the first plane of a given type to be tested on the first CRTC. However it should be simple to extend this with some additional command-line arguments. Signed-off-by: Thierry Reding <treding@nvidia.com> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
36 lines
754 B
Makefile
36 lines
754 B
Makefile
AM_CPPFLAGS = \
|
|
-I$(top_srcdir)/include/drm \
|
|
-I$(top_srcdir)/tests \
|
|
-I$(top_srcdir)
|
|
|
|
AM_CFLAGS = \
|
|
$(WARN_CFLAGS)
|
|
|
|
noinst_LTLIBRARIES = libkms-test.la
|
|
|
|
libkms_test_la_SOURCES = \
|
|
libkms-test.h \
|
|
libkms-test-crtc.c \
|
|
libkms-test-device.c \
|
|
libkms-test-framebuffer.c \
|
|
libkms-test-plane.c \
|
|
libkms-test-screen.c
|
|
|
|
libkms_test_la_LIBADD = \
|
|
$(top_builddir)/libdrm.la
|
|
|
|
if HAVE_INSTALL_TESTS
|
|
bin_PROGRAMS = \
|
|
kms-steal-crtc \
|
|
kms-universal-planes
|
|
else
|
|
noinst_PROGRAMS = \
|
|
kms-steal-crtc \
|
|
kms-universal-planes
|
|
endif
|
|
|
|
kms_steal_crtc_SOURCES = kms-steal-crtc.c
|
|
kms_steal_crtc_LDADD = libkms-test.la ../util/libutil.la $(CAIRO_LIBS)
|
|
|
|
kms_universal_planes_SOURCES = kms-universal-planes.c
|
|
kms_universal_planes_LDADD = libkms-test.la $(CAIRO_LIBS)
|