tests/kms_mmio_vs_cs_flip: Add a test case to exercise mmio vs. CS flip races
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 14 Apr 2014 13:14:40 +0000 (16:14 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 22 May 2014 08:26:46 +0000 (11:26 +0300)
commiteb566561e79d00c7ac7b596d428fa26f6de1ec5d
treeead3d3286809982d5b6df43691c6c4ac71e76994
parente2ac7a15f195b67a44c474920cd220baab92f6b1
tests/kms_mmio_vs_cs_flip: Add a test case to exercise mmio vs. CS flip races

kms_mmio_vs_cs_flip has two subtests:
- setplane_vs_cs_flip tests the interaction between
  fullscreen sprites and CS flips
- setcrtc_vs_cs_flip tests the interaction between
  primary plane panning and CS flips

v2: Skip sprite test when there are no sprites
    Reduce busy_bo to 64MB (now works on my gen2)
    Handle pipe vs. port incompatibility
v3: Handle missing auto pipe crc

Reviewed-by Rodrigo Vivi <rodrigo.vivi@gmail.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
tests/Makefile.sources
tests/kms_mmio_vs_cs_flip.c [new file with mode: 0644]