[igt-dev] [i-g-t 2/5] lib/igt_kms: s/is_i915_device/is_intel_device
Bhanuprakash Modem
bhanuprakash.modem at intel.com
Mon Nov 13 08:19:27 UTC 2023
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 at 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
More information about the igt-dev
mailing list