radv: do not print the LLVM version string twice in hang reports
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 6 May 2020 07:31:58 +0000 (09:31 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 8 May 2020 06:45:26 +0000 (08:45 +0200)
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@gmail.com>
Acked-by: Daniel Schürmann <daniel@schuermann.dev>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4911>

src/amd/vulkan/radv_debug.c

index 5ff6b6f5e1b218de21d79dd4d29196846c6b9270..5508243bad804dee63129ab2a059bcfd834fc0e1 100644 (file)
@@ -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);