From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by gabe.freedesktop.org (Postfix) with ESMTPS id 071B710E6B8 for ; Tue, 25 Apr 2023 06:55:09 +0000 (UTC) From: Bhanuprakash Modem To: igt-dev@lists.freedesktop.org Date: Tue, 25 Apr 2023 12:19:45 +0530 Message-Id: <20230425064953.2121947-33-bhanuprakash.modem@intel.com> In-Reply-To: <20230425064953.2121947-1-bhanuprakash.modem@intel.com> References: <20230425064953.2121947-1-bhanuprakash.modem@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [i-g-t V2 32/40] tests/kms_hdr: 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 tests. Signed-off-by: Bhanuprakash Modem Reviewed-by: Ankit Nautiyal --- tests/kms_hdr.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/kms_hdr.c b/tests/kms_hdr.c index 23f12c14a..81a32dbf8 100644 --- a/tests/kms_hdr.c +++ b/tests/kms_hdr.c @@ -226,7 +226,7 @@ static void test_bpc_switch(data_t *data, uint32_t flags) if (igt_pipe_connector_valid(pipe, output)) { prepare_test(data, output, pipe); - if (is_i915_device(data->fd) && + if (is_intel_device(data->fd) && !igt_max_bpc_constraint(display, pipe, output, 10)) { test_fini(data); break; @@ -503,7 +503,7 @@ static void test_static_swap(data_t *data, enum pipe pipe, igt_output_t *output) igt_pipe_crc_collect_crc(data->pipe_crc, &ref_crc); /* Change the mastering information, no modeset allowed - * for amd driver, whereas a modeset is required for i915 + * for amd driver, whereas a modeset is required for intel * driver. */ hdr.hdmi_metadata_type1.max_display_mastering_luminance = 200; hdr.hdmi_metadata_type1.max_fall = 200; @@ -517,7 +517,7 @@ static void test_static_swap(data_t *data, enum pipe pipe, igt_output_t *output) /* Enter SDR via metadata, no modeset allowed for * amd driver, whereas a modeset is required for - * i915 driver. */ + * intel driver. */ fill_hdr_output_metadata_sdr(&hdr); set_hdr_output_metadata(data, &hdr); if (is_amdgpu_device(data->fd)) @@ -590,7 +590,7 @@ static void test_hdr(data_t *data, uint32_t flags) if (igt_pipe_connector_valid(pipe, output)) { prepare_test(data, output, pipe); - if (is_i915_device(data->fd) && + if (is_intel_device(data->fd) && !igt_max_bpc_constraint(display, pipe, output, 10)) { test_fini(data); break; -- 2.40.0