[igt-dev] [PATCH i-g-t 2/2] tests/i915/kms_big_fb: Don't fill small fb during test setup
Juha-Pekka Heikkila
juhapekka.heikkila at gmail.com
Thu Apr 7 18:37:33 UTC 2022
Change small fb not to be filled with green color, this will never
show anywhere and just take time while setting up test.
Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila at gmail.com>
---
tests/i915/kms_big_fb.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/tests/i915/kms_big_fb.c b/tests/i915/kms_big_fb.c
index b7bcc3401..7a8504017 100644
--- a/tests/i915/kms_big_fb.c
+++ b/tests/i915/kms_big_fb.c
@@ -420,9 +420,8 @@ static bool test_pipe(data_t *data)
if (igt_rotation_90_or_270(data->rotation))
igt_swap(width, height);
- igt_create_color_fb(data->drm_fd, width, height,
- data->format, data->modifier,
- 0, 1, 0, &data->small_fb);
+ igt_create_fb(data->drm_fd, width, height,
+ data->format, data->modifier, &data->small_fb);
igt_output_set_pipe(data->output, data->pipe);
--
2.28.0
More information about the igt-dev
mailing list