From: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
To: igt-dev@lists.freedesktop.org, karthik.b.s@intel.com
Subject: [igt-dev] [i-g-t 2/2] tests/kms_atomic_transition: Test cleanup
Date: Thu, 9 Feb 2023 11:53:22 +0530 [thread overview]
Message-ID: <20230209062322.1562797-2-bhanuprakash.modem@intel.com> (raw)
In-Reply-To: <20230209062322.1562797-1-bhanuprakash.modem@intel.com>
As we are using same function for cleanup, no need to do other
stuff, just return after unsetting the output to pipe.
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
---
tests/kms_atomic_transition.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/kms_atomic_transition.c b/tests/kms_atomic_transition.c
index e1b74ac2c..6179232b5 100644
--- a/tests/kms_atomic_transition.c
+++ b/tests/kms_atomic_transition.c
@@ -714,6 +714,9 @@ static unsigned set_combinations(data_t *data, unsigned mask, struct igt_fb *fb)
for (i = 0; i < data->display.n_outputs; i++)
igt_output_set_pipe(&data->display.outputs[i], PIPE_NONE);
+ if (fb == NULL && !mask)
+ return event_mask;
+
for_each_pipe(&data->display, pipe) {
igt_plane_t *plane = igt_pipe_get_plane_type(&data->display.pipes[pipe],
DRM_PLANE_TYPE_PRIMARY);
--
2.39.0
next prev parent reply other threads:[~2023-02-09 6:28 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-09 6:23 [igt-dev] [i-g-t 1/2] tests/kms_atomic_transition: Reduce the execution time on simulation Bhanuprakash Modem
2023-02-09 6:23 ` Bhanuprakash Modem [this message]
2023-02-10 4:49 ` [igt-dev] [i-g-t V2 2/2] tests/kms_atomic_transition: Test cleanup Bhanuprakash Modem
2023-02-10 6:34 ` Karthik B S
2023-02-09 6:35 ` [igt-dev] ✗ GitLab.Pipeline: warning for series starting with [i-g-t,1/2] tests/kms_atomic_transition: Reduce the execution time on simulation Patchwork
2023-02-09 6:56 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2023-02-10 3:20 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2023-02-10 4:47 ` [igt-dev] [i-g-t 1/2] " Karthik B S
2023-02-10 15:24 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/2] tests/kms_atomic_transition: Reduce the execution time on simulation (rev2) Patchwork
2023-02-10 22:58 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
-- strict thread matches above, loose matches on Subject: below --
2022-09-06 14:12 [igt-dev] [i-g-t V2 2/2] tests/kms_atomic_transition: Test Cleanup Bhanuprakash Modem
2022-09-07 7:01 ` [igt-dev] [i-g-t " Bhanuprakash Modem
2022-09-07 8:45 ` Karthik B S
2022-09-05 4:06 [igt-dev] [i-g-t 0/2] tests/kms_atomic_transition: IGT test cleanup Bhanuprakash Modem
2022-09-05 4:06 ` [igt-dev] [i-g-t 2/2] tests/kms_atomic_transition: Test Cleanup Bhanuprakash Modem
2022-09-06 12:57 ` Karthik B S
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230209062322.1562797-2-bhanuprakash.modem@intel.com \
--to=bhanuprakash.modem@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=karthik.b.s@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox