Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] drm/xe: Make xe_modparam.force_vram_bar_size signed
@ 2026-02-02 18:18 Shuicheng Lin
  2026-02-03  4:36 ` ✓ CI.KUnit: success for " Patchwork
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Shuicheng Lin @ 2026-02-02 18:18 UTC (permalink / raw)
  To: intel-xe; +Cc: Shuicheng Lin, Michal Wajdeczko

vram_bar_size is registered as an int module parameter and is documented
to accept negative values to disable BAR resizing.
Store it as an int in xe_modparam as well, so negative values work as
intended and the module_param type matches.

Fixes: 80742a1aa26e ("drm/xe: Allow to drop vram resizing")
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
---
 drivers/gpu/drm/xe/xe_module.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/xe/xe_module.h b/drivers/gpu/drm/xe/xe_module.h
index 1c75f38ca393..79cb9639c0f3 100644
--- a/drivers/gpu/drm/xe/xe_module.h
+++ b/drivers/gpu/drm/xe/xe_module.h
@@ -12,7 +12,7 @@
 struct xe_modparam {
 	bool force_execlist;
 	bool probe_display;
-	u32 force_vram_bar_size;
+	int force_vram_bar_size;
 	int guc_log_level;
 	char *guc_firmware_path;
 	char *huc_firmware_path;
-- 
2.50.1


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

end of thread, other threads:[~2026-02-11 19:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-02 18:18 [PATCH v2] drm/xe: Make xe_modparam.force_vram_bar_size signed Shuicheng Lin
2026-02-03  4:36 ` ✓ CI.KUnit: success for " Patchwork
2026-02-03  5:20 ` ✓ Xe.CI.BAT: " Patchwork
2026-02-03 17:41 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-02-03 17:44   ` Lin, Shuicheng
2026-02-10 16:59 ` [PATCH v2] " Lin, Shuicheng
2026-02-11 19:03   ` Matt Roper

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