[PATCH 1/3] drm/gma500: Print the stolen memory base and size with drm_info()

From: Sui Jingfeng
Date: Wed Aug 30 2023 - 15:23:04 EST


while at it, also replace the 'K' with 'KiB'.

Signed-off-by: Sui Jingfeng <suijingfeng@xxxxxxxxxxx>
---
drivers/gpu/drm/gma500/gem.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/gma500/gem.c b/drivers/gpu/drm/gma500/gem.c
index 4b7627a72637..6fe78f61e127 100644
--- a/drivers/gpu/drm/gma500/gem.c
+++ b/drivers/gpu/drm/gma500/gem.c
@@ -344,8 +344,8 @@ int psb_gem_mm_init(struct drm_device *dev)

stolen_size = vram_stolen_size;

- dev_dbg(dev->dev, "Stolen memory base 0x%x, size %luK\n",
- dev_priv->stolen_base, vram_stolen_size / 1024);
+ drm_info(dev, "Stolen memory base 0x%x, size %luKiB\n",
+ dev_priv->stolen_base, vram_stolen_size / 1024);

pg->stolen_size = stolen_size;
dev_priv->vram_stolen_size = vram_stolen_size;
--
2.34.1