Mesa (master): radv: do not print the LLVM version string twice in hang reports

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri May 8 07:11:27 UTC 2020


Module: Mesa
Branch: master
Commit: 290d480c55199e013fdfb91e948046f23d9c704d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=290d480c55199e013fdfb91e948046f23d9c704d

Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Wed May  6 09:31:58 2020 +0200

radv: do not print the LLVM version string twice in hang reports

It's already part of the device name, and it should now also
correctly report when ACO is used.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Acked-by: Daniel Schürmann <daniel at schuermann.dev>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4911>

---

 src/amd/vulkan/radv_debug.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/amd/vulkan/radv_debug.c b/src/amd/vulkan/radv_debug.c
index 5ff6b6f5e1b..5508243bad8 100644
--- a/src/amd/vulkan/radv_debug.c
+++ b/src/amd/vulkan/radv_debug.c
@@ -567,8 +567,7 @@ radv_dump_device_name(struct radv_device *device, FILE *f)
 		snprintf(kernel_version, sizeof(kernel_version),
 			 " / %s", uname_data.release);
 
-	fprintf(f, "Device name: %s (%s DRM %i.%i.%i%s, LLVM "
-		MESA_LLVM_VERSION_STRING ")\n\n",
+	fprintf(f, "Device name: %s (%s / DRM %i.%i.%i%s)\n\n",
 		chip_name, device->physical_device->name,
 		info->drm_major, info->drm_minor, info->drm_patchlevel,
 		kernel_version);



More information about the mesa-commit mailing list