Skip to content
This repository was archived by the owner on Oct 3, 2024. It is now read-only.

Commit f7d7ddd

Browse files
mattropelucasdemarchi
authored andcommitted
topic/core-for-CI: Add remaining DG2 and ATS-M device IDs
The device IDs here are associated with DG2 add-in cards. We need to wait for some additional functionality (e.g., small BAR recovery) to land before we're ready to truly upstream these via drm-intel; for now we'll just add them to the core-for-CI branch for CI coverage. Cc: Lucas De Marchi <[email protected]> Signed-off-by: Matt Roper <[email protected]>
1 parent c10ab29 commit f7d7ddd

File tree

3 files changed

+25
-4
lines changed

3 files changed

+25
-4
lines changed

drivers/gpu/drm/i915/i915_pci.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1064,7 +1064,6 @@ static const struct intel_device_info dg2_info = {
10641064
.require_force_probe = 1,
10651065
};
10661066

1067-
__maybe_unused
10681067
static const struct intel_device_info ats_m_info = {
10691068
DG2_FEATURES,
10701069
.display = { 0 },
@@ -1152,6 +1151,7 @@ static const struct pci_device_id pciidlist[] = {
11521151
INTEL_RPLS_IDS(&adl_s_info),
11531152
INTEL_RPLP_IDS(&adl_p_info),
11541153
INTEL_DG2_IDS(&dg2_info),
1154+
INTEL_ATS_M_IDS(&ats_m_info),
11551155
{0, 0, 0}
11561156
};
11571157
MODULE_DEVICE_TABLE(pci, pciidlist);

drivers/gpu/drm/i915/intel_device_info.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,10 +188,12 @@ static const u16 subplatform_rpl_ids[] = {
188188

189189
static const u16 subplatform_g10_ids[] = {
190190
INTEL_DG2_G10_IDS(0),
191+
INTEL_ATS_M150_IDS(0),
191192
};
192193

193194
static const u16 subplatform_g11_ids[] = {
194195
INTEL_DG2_G11_IDS(0),
196+
INTEL_ATS_M75_IDS(0),
195197
};
196198

197199
static const u16 subplatform_g12_ids[] = {

include/drm/i915_pciids.h

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -696,22 +696,41 @@
696696
#define INTEL_DG2_G10_IDS(info) \
697697
INTEL_VGA_DEVICE(0x5690, info), \
698698
INTEL_VGA_DEVICE(0x5691, info), \
699-
INTEL_VGA_DEVICE(0x5692, info)
699+
INTEL_VGA_DEVICE(0x5692, info), \
700+
INTEL_VGA_DEVICE(0x56A0, info), \
701+
INTEL_VGA_DEVICE(0x56A1, info), \
702+
INTEL_VGA_DEVICE(0x56A2, info)
700703

701704
#define INTEL_DG2_G11_IDS(info) \
702705
INTEL_VGA_DEVICE(0x5693, info), \
703706
INTEL_VGA_DEVICE(0x5694, info), \
704707
INTEL_VGA_DEVICE(0x5695, info), \
705-
INTEL_VGA_DEVICE(0x56B0, info)
708+
INTEL_VGA_DEVICE(0x56A5, info), \
709+
INTEL_VGA_DEVICE(0x56A6, info), \
710+
INTEL_VGA_DEVICE(0x56B0, info), \
711+
INTEL_VGA_DEVICE(0x56B1, info)
706712

707713
#define INTEL_DG2_G12_IDS(info) \
708714
INTEL_VGA_DEVICE(0x5696, info), \
709715
INTEL_VGA_DEVICE(0x5697, info), \
710-
INTEL_VGA_DEVICE(0x56B2, info)
716+
INTEL_VGA_DEVICE(0x56A3, info), \
717+
INTEL_VGA_DEVICE(0x56A4, info), \
718+
INTEL_VGA_DEVICE(0x56B2, info), \
719+
INTEL_VGA_DEVICE(0x56B3, info)
711720

712721
#define INTEL_DG2_IDS(info) \
713722
INTEL_DG2_G10_IDS(info), \
714723
INTEL_DG2_G11_IDS(info), \
715724
INTEL_DG2_G12_IDS(info)
716725

726+
#define INTEL_ATS_M150_IDS(info) \
727+
INTEL_VGA_DEVICE(0x56C0, info)
728+
729+
#define INTEL_ATS_M75_IDS(info) \
730+
INTEL_VGA_DEVICE(0x56C1, info)
731+
732+
#define INTEL_ATS_M_IDS(info) \
733+
INTEL_ATS_M150_IDS(info), \
734+
INTEL_ATS_M75_IDS(info)
735+
717736
#endif /* _I915_PCIIDS_H */

0 commit comments

Comments
 (0)