From: Mohammed Thasleem <mohammed.thasleem@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH v3 1/2] lib/intel_chipset: Add AT_LEAST_DISPLAY for display version compare
Date: Fri, 1 Dec 2023 15:37:24 +0530 [thread overview]
Message-ID: <20231201100725.8646-2-mohammed.thasleem@intel.com> (raw)
In-Reply-To: <20231201100725.8646-1-mohammed.thasleem@intel.com>
Added AT_LEAST_DISPLAY check for display version compare.
Cc: Swati Sharma <swati2.sharma@intel.com>
Signed-off-by: Mohammed Thasleem <mohammed.thasleem@intel.com>
---
lib/intel_chipset.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/intel_chipset.h b/lib/intel_chipset.h
index 1edc8e92c..3f2534519 100644
--- a/lib/intel_chipset.h
+++ b/lib/intel_chipset.h
@@ -208,6 +208,7 @@ void intel_check_pch(void);
#define IS_GEN(devid, x) (intel_get_device_info(devid)->graphics_ver == x)
#define AT_LEAST_GEN(devid, x) (intel_get_device_info(devid)->graphics_ver >= x)
+#define AT_LEAST_DISPLAY(devid, x) (intel_get_device_info(devid)->display_ver >= x)
#define IS_GEN2(devid) IS_GEN(devid, 2)
#define IS_GEN3(devid) IS_GEN(devid, 3)
--
2.25.1
next prev parent reply other threads:[~2023-12-01 10:19 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-01 10:07 [igt-dev] [PATCH v3 0/2] LNL_DC9 Mohammed Thasleem
2023-12-01 10:07 ` Mohammed Thasleem [this message]
2023-12-01 10:45 ` [igt-dev] [PATCH v3 1/2] lib/intel_chipset: Add AT_LEAST_DISPLAY for display version compare Kamil Konieczny
2023-12-01 10:07 ` [igt-dev] [PATCH v3 2/2] tests/intel/kms_pm_dc: Add LNL platform for dc9-dpms validation Mohammed Thasleem
2023-12-01 10:46 ` Kamil Konieczny
2023-12-01 10:49 ` Sharma, Swati2
2023-12-01 12:04 ` [igt-dev] ✗ Fi.CI.BAT: failure for LNL_DC9 Patchwork
2023-12-01 12:08 ` [igt-dev] ✓ CI.xeBAT: success " Patchwork
2023-12-05 10:28 ` [igt-dev] ✓ Fi.CI.BAT: " Patchwork
2023-12-05 16:41 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231201100725.8646-2-mohammed.thasleem@intel.com \
--to=mohammed.thasleem@intel.com \
--cc=igt-dev@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox