The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Sasha Levin <sashal@kernel.org>
To: linux-kernel@vger.kernel.org, stable@vger.kernel.org
Cc: Jani Nikula <jani.nikula@intel.com>,
	Shekhar Chauhan <shekhar.chauhan@intel.com>,
	Sasha Levin <sashal@kernel.org>,
	lucas.demarchi@intel.com, thomas.hellstrom@linux.intel.com,
	rodrigo.vivi@intel.com, maarten.lankhorst@linux.intel.com,
	mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com,
	simona@ffwll.ch, jani.nikula@linux.intel.com,
	joonas.lahtinen@linux.intel.com, tursulin@ursulin.net,
	intel-xe@lists.freedesktop.org, dri-devel@lists.freedesktop.org,
	intel-gfx@lists.freedesktop.org
Subject: [PATCH AUTOSEL 6.11 02/87] drm/xe/pciids: separate ARL and MTL PCI IDs
Date: Sun, 24 Nov 2024 08:37:40 -0500	[thread overview]
Message-ID: <20241124134102.3344326-2-sashal@kernel.org> (raw)
In-Reply-To: <20241124134102.3344326-1-sashal@kernel.org>

From: Jani Nikula <jani.nikula@intel.com>

[ Upstream commit cdb56a63f7eef34e89b045fc8bcae8d326bbdb19 ]

Avoid including PCI IDs for one platform to the PCI IDs of another. It's
more clear to deal with them completely separately at the PCI ID macro
level.

Reviewed-by: Shekhar Chauhan <shekhar.chauhan@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/a30cb0da7694a8eccceba66d676ac59aa0e96176.1725443121.git.jani.nikula@intel.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
 drivers/gpu/drm/xe/xe_pci.c   |  1 +
 include/drm/intel/xe_pciids.h | 13 ++++++++-----
 2 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
