[igt-dev] [i-g-t V6 2/5] lib/igt_kms: s/is_i915_device/is_intel_device
Bhanuprakash Modem
bhanuprakash.modem at intel.com
Fri Aug 25 08:25:38 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 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
More information about the igt-dev
mailing list