[i-g-t v2 06/51] lib/igt_kms: Bigjoiner check in max_bpc constraint
Bhanuprakash Modem
bhanuprakash.modem at intel.com
Fri Aug 12 05:19:40 UTC 2022
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
---
lib/igt_kms.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index e1a65244..0e8c6f1d 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -5692,6 +5692,10 @@ 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 (!igt_check_bigjoiner_support(display))
+ continue;
+
igt_display_commit2(display, display->is_atomic ? COMMIT_ATOMIC : COMMIT_LEGACY);
if (!igt_check_output_bpc_equal(display->drm_fd, pipe,
--
2.35.1
More information about the Intel-gfx-trybot
mailing list