[Mesa-dev] [PATCH 17/23] radeonsi: document our vendor string situation

Marek Olšák maraeo at gmail.com
Tue Nov 28 21:38:45 UTC 2017


From: Marek Olšák <marek.olsak at amd.com>

---
 src/gallium/drivers/radeonsi/si_get.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/gallium/drivers/radeonsi/si_get.c b/src/gallium/drivers/radeonsi/si_get.c
index 9d38636..56030f7 100644
--- a/src/gallium/drivers/radeonsi/si_get.c
+++ b/src/gallium/drivers/radeonsi/si_get.c
@@ -27,20 +27,23 @@
 #include "ac_llvm_util.h"
 #include "vl/vl_decoder.h"
 #include "vl/vl_video_buffer.h"
 #include "util/u_video.h"
 #include "compiler/nir/nir.h"
 
 #include <sys/utsname.h>
 
 static const char *si_get_vendor(struct pipe_screen *pscreen)
 {
+	/* Don't change this. Games such as Alien Isolation are broken if this
+	 * returns "Advanced Micro Devices, Inc."
+	 */
 	return "X.Org";
 }
 
 static const char *si_get_device_vendor(struct pipe_screen *pscreen)
 {
 	return "AMD";
 }
 
 static const char *si_get_marketing_name(struct radeon_winsys *ws)
 {
-- 
2.7.4



More information about the mesa-dev mailing list