index dde4a929f5873..0719b74443e71 100644
--- a/drivers/gpu/drm/xe/xe_pci.c
+++ b/drivers/gpu/drm/xe/xe_pci.c
@@ -388,6 +388,7 @@ static const struct pci_device_id pciidlist[] = {
 	XE_RPLS_IDS(INTEL_VGA_DEVICE, &adl_s_desc),
 	XE_DG1_IDS(INTEL_VGA_DEVICE, &dg1_desc),
 	XE_ATS_M_IDS(INTEL_VGA_DEVICE, &ats_m_desc),
+	XE_ARL_IDS(INTEL_VGA_DEVICE, &mtl_desc),
 	XE_DG2_IDS(INTEL_VGA_DEVICE, &dg2_desc),
 	XE_MTL_IDS(INTEL_VGA_DEVICE, &mtl_desc),
 	XE_LNL_IDS(INTEL_VGA_DEVICE, &lnl_desc),
diff --git a/include/drm/intel/xe_pciids.h b/include/drm/intel/xe_pciids.h
index 7ee7524141f10..67dad09e62bc8 100644
--- a/include/drm/intel/xe_pciids.h
+++ b/include/drm/intel/xe_pciids.h
@@ -174,16 +174,19 @@
 	XE_ATS_M150_IDS(MACRO__, ## __VA_ARGS__),\
 	XE_ATS_M75_IDS(MACRO__, ## __VA_ARGS__)
 
-/* MTL / ARL */
+/* ARL */
+#define XE_ARL_IDS(MACRO__, ...)		\
+	MACRO__(0x7D41, ## __VA_ARGS__),	\
+	MACRO__(0x7D51, ## __VA_ARGS__),        \
+	MACRO__(0x7D67, ## __VA_ARGS__),	\
+	MACRO__(0x7DD1, ## __VA_ARGS__)
+
+/* MTL */
 #define XE_MTL_IDS(MACRO__, ...)		\
 	MACRO__(0x7D40, ## __VA_ARGS__),	\
-	MACRO__(0x7D41, ## __VA_ARGS__),	\
 	MACRO__(0x7D45, ## __VA_ARGS__),	\
-	MACRO__(0x7D51, ## __VA_ARGS__),        \
 	MACRO__(0x7D55, ## __VA_ARGS__),	\
 	MACRO__(0x7D60, ## __VA_ARGS__),	\
-	MACRO__(0x7D67, ## __VA_ARGS__),	\
-	MACRO__(0x7DD1, ## __VA_ARGS__),        \
 	MACRO__(0x7DD5, ## __VA_ARGS__)
 
 #define XE_LNL_IDS(MACRO__, ...) \
-- 
2.43.0


  reply	other threads:[~2024-11-24 13:41 UTC|newest]

Thread overview: 87+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-24 13:37 [PATCH AUTOSEL 6.11 01/87] drm/xe/pciids: separate RPL-U and RPL-P PCI IDs Sasha Levin
2024-11-24 13:37 ` Sasha Levin [this message]
2024-11-24 13:37 ` [PATCH AUTOSEL 6.11 03/87] drm/vc4: hdmi: Avoid log spam for audio start failure Sasha Levin
2024-11-24 13:37 ` [PATCH AUTOSEL 6.11 04/87] drm/vc4: hvs: Set AXI panic modes for the HVS Sasha Levin
2024-11-24 13:37 ` [PATCH AUTOSEL 6.11 05/87] drm/vc4: hdmi: Increase audio MAI fifo dreq threshold Sasha Levin
2024-11-24 13:37 ` [PATCH AUTOSEL 6.11 06/87] drm/xe/pciids: Add PVC's PCI device ID macros Sasha Levin
2024-11-24 13:37 ` [PATCH AUTOSEL 6.11 07/87] drm/xe/pciid: Add new PCI id for ARL Sasha Levin
2024-11-24 13:37 ` [PATCH AUTOSEL 6.11 08/87] udmabuf: change folios array from kmalloc to kvmalloc Sasha Levin
2024-11-24 13:37 ` [PATCH AUTOSEL 6.11 09/87] drm: panel-orientation-quirks: Add quirk for AYA NEO 2 model Sasha Levin
2024-11-24 13:37 ` [PATCH AUTOSEL 6.11 10/87] drm: panel-orientation-quirks: Add quirk for AYA NEO Founder edition Sasha Levin
2024-11-24 13:37 ` [PATCH AUTOSEL 6.11 11/87] drm: panel-orientation-quirks: Add quirk for AYA NEO GEEK Sasha Levin
2024-11-24 13:37 ` [PATCH AUTOSEL 6.11 12/87] drm/bridge: it6505: Enable module autoloading Sasha Levin
2024-11-24 13:37 ` [PATCH AUTOSEL 6.11 13/87] drm/mcde: " Sasha Levin
2024-11-24 13:37 ` [PATCH AUTOSEL 6.11 14/87] wifi: rtw89: check return value of ieee80211_probereq_get() for RNR Sasha Levin
2024-11-24 13:37 ` [PATCH AUTOSEL 6.11 15/87] drm/amd/display: Block UHBR Based On USB-C PD Cable ID Sasha Levin
2024-11-24 13:37 ` [PATCH AUTOSEL 6.11 16/87] drm/amd/display: Fix out-of-bounds access in 'dcn21_link_encoder_create' Sasha Levin
2024-11-24 13:37 ` [PATCH AUTOSEL 6.11 17/87] drm/radeon/r600_cs: Fix possible int overflow in r600_packet3_check() Sasha Levin
2024-11-24 13:37 ` [PATCH AUTOSEL 6.11 18/87] dlm: fix possible lkb_resource null dereference Sasha Levin
2024-11-24 13:37 ` [PATCH AUTOSEL 6.11 19/87] drm/amd/display: skip disable CRTC in seemless bootup case Sasha Levin
2024-11-24 13:37 ` [PATCH AUTOSEL 6.11 20/87] drm/amd/display: disable SG displays on cyan skillfish Sasha Levin
2024-11-24 13:37 ` [PATCH AUTOSEL 6.11 21/87] drm/xe/xe3: Add initial set of workarounds Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 22/87] drm/display: Fix building with GCC 15 Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 23/87] ALSA: hda: Use own quirk lookup helper Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 24/87] ALSA: hda/conexant: Use the new codec SSID matching Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 25/87] r8169: don't apply UDP padding quirk on RTL8126A Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 26/87] samples/bpf: Fix a resource leak Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 27/87] accel/qaic: Add AIC080 support Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 28/87] drm/amd/display: Full exit out of IPS2 when all allow signals have been cleared Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 29/87] net: fec_mpc52xx_phy: Use %pa to format resource_size_t Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 30/87] net: ethernet: fs_enet: " Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 31/87] net/sched: cbs: Fix integer overflow in cbs_set_port_rate() Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 32/87] af_packet: avoid erroring out after sock_init_data() in packet_create() Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 33/87] Bluetooth: L2CAP: do not leave dangling sk pointer on error in l2cap_sock_create() Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 34/87] Bluetooth: RFCOMM: avoid leaving dangling sk pointer in rfcomm_sock_alloc() Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 35/87] net: af_can: do not leave a dangling sk pointer in can_create() Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 36/87] net: ieee802154: do not leave a dangling sk pointer in ieee802154_create() Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 37/87] net: inet: do not leave a dangling sk pointer in inet_create() Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 38/87] net: inet6: do not leave a dangling sk pointer in inet6_create() Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 39/87] wifi: ath10k: avoid NULL pointer error during sdio remove Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 40/87] wifi: ath5k: add PCI ID for SX76X Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 41/87] wifi: ath5k: add PCI ID for Arcadyan devices Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 42/87] fanotify: allow reporting errors on failure to open fd Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 43/87] bpf: Prevent tailcall infinite loop caused by freplace Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 44/87] drm/panel: simple: Add Microchip AC69T88A LVDS Display panel Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 45/87] net: sfp: change quirks for Alcatel Lucent G-010S-P Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 46/87] net: stmmac: Programming sequence for VLAN packets with split header Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 47/87] drm/sched: memset() 'job' in drm_sched_job_init() Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 48/87] drm/amd/display: Adding array index check to prevent memory corruption Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 49/87] drm/amdgpu: clear RB_OVERFLOW bit when enabling interrupts for vega20_ih Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 50/87] drm/amdgpu: Dereference the ATCS ACPI buffer Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 51/87] netlink: specs: Add missing bitset attrs to ethtool spec Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 52/87] drm/amdgpu: refine error handling in amdgpu_ttm_tt_pin_userptr Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 53/87] drm/amd/display: Fix underflow when playing 8K video in full screen mode Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 54/87] dma-debug: fix a possible deadlock on radix_lock Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 55/87] jfs: array-index-out-of-bounds fix in dtReadFirst Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 56/87] jfs: fix shift-out-of-bounds in dbSplit Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 57/87] jfs: fix array-index-out-of-bounds in jfs_readdir Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 58/87] jfs: add a check to prevent array-index-out-of-bounds in dbAdjTree Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 59/87] fsl/fman: Validate cell-index value obtained from Device Tree Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 60/87] net/tcp: Add missing lockdep annotations for TCP-AO hlist traversals Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 61/87] net: enetc: remove ERR050089 workaround for i.MX95 Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 62/87] net: enetc: add i.MX95 EMDIO support Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 63/87] drm/panic: Add ABGR2101010 support Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 64/87] Revert "drm/amd/display: Block UHBR Based On USB-C PD Cable ID" Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 65/87] drm/amd/display: Prune Invalid Modes For HDMI Output Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 66/87] drm/amdgpu: skip amdgpu_device_cache_pci_state under sriov Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 67/87] virtio-net: fix overflow inside virtnet_rq_alloc Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 68/87] ALSA: usb-audio: Make mic volume workarounds globally applicable Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 69/87] drm/amdgpu: set the right AMDGPU sg segment limitation Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 70/87] wifi: ipw2x00: libipw_rx_any(): fix bad alignment Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 71/87] wifi: brcmfmac: Fix oops due to NULL pointer dereference in brcmf_sdiod_sglist_rw() Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 72/87] bpf: Call free_htab_elem() after htab_unlock_bucket() Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 73/87] mptcp: fix possible integer overflow in mptcp_reset_tout_timer Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 74/87] dsa: qca8k: Use nested lock to avoid splat Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 75/87] i2c: i801: Add support for Intel Panther Lake Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 76/87] Bluetooth: hci_conn: Reduce hci_conn_drop() calls in two functions Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 77/87] Bluetooth: btusb: Add RTL8852BE device 0489:e123 to device tables Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 78/87] Bluetooth: hci_conn: Use disable_delayed_work_sync Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 79/87] Bluetooth: hci_core: Fix not checking skb length on hci_acldata_packet Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 80/87] Bluetooth: Add new quirks for ATS2851 Sasha Levin
2024-11-24 13:38 ` [PATCH AUTOSEL 6.11 81/87] Bluetooth: Support " Sasha Levin
2024-11-24 13:39 ` [PATCH AUTOSEL 6.11 82/87] Bluetooth: Set " Sasha Levin
2024-11-24 13:39 ` [PATCH AUTOSEL 6.11 83/87] Bluetooth: btusb: Add new VID/PID 0489/e111 for MT7925 Sasha Levin
2024-11-24 13:39 ` [PATCH AUTOSEL 6.11 84/87] ASoC: hdmi-codec: reorder channel allocation list Sasha Levin
2024-11-24 13:39 ` [PATCH AUTOSEL 6.11 85/87] rocker: fix link status detection in rocker_carrier_init() Sasha Levin
2024-11-24 13:39 ` [PATCH AUTOSEL 6.11 86/87] net/neighbor: clear error in case strict check is not set Sasha Levin
2024-11-24 13:39 ` [PATCH AUTOSEL 6.11 87/87] netpoll: Use rcu_access_pointer() in __netpoll_setup Sasha Levin

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=20241124134102.3344326-2-sashal@kernel.org \
    --to=sashal@kernel.org \
    --cc=airlied@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=jani.nikula@intel.com \
    --cc=jani.nikula@linux.intel.com \
    --cc=joonas.lahtinen@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lucas.demarchi@intel.com \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mripard@kernel.org \
    --cc=rodrigo.vivi@intel.com \
    --cc=shekhar.chauhan@intel.com \
    --cc=simona@ffwll.ch \
    --cc=stable@vger.kernel.org \
    --cc=thomas.hellstrom@linux.intel.com \
    --cc=tursulin@ursulin.net \
    --cc=tzimmermann@suse.de \
    /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