mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-21 21:32:56 +00:00
tests/kms_setmode: don't save/restore vt graphics for dry-run
Signed-off-by: Imre Deak <imre.deak@intel.com>
This commit is contained in:
+2
-1
@@ -701,7 +701,8 @@ int main(int argc, char **argv)
|
||||
|
||||
igt_fixture {
|
||||
drm_fd = drm_open_any();
|
||||
do_or_die(igt_set_vt_graphics_mode());
|
||||
if (!dry_run)
|
||||
do_or_die(igt_set_vt_graphics_mode());
|
||||
|
||||
drm_resources = drmModeGetResources(drm_fd);
|
||||
assert(drm_resources);
|
||||
|
||||
Reference in New Issue
Block a user