[PATCH i-g-t] tests/intel/kms_pm_backlight: Remove eDP check for backlight
Mohammed Thasleem
mohammed.thasleem at intel.com
Thu Sep 26 19:45:07 UTC 2024
Backlight not only for eDP, it should be used for all internal
connected panel.
Signed-off-by: Mohammed Thasleem <mohammed.thasleem at intel.com>
---
tests/intel/kms_pm_backlight.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/intel/kms_pm_backlight.c b/tests/intel/kms_pm_backlight.c
index 140a95bcc..6f1e24bac 100644
--- a/tests/intel/kms_pm_backlight.c
+++ b/tests/intel/kms_pm_backlight.c
@@ -292,7 +292,7 @@ igt_main
igt_display_require(&display, drm_open_driver(DRIVER_INTEL | DRIVER_XE));
for_each_connected_output(&display, output) {
- if (output->config.connector->connector_type != DRM_MODE_CONNECTOR_eDP)
+ if (!output_is_internal_panel(output))
continue;
if (found)
--
2.25.1
More information about the igt-dev
mailing list