From: "Wang, X" <x.wang@intel.com>
To: "Zbigniew Kempczyński" <zbigniew.kempczynski@intel.com>
Cc: <igt-dev@lists.freedesktop.org>, <matthew.d.roper@intel.com>,
<kamil.konieczny@linux.intel.com>, <stuart.summers@intel.com>
Subject: Re: [PATCH i-g-t v14 4/4] lib/intel_device_info: remove the graphics_rel from xe2+ devices
Date: Fri, 2 Oct 2026 00:50:54 -0700 [thread overview]
Message-ID: <a9119b28-9ec1-4e18-8ebf-44c7f2087ef8@intel.com> (raw)
In-Reply-To: <bpunru5h7bshkbvwkthco6uyfpc6tfsx25lh4d7puozo4pcx7j@jtlzpc5seuzs>
On 10/1/2026 22:05, Zbigniew Kempczyński wrote:
> On Mon, Sep 28, 2026 at 10:27:07AM -0700, Xin Wang wrote:
>> On Xe2+ platforms, the graphics IP version is no longer a stable
>> property of a PCI ID "device type". After IP disaggregation, devices
>> sharing the same PCI ID can report different IP versions via GMD_ID, so
>> encoding graphics_rel in the static PCI-ID table gives wrong minor
>> versions on such devices.
>>
>> Drop graphics_rel for these platforms and rely on the runtime value
>> that xe_device_get() reads from GMD_ID.
>>
>> v2:
>> - also drop graphics_rel from WCL and NVL-P.
>>
>> Signed-off-by: Xin Wang <x.wang@intel.com>
>> ---
>> lib/intel_device_info.c | 7 -------
>> 1 file changed, 7 deletions(-)
>>
>> diff --git a/lib/intel_device_info.c b/lib/intel_device_info.c
>> index 9201ca806c..0879f49038 100644
>> --- a/lib/intel_device_info.c
>> +++ b/lib/intel_device_info.c
>> @@ -512,7 +512,6 @@ static const struct intel_device_info intel_pontevecchio_info = {
>>
>> static const struct intel_device_info intel_lunarlake_info = {
>> .graphics_ver = 20,
>> - .graphics_rel = 4,
> Can't we drop ver as well?
We still have PCI-ID-only consumers, such as intel_gtt, which accesses
the device through PCI BARs rather than xe_device_get(). Its GTT
address decoding uses intel_gen(devid), including an explicit case
for graphics version 20. Dropping graphics_ver would make that path
report an unsupported platform on Lunar Lake.
> --
> Zbigniew
>
>> .display_ver = 20,
>> .has_4tile = true,
>> .has_flatccs = true,
>> @@ -524,7 +523,6 @@ static const struct intel_device_info intel_lunarlake_info = {
>>
>> static const struct intel_device_info intel_battlemage_info = {
>> .graphics_ver = 20,
>> - .graphics_rel = 1,
>> .display_ver = 14,
>> .has_4tile = true,
>> .has_flatccs = true,
>> @@ -536,7 +534,6 @@ static const struct intel_device_info intel_battlemage_info = {
>>
>> static const struct intel_device_info intel_pantherlake_info = {
>> .graphics_ver = 30,
>> - .graphics_rel = 0,
>> .display_ver = 30,
>> .has_4tile = true,
>> .has_flatccs = true,
>> @@ -548,7 +545,6 @@ static const struct intel_device_info intel_pantherlake_info = {
>>
>> static const struct intel_device_info intel_wildcatlake_info = {
>> .graphics_ver = 30,
>> - .graphics_rel = 3,
>> .display_ver = 30,
>> .has_4tile = true,
>> .has_flatccs = true,
>> @@ -560,7 +556,6 @@ static const struct intel_device_info intel_wildcatlake_info = {
>>
>> static const struct intel_device_info intel_novalake_s_info = {
>> .graphics_ver = 30,
>> - .graphics_rel = 04,
>> .display_ver = 35,
>> .has_4tile = true,
>> .has_oam = true,
>> @@ -572,7 +567,6 @@ static const struct intel_device_info intel_novalake_s_info = {
>>
>> static const struct intel_device_info intel_novalake_p_info = {
>> .graphics_ver = 35,
>> - .graphics_rel = 10,
>> .display_ver = 35,
>> .has_4tile = true,
>> .has_oam = true,
>> @@ -584,7 +578,6 @@ static const struct intel_device_info intel_novalake_p_info = {
>>
>> static const struct intel_device_info intel_crescentisland_info = {
>> .graphics_ver = 35,
>> - .graphics_rel = 11,
>> .display_ver = 0,
>> .has_oam = true,
>> .is_crescentisland = true,
>> --
>> 2.43.0
>>
next prev parent reply other threads:[~2026-10-02 7:52 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-28 17:27 [PATCH i-g-t v14 0/4] lib/intel_device_info: get the xe .graphics_rel from GMD_ID Xin Wang
2026-09-28 17:27 ` [PATCH i-g-t v14 1/4] lib/igt_core: add igt_destructor helper macro Xin Wang
2026-10-02 4:55 ` Zbigniew Kempczyński
2026-09-28 17:27 ` [PATCH i-g-t v14 2/4] lib/intel_device_info: make device info cache process-wide Xin Wang
2026-10-02 4:56 ` Zbigniew Kempczyński
2026-09-28 17:27 ` [PATCH i-g-t v14 3/4] lib/intel_device_info: allow xe_query to override graphics version Xin Wang
2026-10-02 5:03 ` Zbigniew Kempczyński
2026-09-28 17:27 ` [PATCH i-g-t v14 4/4] lib/intel_device_info: remove the graphics_rel from xe2+ devices Xin Wang
2026-10-02 5:05 ` Zbigniew Kempczyński
2026-10-02 7:50 ` Wang, X [this message]
2026-10-05 8:23 ` Zbigniew Kempczyński
2026-09-28 21:39 ` ✓ Xe.CI.BAT: success for lib/intel_device_info: get the xe .graphics_rel from GMD_ID Patchwork
2026-09-28 22:22 ` ✓ i915.CI.BAT: " Patchwork
2026-09-29 3:39 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-10-07 17:13 ` Wang, X
2026-09-29 6:08 ` ✓ i915.CI.Full: success " 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=a9119b28-9ec1-4e18-8ebf-44c7f2087ef8@intel.com \
--to=x.wang@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=kamil.konieczny@linux.intel.com \
--cc=matthew.d.roper@intel.com \
--cc=stuart.summers@intel.com \
--cc=zbigniew.kempczynski@intel.com \
/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