Skip to content

Commit 2298d8a

Browse files
hkalvalamattrope
authored andcommitted
drm/xe/ptl: Add PTL platform definition
PTL is an integrated GPU based on the Xe3 architecture. v2: explicitly turn off display until display patches land. Bspec: 72574 Cc: Matt Roper <[email protected]> Signed-off-by: Haridhar Kalvala <[email protected]> Signed-off-by: Matt Atwood <[email protected]> Reviewed-by: Shekhar Chauhan <[email protected]> Signed-off-by: Matt Roper <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 3746611 commit 2298d8a

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

drivers/gpu/drm/xe/xe_pci.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,12 @@ static const struct xe_device_desc bmg_desc = {
346346
.has_heci_cscfi = 1,
347347
};
348348

349+
static const struct xe_device_desc ptl_desc = {
350+
PLATFORM(PANTHERLAKE),
351+
.has_display = false,
352+
.require_force_probe = true,
353+
};
354+
349355
#undef PLATFORM
350356
__diag_pop();
351357

@@ -395,6 +401,7 @@ static const struct pci_device_id pciidlist[] = {
395401
XE_MTL_IDS(INTEL_VGA_DEVICE, &mtl_desc),
396402
XE_LNL_IDS(INTEL_VGA_DEVICE, &lnl_desc),
397403
XE_BMG_IDS(INTEL_VGA_DEVICE, &bmg_desc),
404+
XE_PTL_IDS(INTEL_VGA_DEVICE, &ptl_desc),
398405
{ }
399406
};
400407
MODULE_DEVICE_TABLE(pci, pciidlist);

drivers/gpu/drm/xe/xe_platform_types.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ enum xe_platform {
2323
XE_METEORLAKE,
2424
XE_LUNARLAKE,
2525
XE_BATTLEMAGE,
26+
XE_PANTHERLAKE,
2627
};
2728

2829
enum xe_subplatform {

include/drm/intel/xe_pciids.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,4 +220,15 @@
220220
MACRO__(0xE20D, ## __VA_ARGS__), \
221221
MACRO__(0xE212, ## __VA_ARGS__)
222222

223+
#define XE_PTL_IDS(MACRO__, ...) \
224+
MACRO__(0xB080, ## __VA_ARGS__), \
225+
MACRO__(0xB081, ## __VA_ARGS__), \
226+
MACRO__(0xB082, ## __VA_ARGS__), \
227+
MACRO__(0xB090, ## __VA_ARGS__), \
228+
MACRO__(0xB091, ## __VA_ARGS__), \
229+
MACRO__(0xB092, ## __VA_ARGS__), \
230+
MACRO__(0xB0A0, ## __VA_ARGS__), \
231+
MACRO__(0xB0A1, ## __VA_ARGS__), \
232+
MACRO__(0xB0A2, ## __VA_ARGS__)
233+
223234
#endif

0 commit comments

Comments
 (0)