tests: kms: Implement CRTC stealing test
authorThierry Reding <treding@nvidia.com>
Wed, 9 Dec 2015 17:37:43 +0000 (18:37 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 18 Dec 2015 17:44:08 +0000 (17:44 +0000)
commite0ec59efb12eb4e5a548f29df620c3c5e1cd6e4f
tree847cc67dacf086e25d9432925b62daedb7aaeb22
parentc13c504ed2778fe5410d4883a7025abd75d0a6a1
tests: kms: Implement CRTC stealing test

This test program sets a mode and framebuffer on a connector and cycles
through all CRTCs, moving the connector to each of them in turn. This is
useful to verify that CRTC stealing is properly handled in the DRM core
and drivers.

Signed-off-by: Thierry Reding <treding@nvidia.com>
tests/kms/Makefile.am
tests/kms/kms-steal-crtc.c [new file with mode: 0644]