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] [i-g-t 2/5] lib/igt_kms: s/is_i915_device/is_intel_device
Date: Mon, 13 Nov 2023 13:49:27 +0530	[thread overview]
Message-ID: <20231113081930.1189688-3-bhanuprakash.modem@intel.com> (raw)
In-Reply-To: <20231113081930.1189688-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 55496218f..89510ff22 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -6024,7 +6024,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;
 
@@ -6227,7 +6227,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-11-13  8:29 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-13  8:19 [igt-dev] [i-g-t 0/5] Fix Bigjoiner checks Bhanuprakash Modem
2023-11-13  8:19 ` [igt-dev] [i-g-t 1/5] tests: s/i915_pipe_output_combo_valid/intel_pipe_output_combo_valid/ Bhanuprakash Modem
2023-11-13  8:19 ` Bhanuprakash Modem [this message]
2023-11-13  8:45   ` [igt-dev] [i-g-t, 2/5] lib/igt_kms: s/is_i915_device/is_intel_device Joshi, Kunal1
2023-11-13  8:19 ` [igt-dev] [i-g-t 3/5] tests/i915/kms_big_joiner: Fix Bigjoiner checks Bhanuprakash Modem
2023-11-13  8:19 ` [igt-dev] [i-g-t 4/5] tests/kms_flip: " Bhanuprakash Modem
2023-11-15  8:34   ` Ville Syrjälä
2023-11-15  8:47     ` Saarinen, Jani
2023-11-15  8:55       ` Saarinen, Jani
2023-11-15  9:01         ` Saarinen, Jani
2023-11-15  9:20     ` Modem, Bhanuprakash
2023-11-13  8:19 ` [igt-dev] [i-g-t 5/5] tests/kms_setmode: " Bhanuprakash Modem
2023-11-13  8:50   ` [igt-dev] [i-g-t,5/5] " Joshi, Kunal1
2023-11-13 11:50 ` [igt-dev] ✗ CI.xeBAT: failure for Fix Bigjoiner checks (rev10) Patchwork
2023-11-13 11:51 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2023-11-13 15:49 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2023-05-17  5:24 [igt-dev] [i-g-t 0/5] Fix Bigjoiner checks Bhanuprakash Modem
2023-05-17  5:24 ` [igt-dev] [i-g-t 2/5] lib/igt_kms: s/is_i915_device/is_intel_device Bhanuprakash Modem

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=20231113081930.1189688-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