[igt-dev] [PATCH i-g-t 1/5] tests/intel/kms_pm_backlight: Add XE support
Swati Sharma
swati2.sharma at intel.com
Thu Sep 14 14:03:57 UTC 2023
Add XE driver support for kms pm tests.
Signed-off-by: Swati Sharma <swati2.sharma at intel.com>
Reviewed-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
---
tests/intel/kms_pm_backlight.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/tests/intel/kms_pm_backlight.c b/tests/intel/kms_pm_backlight.c
index 20af15a6b..f6e7db0b2 100644
--- a/tests/intel/kms_pm_backlight.c
+++ b/tests/intel/kms_pm_backlight.c
@@ -43,35 +43,35 @@
*
* SUBTEST: bad-brightness
* Description: Test the bad brightness.
- * Driver requirement: i915
+ * Driver requirement: i915, xe
* Functionality: backlight
* Mega feature: Display Power
* Test category: functionality test
*
* SUBTEST: basic-brightness
* Description: Test the basic brightness.
- * Driver requirement: i915
+ * Driver requirement: i915, xe
* Functionality: backlight
* Mega feature: Display Power
* Test category: functionality test
*
* SUBTEST: fade
* Description: Test basic fade.
- * Driver requirement: i915
+ * Driver requirement: i915, xe
* Functionality: backlight
* Mega feature: Display Power
* Test category: functionality test
*
* SUBTEST: fade-with-dpms
* Description: Test the fade with DPMS.
- * Driver requirement: i915
+ * Driver requirement: i915, xe
* Functionality: dpms, backlight
* Mega feature: Display Power
* Test category: functionality test
*
* SUBTEST: fade-with-suspend
* Description: Test the fade with suspend.
- * Driver requirement: i915
+ * Driver requirement: i915, xe
* Functionality: backlight, suspend
* Mega feature: Display Power
* Test category: functionality test
@@ -297,7 +297,7 @@ igt_main
* try to enable all.
*/
kmstest_set_vt_graphics_mode();
- igt_display_require(&display, drm_open_driver(DRIVER_INTEL));
+ 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)
--
2.25.1
More information about the igt-dev
mailing list