[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20230830154546.499987-2-suijingfeng@loongson.cn>
Date: Wed, 30 Aug 2023 23:45:44 +0800
From: Sui Jingfeng <suijingfeng@...ngson.cn>
To: Patrik Jakobsson <patrik.r.jakobsson@...il.com>,
David Airlie <airlied@...il.com>,
Daniel Vetter <daniel@...ll.ch>
Cc: dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org
Subject: [PATCH 1/3] drm/gma500: Print the stolen memory base and size with drm_info()
while at it, also replace the 'K' with 'KiB'.
Signed-off-by: Sui Jingfeng <suijingfeng@...ngson.cn>
---
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
Powered by blists - more mailing lists