]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe/xe3: Generate and store the L3 bank mask
authorFrancois Dugast <francois.dugast@intel.com>
Tue, 14 Jan 2025 20:38:53 +0000 (12:38 -0800)
committerMatt Roper <matthew.d.roper@intel.com>
Wed, 15 Jan 2025 20:39:22 +0000 (12:39 -0800)
commit11a64adcdbcc3028b96e440bc33fa76e2e825c10
tree55b5042cbb4fdf9b67d2668fee46c11cdf5194af
parent50554bf3e56dd0c78ef1eedb685d0ab36c9c9987
drm/xe/xe3: Generate and store the L3 bank mask

On Xe3, the register used to indicate which L3 banks are enabled on
the system is a new one called MIRROR_L3BANK_ENABLE. Each bit
represents one bank enabled in each node.
Extend the existing topology code for Xe3 to read this register and
generate the correct L3 bank mask, which can be read by user space
throug the topology query.

Bspec: 72573, 73439
Signed-off-by: Francois Dugast <francois.dugast@intel.com>
Signed-off-by: Matt Atwood <matthew.s.atwood@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250114203853.35055-1-matthew.s.atwood@intel.com
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
drivers/gpu/drm/xe/regs/xe_gt_regs.h
drivers/gpu/drm/xe/xe_gt_topology.c