Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [i-g-t 4/4] tests/intel/kms_dirtyfb: Fix few fixtures
Date: Wed, 27 Dec 2023 19:00:20 +0530	[thread overview]
Message-ID: <20231227133020.685916-4-bhanuprakash.modem@intel.com> (raw)
In-Reply-To: <20231227133020.685916-1-bhanuprakash.modem@intel.com>

As this test is expected that the driver must be atomic and
atleast one display panel connected, fix the igt_fixtures
accordingly.

Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
---
 tests/intel/kms_dirtyfb.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/intel/kms_dirtyfb.c b/tests/intel/kms_dirtyfb.c
index 42fceb91c..7bf49cb15 100644
--- a/tests/intel/kms_dirtyfb.c
+++ b/tests/intel/kms_dirtyfb.c
@@ -304,11 +304,11 @@ igt_main
 		kmstest_set_vt_graphics_mode();
 
 		igt_display_require(&data.display, data.drm_fd);
+		igt_display_require_output(&data.display);
+		igt_require(data.display.is_atomic);
 
 		data.bops = buf_ops_create(data.drm_fd);
 		data.rendercopy = igt_get_render_copyfunc(intel_get_drm_devid(data.drm_fd));
-
-		igt_display_reset(&data.display);
 	}
 
 	for (data.feature = FEATURE_DEFAULT; data.feature > 0;
-- 
2.40.0

  parent reply	other threads:[~2023-12-27 13:35 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-27 13:30 [i-g-t 1/4] lib/i915/intel_drrs: Fix igt helper to get drrs status Bhanuprakash Modem
2023-12-27 13:30 ` [i-g-t 2/4] tests/intel/kms_frontbuffer_tracking: Drop unused macros Bhanuprakash Modem
2024-01-05  6:02   ` [i-g-t,2/4] " Joshi, Kunal1
2023-12-27 13:30 ` [i-g-t 3/4] tests/intel/kms_frontbuffer_tracking: Re-use devid & display_ver Bhanuprakash Modem
2024-01-05  6:36   ` [i-g-t, " Joshi, Kunal1
2023-12-27 13:30 ` Bhanuprakash Modem [this message]
2024-01-05  6:40   ` [i-g-t,4/4] tests/intel/kms_dirtyfb: Fix few fixtures Joshi, Kunal1
2023-12-28  7:50 ` [i-g-t 1/7] lib/i915/intel_drrs: Fix igt helper to get drrs status Bhanuprakash Modem
2023-12-28  7:51   ` [i-g-t 1/4] " Bhanuprakash Modem
2024-01-05  6:00     ` [i-g-t,1/4] " Joshi, Kunal1
2024-01-05  5:49   ` [i-g-t 1/7] " Joshi, Kunal1

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=20231227133020.685916-4-bhanuprakash.modem@intel.com \
    --to=bhanuprakash.modem@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