summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2018-02-15 10:27:58 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2018-03-15 10:52:37 +0000
commit081586fff7b1b5002ce4410ac3544d262809e39f (patch)
tree2b7237705cb175c6c59a267d2977eb25f5ed1955
parent568f109e5b9f19ba02dbd000d87368e049085d02 (diff)
igt/kms_frontbuffer_tracking: Use smallest mode by default
A situation we have in the CI farm is that the only machine capable of performing PSR also happens to have a large panel, too large for PSR to handle. Flip the small-mode option to enable using the smallest mode by default, and selecting the preferred mode as the option. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--tests/kms_frontbuffer_tracking.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/kms_frontbuffer_tracking.c b/tests/kms_frontbuffer_tracking.c
index b455adb5..a8a65ff5 100644
--- a/tests/kms_frontbuffer_tracking.c
+++ b/tests/kms_frontbuffer_tracking.c
@@ -261,7 +261,7 @@ struct {
.fbc_check_compression = true,
.fbc_check_last_action = true,
.no_edp = false,
- .small_modes = false,
+ .small_modes = true,
.show_hidden= false,
.step = 0,
.only_pipes = PIPE_COUNT,
@@ -3175,7 +3175,7 @@ static int opt_handler(int option, int option_index, void *data)
opt.no_edp = true;
break;
case 'm':
- opt.small_modes = true;
+ opt.small_modes = false;
break;
case 'i':
opt.show_hidden = true;
@@ -3370,7 +3370,7 @@ int main(int argc, char *argv[])
{ "no-fbc-compression-check", 0, 0, 'o'},
{ "no-fbc-action-check", 0, 0, 'a'},
{ "no-edp", 0, 0, 'e'},
- { "use-small-modes", 0, 0, 'm'},
+ { "use-preferred-modes", 0, 0, 'm'},
{ "show-hidden", 0, 0, 'i'},
{ "step", 0, 0, 't'},
{ "shared-fb-x", 1, 0, 'x'},