From: Charmaine Lee Date: Fri, 27 Oct 2017 17:24:46 +0000 (-0700) Subject: svga: add git version logging at init time X-Git-Tag: upstream/19.0.0~2641 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7448bb0089530877d484c1aa96ec6155ffde0fcc;p=platform%2Fupstream%2Fmesa.git svga: add git version logging at init time Before we can log the git version in the host log, we'll add the git version in the init debug message. Reviewed-by: Brian Paul --- diff --git a/src/gallium/drivers/svga/svga_screen.c b/src/gallium/drivers/svga/svga_screen.c index f67a689..d5fae6c 100644 --- a/src/gallium/drivers/svga/svga_screen.c +++ b/src/gallium/drivers/svga/svga_screen.c @@ -1001,6 +1001,9 @@ svga_screen_create(struct svga_winsys_screen *sws) sws->have_sm4_1 ? "SM4_1" : "VGPU10", sws->have_sm4_1 ? 1 : sws->have_vgpu10); + debug_printf("Mesa: %s %s (%s)\n", svga_get_name(screen), + PACKAGE_VERSION, MESA_GIT_SHA1); + /* * The D16, D24X8, and D24S8 formats always do an implicit shadow compare * when sampled from, where as the DF16, DF24, and D24S8_INT do not. So