summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/svga
diff options
context:
space:
mode:
authorYonggang Luo <luoyonggang@gmail.com>2022-11-09 15:00:37 +0800
committerMarge Bot <emma+marge@anholt.net>2022-11-15 20:35:55 +0000
commit845222dbae55822bd6114ad6f9a499d3f18a022c (patch)
treeb0cb079eee053fd7ca221e091e45ec33696f7c96 /src/gallium/winsys/svga
parent7710cc8506be571ce83751c8f7afbe6fac256b36 (diff)
util: Rename src/gallium/include/pipe/p_config.h to src/util/detect_arch.h
Even though the defines in p_config.h are stared with PIPE_, they are indeed are generic detecting mechanics, we will rename them to DETECT_* in latter MR We rename src/gallium/include/pipe/p_config.h src/util/detect_arch.h because the detect code in src/gallium/include/pipe/p_config.h are most about processor architecture detecting. The file util/detect.h is added to replace functional of src/gallium/include/pipe/p_config.h So we replace of #include "pipe/p_config.h" with #include "util/detect.h" The file util/detect_cc.h is added as a placeholder for moving compiler related macro defines from p_config.h into it in following commits Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19674>
Diffstat (limited to 'src/gallium/winsys/svga')
-rw-r--r--src/gallium/winsys/svga/drm/pb_buffer_simple_fenced.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/svga/drm/pb_buffer_simple_fenced.c b/src/gallium/winsys/svga/drm/pb_buffer_simple_fenced.c
index e4f798c7f61..4b83bc2a86b 100644
--- a/src/gallium/winsys/svga/drm/pb_buffer_simple_fenced.c
+++ b/src/gallium/winsys/svga/drm/pb_buffer_simple_fenced.c
@@ -34,7 +34,7 @@
*/
-#include "pipe/p_config.h"
+#include "util/detect.h"
#if defined(PIPE_OS_LINUX) || defined(PIPE_OS_BSD) || defined(PIPE_OS_SOLARIS)
#include <unistd.h>