mtcfg = xe_mmio_read64(gt, XEHP_MTCFG_ADDR);
adj_tile_count = xe->info.tile_count =
REG_FIELD_GET(TILE_COUNT, mtcfg) + 1;
- if (xe->info.media_verx100 >= 1300)
- xe->info.tile_count *= 2;
drm_info(&xe->drm, "tile_count: %d, adj_tile_count %d\n",
xe->info.tile_count, adj_tile_count);
.extra_gts = pvc_gts,
};
-static const struct xe_gt_desc xelpmp_gts[] = {
- {
- .type = XE_GT_TYPE_MEDIA,
- .vram_id = 0,
- .mmio_adj_limit = 0x40000,
- .mmio_adj_offset = 0x380000,
- },
-};
-
static const struct xe_device_desc mtl_desc = {
/* .graphics and .media determined via GMD_ID */
.require_force_probe = true,
PLATFORM(XE_METEORLAKE),
- .extra_gts = xelpmp_gts,
};
#undef PLATFORM
* treats it as the number of GTs rather than just the number of tiles.
*/
xe->info.tile_count = 1 + graphics_desc->max_remote_tiles;
- if (MEDIA_VER(xe) >= 13)
- xe->info.tile_count++;
for (id = 0; id < xe->info.tile_count; ++id) {
gt = xe->gt + id;