Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Nidhi Gupta <nidhi1.gupta@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Nidhi Gupta <nidhi1.gupta@intel.com>
Subject: [igt-dev] [PATCH 2/2] tests/i915/kms_draw_crc: Test Cleanup
Date: Fri, 10 Jun 2022 10:01:31 +0530	[thread overview]
Message-ID: <20220610043131.3452-3-nidhi1.gupta@intel.com> (raw)
In-Reply-To: <20220610043131.3452-1-nidhi1.gupta@intel.com>

Sanitize the system state before starting the subtest.

Signed-off-by: Nidhi Gupta <nidhi1.gupta@intel.com>
---
 tests/i915/kms_draw_crc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/i915/kms_draw_crc.c b/tests/i915/kms_draw_crc.c
index 3e68479e..1c87e523 100644
--- a/tests/i915/kms_draw_crc.c
+++ b/tests/i915/kms_draw_crc.c
@@ -265,6 +265,7 @@ static void setup_environment(void)
 	drm_fd = drm_open_driver_master(DRIVER_INTEL);
 	igt_require(drm_fd >= 0);
 
+	igt_display_reset(display);
 	drm_res = drmModeGetResources(drm_fd);
 	igt_require(drm_res);
 	igt_assert(drm_res->count_connectors <= MAX_CONNECTORS);
-- 
2.26.2

  parent reply	other threads:[~2022-06-10  4:28 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-10  4:31 [igt-dev] [PATCH 0/2] tests/kms: IGT test cleanup Nidhi Gupta
2022-06-10  4:31 ` [igt-dev] [PATCH 1/2] tests/i915/kms_draw_crc.c: Convert test to dynamic Nidhi Gupta
2022-06-10  4:31 ` Nidhi Gupta [this message]
2022-06-10  4:40 ` [igt-dev] ✗ Fi.CI.BUILD: failure for tests/kms: IGT test cleanup Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2022-08-02  6:53 [igt-dev] [PATCH 0/2] tests/i915/kms_draw_crc: Test Cleanup Nidhi Gupta
2022-08-02  6:53 ` [igt-dev] [PATCH 2/2] " Nidhi Gupta
2022-08-02  9:56   ` Modem, Bhanuprakash
2022-08-03  4:15 [igt-dev] [PATCH 0/2] " Nidhi Gupta
2022-08-03  4:15 ` [igt-dev] [PATCH 2/2] " Nidhi Gupta
2022-08-03  4:20 [igt-dev] [PATCH 0/2] " Nidhi Gupta
2022-08-03  4:20 ` [igt-dev] [PATCH 2/2] " Nidhi Gupta
2022-08-03  7:40   ` Modem, Bhanuprakash
2022-08-04  3:40 [igt-dev] [PATCH 0/2] " Nidhi Gupta
2022-08-04  3:40 ` [igt-dev] [PATCH 2/2] " Nidhi Gupta
2022-08-08 11:16   ` Gupta, Nidhi1
2022-08-08 14:02     ` Modem, Bhanuprakash
2022-08-09  8:00   ` Modem, Bhanuprakash
2022-08-09  9:08   ` Modem, Bhanuprakash
2022-08-09 12:53   ` Juha-Pekka Heikkila
2022-08-10 10:11   ` Nidhi Gupta
2022-08-10 13:27     ` Nidhi Gupta
2022-08-12 10:37       ` Modem, Bhanuprakash
2022-08-22  9:20 [igt-dev] [PATCH 0/2] " Nidhi Gupta
2022-08-22  9:20 ` [igt-dev] [PATCH 2/2] " Nidhi Gupta
2022-08-26  5:44 [igt-dev] [PATCH 0/2] " Nidhi Gupta
2022-08-26  5:44 ` [igt-dev] [PATCH 2/2] " Nidhi Gupta
2022-09-05 11:24 [igt-dev] [PATCH 0/2] " Nidhi Gupta
2022-09-05 11:24 ` [igt-dev] [PATCH 2/2] " Nidhi Gupta

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=20220610043131.3452-3-nidhi1.gupta@intel.com \
    --to=nidhi1.gupta@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    /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