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, zbigniew.kempczynski@intel.com,
	mchehab@kernel.org, jani.nikula@intel.com
Subject: [igt-dev] [i-g-t 4/5] tests/kms_force_connector_basic: Add XE support
Date: Mon, 20 Mar 2023 15:30:16 +0530	[thread overview]
Message-ID: <20230320100017.2913328-5-bhanuprakash.modem@intel.com> (raw)
In-Reply-To: <20230320100017.2913328-1-bhanuprakash.modem@intel.com>

Add XE driver support for kms tests.

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

diff --git a/tests/kms_force_connector_basic.c b/tests/kms_force_connector_basic.c
index 4ff1efe3b..6a13fe4ed 100644
--- a/tests/kms_force_connector_basic.c
+++ b/tests/kms_force_connector_basic.c
@@ -53,7 +53,9 @@ static void reset_connectors(void)
 		drmModeFreeConnector(connector);
 	}
 
-	igt_set_module_param_int(drm_fd, "load_detect_test", 0);
+	/* FIXME: load_detect_test is not found in XE. */
+	if (is_i915_device(drm_fd))
+		igt_set_module_param_int(drm_fd, "load_detect_test", 0);
 
 	close(drm_fd);
 }
-- 
2.40.0



  parent reply	other threads:[~2023-03-20 10:04 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-20 10:00 [igt-dev] [i-g-t 0/5] Enable ADDFB tests for XE Bhanuprakash Modem
2023-03-20 10:00 ` [igt-dev] [i-g-t 1/5] lib/xe/xe_ioctl: Add a helper to map the buffer Bhanuprakash Modem
2023-03-20 14:28   ` Das, Nirmoy
2023-03-23 18:57   ` Zbigniew Kempczyński
2023-03-20 10:00 ` [igt-dev] [i-g-t 2/5] lib/igt_fb: Add support for allocating buffers for XE Bhanuprakash Modem
2023-03-23 19:01   ` Zbigniew Kempczyński
2023-03-20 10:00 ` [igt-dev] [i-g-t 3/5] tests/kms_addfb_basic: Add XE support Bhanuprakash Modem
2023-03-22  8:49   ` Kamil Konieczny
2023-03-23 19:04   ` Zbigniew Kempczyński
2023-03-31 13:51     ` Modem, Bhanuprakash
2023-03-20 10:00 ` Bhanuprakash Modem [this message]
2023-03-23 19:06   ` [igt-dev] [i-g-t 4/5] tests/kms_force_connector_basic: " Zbigniew Kempczyński
2023-03-31 13:53     ` Modem, Bhanuprakash
2023-03-20 10:00 ` [igt-dev] [i-g-t 5/5] xe-fast-feedback: Add basic kms tests to XE BAT Bhanuprakash Modem
2023-03-20 13:43 ` [igt-dev] ✗ Fi.CI.BAT: failure for Enable ADDFB tests for XE Patchwork
2023-03-20 14:40 ` [igt-dev] ✓ Fi.CI.BAT: success for Enable ADDFB tests for XE (rev2) Patchwork
2023-03-20 17:29 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork

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=20230320100017.2913328-5-bhanuprakash.modem@intel.com \
    --to=bhanuprakash.modem@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=jani.nikula@intel.com \
    --cc=mchehab@kernel.org \
    --cc=zbigniew.kempczynski@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