Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/xe/pf: Drop 2GiB limit of fair LMEM allocation
@ 2024-11-21 17:57 Michal Wajdeczko
  2024-11-21 18:30 ` ✓ CI.Patch_applied: success for " Patchwork
                   ` (8 more replies)
  0 siblings, 9 replies; 11+ messages in thread
From: Michal Wajdeczko @ 2024-11-21 17:57 UTC (permalink / raw)
  To: intel-xe; +Cc: Michal Wajdeczko, Satyanarayana K V P

Since commit 678ccbf98796 ("drm/xe/vram: drop 2G block
restriction") we are able to provision VFs with more than 2GiB.
Drop our temporary limit of maximum fair LMEM size that was added
just to avoid hitting -EINVAL from auto-provisioning.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
---
 drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
index 8d84d2a9ab1e..65082f12f1a8 100644
--- a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
+++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
@@ -1545,8 +1545,6 @@ static u64 pf_query_max_lmem(struct xe_gt *gt)
 
 #ifdef CONFIG_DRM_XE_DEBUG_SRIOV
 #define MAX_FAIR_LMEM	SZ_128M	/* XXX: make it small for the driver bringup */
-#else
-#define MAX_FAIR_LMEM	SZ_2G	/* XXX: known issue with allocating BO over 2GiB */
 #endif
 
 static u64 pf_estimate_fair_lmem(struct xe_gt *gt, unsigned int num_vfs)
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-11-22 16:29 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-21 17:57 [PATCH] drm/xe/pf: Drop 2GiB limit of fair LMEM allocation Michal Wajdeczko
2024-11-21 18:30 ` ✓ CI.Patch_applied: success for " Patchwork
2024-11-21 18:30 ` ✓ CI.checkpatch: " Patchwork
2024-11-21 18:32 ` ✓ CI.KUnit: " Patchwork
2024-11-21 18:50 ` ✓ CI.Build: " Patchwork
2024-11-21 18:52 ` ✓ CI.Hooks: " Patchwork
2024-11-21 18:54 ` ✓ CI.checksparse: " Patchwork
2024-11-21 19:17 ` ✓ Xe.CI.BAT: " Patchwork
2024-11-22  3:24 ` [PATCH] " K V P, Satyanarayana
2024-11-22  4:38 ` ✗ Xe.CI.Full: failure for " Patchwork
2024-11-22 16:29   ` Michal Wajdeczko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox