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: [igt-dev] [V5 i-g-t 2/5] lib/igt_kms: s/is_i915_device/is_intel_device
Date: Thu, 29 Jun 2023 20:33:21 +0530	[thread overview]
Message-ID: <20230629150324.3079878-3-bhanuprakash.modem@intel.com> (raw)
In-Reply-To: <20230629150324.3079878-1-bhanuprakash.modem@intel.com>

As few helpers supports both i915 & xe, update the checks to
support both drivers.

s/is_i915_device/is_intel_device

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

diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index 23cfccff8..de38b8fcc 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -5808,7 +5808,7 @@ bool igt_max_bpc_constraint(igt_display_t *display, enum pipe pipe,
 	for_each_connector_mode(output) {
 		igt_output_override_mode(output, &connector->modes[j__]);
 
-		if (is_i915_device(display->drm_fd) &&
+		if (is_intel_device(display->drm_fd) &&
 		    !igt_check_bigjoiner_support(display))
 			continue;
 
@@ -6010,7 +6010,7 @@ bool intel_pipe_output_combo_valid(igt_display_t *display)
 	int combo = 0;
 	igt_output_t *output;
 
-	if (!is_i915_device(display->drm_fd))
+	if (!is_intel_device(display->drm_fd))
 		return true;
 
 	for_each_connected_output(display, output) {
-- 
2.40.0

  parent reply	other threads:[~2023-06-29 15:09 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-29 15:03 [igt-dev] [V5 i-g-t 0/5] Fix Bigjoiner checks Bhanuprakash Modem
2023-06-29 15:03 ` [igt-dev] [V5 i-g-t 1/5] tests: s/i915_pipe_output_combo_valid/intel_pipe_output_combo_valid/ Bhanuprakash Modem
2023-06-29 15:03 ` Bhanuprakash Modem [this message]
2023-06-29 15:03 ` [igt-dev] [V5 i-g-t 3/5] tests/i915/kms_big_joiner: Fix Bigjoiner checks Bhanuprakash Modem
2023-06-29 15:03 ` [igt-dev] [V5 i-g-t 4/5] tests/kms_flip: " Bhanuprakash Modem
2023-06-29 15:03 ` [igt-dev] [V5 i-g-t 5/5] tests/kms_setmode: " Bhanuprakash Modem
2023-06-29 16:37 ` [igt-dev] ✗ Fi.CI.BAT: failure for Fix Bigjoiner checks (rev8) Patchwork
2023-06-30  4:45   ` Modem, Bhanuprakash
2023-06-30  4:49   ` Modem, Bhanuprakash
2023-06-30  8:32     ` Yedireswarapu, SaiX Nandan
2023-06-30  7:34 ` Patchwork
2023-06-30  7:38 ` Patchwork
2023-06-30  7:42 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2023-06-30 15:15 ` [igt-dev] ✗ Fi.CI.IGT: failure " 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=20230629150324.3079878-3-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