linux/drivers/gpu/drm/xe/regs
Michał Winiarski 94eae6ee4c
drm/xe/pf: Set VF LMEM BAR size
LMEM is partitioned between multiple VFs and we expect that the more
VFs we have, the less LMEM is assigned to each VF.
This means that we can achieve full LMEM BAR access without the need to
attempt full VF LMEM BAR resize via pci_resize_resource().

Always try to set the largest possible BAR size that allows to fit the
number of enabled VFs and inform the user in case the resize attempt is
not successful.

Signed-off-by: Michał Winiarski <michal.winiarski@intel.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20250527120637.665506-7-michal.winiarski@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
(cherry picked from commit 32a4d1b98e6663101fd0abfaf151c48feea7abb1)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
2025-08-14 10:30:53 -04:00
..
xe_bars.h drm/xe/pf: Set VF LMEM BAR size 2025-08-14 10:30:53 -04:00
xe_engine_regs.h drm/xe: Add WA BB to capture active context utilization 2025-05-12 14:33:25 -07:00
xe_eu_stall_regs.h drm/xe/eustall: Add support to init, enable and disable EU stall sampling 2025-02-26 11:30:59 -08:00
xe_gsc_regs.h drm/xe/nvm: add support for access mode 2025-06-23 13:14:50 -04:00
xe_gt_regs.h drm/xe/xe2hpg: Add Wa_22021007897 2025-05-12 13:23:47 -07:00
xe_gtt_defs.h drm/xe: Allow to assign GGTT region to the VF 2024-04-16 12:37:29 +02:00
xe_guc_regs.h drm/xe/guc: Capture all available bits of GuC timestamp 2024-10-29 13:11:33 -07:00
xe_i2c_regs.h drm/xe/pm: Wire up suspend/resume for I2C controller 2025-07-10 10:19:41 -04:00
xe_irq_regs.h drm/xe: Support for I2C attached MCUs 2025-07-10 10:19:41 -04:00
xe_lrc_layout.h drm/xe: Update register definitions in LRC layout header 2025-07-14 08:34:44 -07:00
xe_mchbar_regs.h drm/xe/hwmon: Fix xe_hwmon_power_max_write 2025-06-18 12:26:27 -04:00
xe_oa_regs.h drm/xe/oa: Enable OAM latency measurement 2025-06-17 11:34:20 -07:00
xe_pcode_regs.h drm/xe/hwmon: Read energy status from PMT 2025-05-30 11:30:01 -04:00
xe_pmt.h drm/xe: Support for I2C attached MCUs 2025-07-10 10:19:41 -04:00
xe_pxp_regs.h drm/xe/pxp: Handle the PXP termination interrupt 2025-02-03 11:51:13 -08:00
xe_reg_defs.h drm/xe: Add xe_mmio_init() initialization function 2025-02-18 08:27:11 -08:00
xe_regs.h drm/xe: Support for I2C attached MCUs 2025-07-10 10:19:41 -04:00