summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPaulo Zanoni <paulo.r.zanoni@intel.com>2015-06-24 19:04:26 -0300
committerPaulo Zanoni <paulo.r.zanoni@intel.com>2015-06-25 14:53:07 -0300
commit7a4ded7b87956b9bcfb0d33ed2368633ec2dc239 (patch)
tree118b2071b7831167a29794239b686b97c17fe60c /tests
parentce3b47bac89d46633bd8b55842590080ab9d246d (diff)
kms_frontbuffer_tracking: remove offscreen-{cur,spr} subtests
It doesn't make sense to write on the sprite/cursor plane of the "offscreen" screen. The pick_target() function was just returning the offscreen_fb pointer for those cases, so we were not really testing any cursor or sprite code. So the tests were just the same as offscreen-pri. That kills 24 subtests for each feature (72 in total). Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/kms_frontbuffer_tracking.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/kms_frontbuffer_tracking.c b/tests/kms_frontbuffer_tracking.c
index d7f943b5..836367dd 100644
--- a/tests/kms_frontbuffer_tracking.c
+++ b/tests/kms_frontbuffer_tracking.c
@@ -2207,6 +2207,8 @@ static const char *feature_str(int feature)
for (t.method = 0; t.method < IGT_DRAW_METHOD_COUNT; t.method++) { \
if (t.pipes == PIPE_SINGLE && t.screen == SCREEN_SCND) \
continue; \
+ if (t.screen == SCREEN_OFFSCREEN && t.plane != PLANE_PRI) \
+ continue; \
if (!opt.show_hidden && t.pipes == PIPE_DUAL && \
t.screen == SCREEN_OFFSCREEN) \
continue; \