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>
This commit is contained in:
Paulo Zanoni 2015-06-24 19:04:26 -03:00
parent ce3b47bac8
commit 7a4ded7b87

View File

@ -2207,6 +2207,8 @@ static const char *feature_str(int feature)
for (t.method = 0; t.method < IGT_DRAW_METHOD_COUNT; t.method++) { \ for (t.method = 0; t.method < IGT_DRAW_METHOD_COUNT; t.method++) { \
if (t.pipes == PIPE_SINGLE && t.screen == SCREEN_SCND) \ if (t.pipes == PIPE_SINGLE && t.screen == SCREEN_SCND) \
continue; \ continue; \
if (t.screen == SCREEN_OFFSCREEN && t.plane != PLANE_PRI) \
continue; \
if (!opt.show_hidden && t.pipes == PIPE_DUAL && \ if (!opt.show_hidden && t.pipes == PIPE_DUAL && \
t.screen == SCREEN_OFFSCREEN) \ t.screen == SCREEN_OFFSCREEN) \
continue; \ continue; \