kmstest: don't pollute stderr for impossible output configs

Otherwise on machines where the only output available is restricted to
one pipe we'll have tons of "warn" results for no gain in the piglit
runner. All tests that use the kmstest helpers already check the
return value and do something sensible (like skip the tests if there's
really no config available).

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter 2013-10-20 19:24:08 +02:00
parent 45cd89ab3d
commit 3d2d73ed45

View File

@ -2156,9 +2156,6 @@ int kmstest_get_connector_config(int drm_fd, uint32_t connector_id,
}
}
fprintf(stderr,
"no crtc with a compatible encoder (crtc_idx_mask %08lx)\n",
crtc_idx_mask);
goto err3;
found: