[PATCH igt 2/2] igt/kms_frontbuffer_tracking: Use smallest mode by default

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxx>
---
 tests/kms_frontbuffer_tracking.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/kms_frontbuffer_tracking.c b/tests/kms_frontbuffer_tracking.c
index 6c4071de..e445e54f 100644
--- a/tests/kms_frontbuffer_tracking.c
+++ b/tests/kms_frontbuffer_tracking.c
@@ -267,7 +267,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,
@@ -3398,7 +3398,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;
@@ -3593,7 +3593,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'},
-- 
2.16.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux