test: Add test for checking if page flip changes tiling
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Wed, 2 Apr 2014 12:31:38 +0000 (15:31 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 14 Apr 2014 07:37:53 +0000 (09:37 +0200)
commitddf8cc107e3b78e4c8200b083ed298c24eec1f03
treee6851c232ac5bcc5cd4a0f587ba1fb8d85c3f3d7
parentcc730c418f44245c49776059b2564f54da4449e6
test: Add test for checking if page flip changes tiling

Test that a page flip from a tiled buffer to a linear one works
correctly. First, it sets the crtc with the linear buffer andr
generate a reference crc for the pipe. Then, the crtc is set with
the tiled one and page flip to the linear one issued. A new crc is
generated and compared to the rerence one.

Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
tests/Makefile.sources
tests/kms_flip_tiling.c [new file with mode: 0644]