Lines Matching +full:four +full:- +full:bank
1 // SPDX-License-Identifier: MIT
23 if (drm_WARN_ON(>_to_xe(gt)->drm, numregs > XE_MAX_DSS_FUSE_REGS)) in load_dss_mask()
45 * Pre-Xe_HP platforms inverted the bit meaning (disable instead in load_eu_mask()
67 * gen_l3_mask_from_pattern - Replicate a bit pattern according to a mask
69 * It is used to compute the L3 bank masks in a generic format on
80 * ----------
94 * ----------
151 } else if (xe->info.platform == XE_PVC) { in load_l3_bank_mask()
162 } else if (xe->info.platform == XE_DG2) { in load_l3_bank_mask()
207 drm_WARN_ON(&xe->drm, num_geometry_regs > 3); in xe_gt_topology_init()
208 drm_WARN_ON(&xe->drm, num_compute_regs > 3); in xe_gt_topology_init()
210 load_dss_mask(gt, gt->fuse_topo.g_dss_mask, in xe_gt_topology_init()
215 load_dss_mask(gt, gt->fuse_topo.c_dss_mask, num_compute_regs, in xe_gt_topology_init()
219 load_eu_mask(gt, gt->fuse_topo.eu_mask_per_dss, >->fuse_topo.eu_type); in xe_gt_topology_init()
220 load_l3_bank_mask(gt, gt->fuse_topo.l3_bank_mask); in xe_gt_topology_init()
222 p = drm_dbg_printer(>_to_xe(gt)->drm, DRM_UT_DRIVER, "GT topology"); in xe_gt_topology_init()
243 gt->fuse_topo.g_dss_mask); in xe_gt_topology_dump()
245 gt->fuse_topo.c_dss_mask); in xe_gt_topology_dump()
248 gt->fuse_topo.eu_mask_per_dss); in xe_gt_topology_dump()
250 eu_type_to_str(gt->fuse_topo.eu_type)); in xe_gt_topology_dump()
252 drm_printf(p, "L3 bank mask: %*pb\n", XE_MAX_L3_BANK_MASK_BITS, in xe_gt_topology_dump()
253 gt->fuse_topo.l3_bank_mask); in xe_gt_topology_dump()
259 * groupsize and groupnum are non-zero.
273 * xe_gt_topology_has_dss_in_quadrant - check fusing of DSS in GT quadrant
277 * Since Xe_HP platforms can have up to four CCS engines, those engines
279 * are no DSS present in one of the four quadrants of the DSS space, the
290 bitmap_or(all_dss, gt->fuse_topo.g_dss_mask, gt->fuse_topo.c_dss_mask, in xe_gt_topology_has_dss_in_quadrant()
303 return test_bit(dss, gt->fuse_topo.g_dss_mask); in xe_gt_has_geometry_dss()
308 return test_bit(dss, gt->fuse_topo.c_dss_mask); in xe_gt_has_compute_dss()