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

Message ID 20230830154546.499987-2-suijingfeng@loongson.cn
State New
Headers
Series [1/3] drm/gma500: Print the stolen memory base and size with drm_info() |

Commit Message

Sui Jingfeng Aug. 30, 2023, 3:45 p.m. UTC
  while at it, also replace the 'K' with 'KiB'.

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

Patch

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;