From: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
To: igt-dev@lists.freedesktop.org, karthik.b.s@intel.com,
swati2.sharma@intel.com
Subject: [igt-dev] [i-g-t V6 2/5] lib/igt_kms: s/is_i915_device/is_intel_device
Date: Fri, 25 Aug 2023 13:55:38 +0530 [thread overview]
Message-ID: <20230825082541.905799-3-bhanuprakash.modem@intel.com> (raw)
In-Reply-To: <20230825082541.905799-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 2b83d56ac..f06e6c0a4 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -5818,7 +5818,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;
@@ -6020,7 +6020,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
next prev parent reply other threads:[~2023-08-25 8:33 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-25 8:25 [igt-dev] [i-g-t V6 0/5] Fix Bigjoiner checks Bhanuprakash Modem
2023-08-25 8:25 ` [igt-dev] [i-g-t V6 1/5] tests: s/i915_pipe_output_combo_valid/intel_pipe_output_combo_valid/ Bhanuprakash Modem
2023-08-25 8:25 ` Bhanuprakash Modem [this message]
2023-08-25 8:25 ` [igt-dev] [i-g-t V6 3/5] tests/i915/kms_big_joiner: Fix Bigjoiner checks Bhanuprakash Modem
2023-11-13 6:03 ` [igt-dev] [i-g-t, V6, " Joshi, Kunal1
2023-08-25 8:25 ` [igt-dev] [i-g-t V6 4/5] tests/kms_flip: " Bhanuprakash Modem
2023-08-25 8:25 ` [igt-dev] [i-g-t V6 5/5] tests/kms_setmode: " Bhanuprakash Modem
2023-08-25 11:13 ` [igt-dev] ✗ GitLab.Pipeline: warning for Fix Bigjoiner checks (rev9) Patchwork
2023-08-25 11:17 ` [igt-dev] ✗ CI.xeBAT: failure " Patchwork
2023-08-25 11:23 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2023-08-25 23:55 ` [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=20230825082541.905799-3-bhanuprakash.modem@intel.com \
--to=bhanuprakash.modem@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=karthik.b.s@intel.com \
--cc=swati2.sharma@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