Skip to content

Commit 800d75b

Browse files
hkalvalamattrope
authored andcommitted
drm/xe/xe3: Define Xe3 feature flags
Define a common set of Xe3 feature flags and definitions that will be used for all platforms in this family. The feature flags are inherited unchanged from the Xe2 (XE2_FEATURES) platform. Following B-spec details inherited from Xe2 feature flag definition commit. v2: reuse graphics_xe2 definition Bspec: 58695 - dma_mask_size remains 46 (not documented in bspec) - supports_usm=1 (Bspec 59651) - has_flatccs=1 (Bspec 58797) - has_4tile=1 (Bspec 58788) - has_asid=1 (Bspec 59654, 59265, 60288) - has_range_tlb_invalidate=1 (Bspec 71126) - five-level page table (Bspec 59505) - 1 VD + 1 VE + 1 SFC (Bspec 67103, 70819) - platform engine mask (Bspec 60149) 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 317d810 commit 800d75b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

drivers/gpu/drm/xe/xe_pci.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ static const struct xe_media_desc media_xelpmp = {
208208
};
209209

210210
static const struct xe_media_desc media_xe2 = {
211-
.name = "Xe2_LPM / Xe2_HPM",
211+
.name = "Xe2_LPM / Xe2_HPM / Xe3_LPM",
212212
.hw_engine_mask =
213213
GENMASK(XE_HW_ENGINE_VCS7, XE_HW_ENGINE_VCS0) |
214214
GENMASK(XE_HW_ENGINE_VECS3, XE_HW_ENGINE_VECS0) |
@@ -356,13 +356,16 @@ static const struct gmdid_map graphics_ip_map[] = {
356356
{ 1274, &graphics_xelpg }, /* Xe_LPG+ */
357357
{ 2001, &graphics_xe2 },
358358
{ 2004, &graphics_xe2 },
359+
{ 3000, &graphics_xe2 },
360+
{ 3001, &graphics_xe2 },
359361
};
360362

361363
/* Map of GMD_ID values to media IP */
362364
static const struct gmdid_map media_ip_map[] = {
363365
{ 1300, &media_xelpmp },
364366
{ 1301, &media_xe2 },
365367
{ 2000, &media_xe2 },
368+
{ 3000, &media_xe2 },
366369
};
367370

368371
#define INTEL_VGA_DEVICE(id, info) { \

0 commit comments

Comments
 (0)