[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20240513103652.371721-1-pmenzel@molgen.mpg.de>
Date: Mon, 13 May 2024 12:36:51 +0200
From: Paul Menzel <pmenzel@...gen.mpg.de>
To: Jani Nikula <jani.nikula@...ux.intel.com>,
Rodrigo Vivi <rodrigo.vivi@...el.com>,
Joonas Lahtinen <joonas.lahtinen@...ux.intel.com>,
Tvrtko Ursulin <tursulin@...ulin.net>,
David Airlie <airlied@...il.com>,
Daniel Vetter <daniel@...ll.ch>
Cc: Paul Menzel <pmenzel@...gen.mpg.de>,
intel-gfx@...ts.freedesktop.org,
intel-xe@...ts.freedesktop.org,
dri-devel@...ts.freedesktop.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] drm/i915/fbc: Add sizes to info message about reducing fb size
The info message currently does not contain any information, how much
the stolen memory size should be increased.
[drm] Reducing the compressed framebuffer size. This may lead to less power savings than a non-reduced-size. Try to increase stolen memory size if available in BIOS.
To be more useful to the user, add the sizes to the message.
Signed-off-by: Paul Menzel <pmenzel@...gen.mpg.de>
---
drivers/gpu/drm/i915/display/intel_fbc.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/display/intel_fbc.c b/drivers/gpu/drm/i915/display/intel_fbc.c
index b453fcbd67da..e4a5d251013f 100644
--- a/drivers/gpu/drm/i915/display/intel_fbc.c
+++ b/drivers/gpu/drm/i915/display/intel_fbc.c
@@ -801,7 +801,8 @@ static int intel_fbc_alloc_cfb(struct intel_fbc *fbc,
goto err_llb;
else if (ret > min_limit)
drm_info_once(&i915->drm,
- "Reducing the compressed framebuffer size. This may lead to less power savings than a non-reduced-size. Try to increase stolen memory size if available in BIOS.\n");
+ "Reducing the compressed framebuffer size from %d bytes to %d bytes. This may lead to less power savings than a non-reduced-size. Try to increase stolen memory size if available in BIOS.\n",
+ min_limit, ret);
fbc->limit = ret;
--
2.43.0
Powered by blists - more mailing lists