From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTPS id A416E10E0D8 for ; Fri, 8 Sep 2023 17:50:43 +0000 (UTC) From: Swati Sharma To: igt-dev@lists.freedesktop.org Date: Fri, 8 Sep 2023 23:20:35 +0530 Message-Id: <20230908175039.1291593-2-swati2.sharma@intel.com> In-Reply-To: <20230908175039.1291593-1-swati2.sharma@intel.com> References: <20230908175039.1291593-1-swati2.sharma@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [PATCH i-g-t 1/5] tests/intel/kms_pm_backlight: Add XE support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: Add XE driver support for kms pm tests. Signed-off-by: Swati Sharma --- 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 42aa7cb5d..03bafb773 100644 --- a/tests/intel/kms_pm_backlight.c +++ b/tests/intel/kms_pm_backlight.c @@ -43,7 +43,7 @@ * * SUBTEST: bad-brightness * Description: Test the bad brightness. - * Driver requirement: i915 + * Driver requirement: i915, xe * Functionality: backlight * Mega feature: Display Power * Run type: FULL @@ -51,7 +51,7 @@ * * SUBTEST: basic-brightness * Description: Test the basic brightness. - * Driver requirement: i915 + * Driver requirement: i915, xe * Functionality: backlight * Mega feature: Display Power * Run type: BAT @@ -59,7 +59,7 @@ * * SUBTEST: fade * Description: Test basic fade. - * Driver requirement: i915 + * Driver requirement: i915, xe * Functionality: backlight * Mega feature: Display Power * Run type: FULL @@ -67,7 +67,7 @@ * * SUBTEST: fade-with-dpms * Description: Test the fade with DPMS. - * Driver requirement: i915 + * Driver requirement: i915, xe * Functionality: dpms, backlight * Mega feature: Display Power * Run type: FULL @@ -75,7 +75,7 @@ * * SUBTEST: fade-with-suspend * Description: Test the fade with suspend. - * Driver requirement: i915 + * Driver requirement: i915, xe * Functionality: backlight, suspend * Mega feature: Display Power * Run type: FULL @@ -302,7 +302,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