Mesa (main): etnaviv/drm: Print gpu model at debug verbosity

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Dec 22 08:42:53 UTC 2021


Module: Mesa
Branch: main
Commit: afbccdf8f933346a99ff7aea0b92c8cf4e966063
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=afbccdf8f933346a99ff7aea0b92c8cf4e966063

Author: Guido Günther <agx at sigxcpu.org>
Date:   Wed Dec 15 14:34:53 2021 +0100

etnaviv/drm: Print gpu model at debug verbosity

Otherwise we print it at every application start.

Signed-off-by: Guido Günther <guido.gunther at puri.sm>
Reviewed-by: Christian Gmeiner <christian.gmeiner at gmail.com>
Acked-by: Lucas Stach <l.stach at pengutronix.de>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10546>

---

 src/etnaviv/drm/etnaviv_gpu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/etnaviv/drm/etnaviv_gpu.c b/src/etnaviv/drm/etnaviv_gpu.c
index 48a22b0ea5c..52956c415b8 100644
--- a/src/etnaviv/drm/etnaviv_gpu.c
+++ b/src/etnaviv/drm/etnaviv_gpu.c
@@ -63,7 +63,7 @@ struct etna_gpu *etna_gpu_new(struct etna_device *dev, unsigned int core)
 	if (!gpu->model)
 		goto fail;
 
-	INFO_MSG(" GPU model:          0x%x (rev %x)", gpu->model, gpu->revision);
+	DEBUG_MSG(" GPU model:          0x%x (rev %x)", gpu->model, gpu->revision);
 
 	return gpu;
 fail:



More information about the mesa-commit mailing list