OSDN Git Service

v3d: Rename the driver files from "vc5" to "v3d".
authorEric Anholt <eric@anholt.net>
Tue, 1 May 2018 19:24:48 +0000 (12:24 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 16 May 2018 20:19:07 +0000 (21:19 +0100)
51 files changed:
configure.ac
src/broadcom/Makefile.am
src/broadcom/Makefile.v3d.am [moved from src/broadcom/Makefile.vc5.am with 100% similarity]
src/gallium/Makefile.am
src/gallium/auxiliary/target-helpers/drm_helper.h
src/gallium/drivers/v3d/.editorconfig [moved from src/gallium/drivers/vc5/.editorconfig with 100% similarity]
src/gallium/drivers/v3d/Automake.inc [moved from src/gallium/drivers/vc5/Automake.inc with 68% similarity]
src/gallium/drivers/v3d/Makefile.am [moved from src/gallium/drivers/vc5/Makefile.am with 100% similarity]
src/gallium/drivers/v3d/Makefile.sources [new file with mode: 0644]
src/gallium/drivers/v3d/meson.build [moved from src/gallium/drivers/vc5/meson.build with 84% similarity]
src/gallium/drivers/v3d/v3d_blit.c [moved from src/gallium/drivers/vc5/vc5_blit.c with 99% similarity]
src/gallium/drivers/v3d/v3d_bufmgr.c [moved from src/gallium/drivers/vc5/vc5_bufmgr.c with 99% similarity]
src/gallium/drivers/v3d/v3d_bufmgr.h [moved from src/gallium/drivers/vc5/vc5_bufmgr.h with 99% similarity]
src/gallium/drivers/v3d/v3d_cl.c [moved from src/gallium/drivers/vc5/vc5_cl.c with 99% similarity]
src/gallium/drivers/v3d/v3d_cl.h [moved from src/gallium/drivers/vc5/vc5_cl.h with 100% similarity]
src/gallium/drivers/v3d/v3d_context.c [moved from src/gallium/drivers/vc5/vc5_context.c with 98% similarity]
src/gallium/drivers/v3d/v3d_context.h [moved from src/gallium/drivers/vc5/vc5_context.h with 99% similarity]
src/gallium/drivers/v3d/v3d_fence.c [moved from src/gallium/drivers/vc5/vc5_fence.c with 98% similarity]
src/gallium/drivers/v3d/v3d_format_table.h [moved from src/gallium/drivers/vc5/vc5_format_table.h with 100% similarity]
src/gallium/drivers/v3d/v3d_formats.c [moved from src/gallium/drivers/vc5/vc5_formats.c with 98% similarity]
src/gallium/drivers/v3d/v3d_job.c [moved from src/gallium/drivers/vc5/vc5_job.c with 99% similarity]
src/gallium/drivers/v3d/v3d_program.c [moved from src/gallium/drivers/vc5/vc5_program.c with 99% similarity]
src/gallium/drivers/v3d/v3d_query.c [moved from src/gallium/drivers/vc5/vc5_query.c with 99% similarity]
src/gallium/drivers/v3d/v3d_resource.c [moved from src/gallium/drivers/vc5/vc5_resource.c with 99% similarity]
src/gallium/drivers/v3d/v3d_resource.h [moved from src/gallium/drivers/vc5/vc5_resource.h with 99% similarity]
src/gallium/drivers/v3d/v3d_screen.c [moved from src/gallium/drivers/vc5/vc5_screen.c with 99% similarity]
src/gallium/drivers/v3d/v3d_screen.h [moved from src/gallium/drivers/vc5/vc5_screen.h with 100% similarity]
src/gallium/drivers/v3d/v3d_simulator.c [moved from src/gallium/drivers/vc5/vc5_simulator.c with 99% similarity]
src/gallium/drivers/v3d/v3d_simulator_wrapper.cpp [moved from src/gallium/drivers/vc5/vc5_simulator_wrapper.cpp with 97% similarity]
src/gallium/drivers/v3d/v3d_simulator_wrapper.h [moved from src/gallium/drivers/vc5/vc5_simulator_wrapper.h with 100% similarity]
src/gallium/drivers/v3d/v3d_tiling.c [moved from src/gallium/drivers/vc5/vc5_tiling.c with 99% similarity]
src/gallium/drivers/v3d/v3d_tiling.h [moved from src/gallium/drivers/vc5/vc5_tiling.h with 100% similarity]
src/gallium/drivers/v3d/v3d_uniforms.c [moved from src/gallium/drivers/vc5/vc5_uniforms.c with 99% similarity]
src/gallium/drivers/v3d/v3dx_context.h [moved from src/gallium/drivers/vc5/v3dx_context.h with 98% similarity]
src/gallium/drivers/v3d/v3dx_draw.c [moved from src/gallium/drivers/vc5/vc5_draw.c with 99% similarity]
src/gallium/drivers/v3d/v3dx_emit.c [moved from src/gallium/drivers/vc5/vc5_emit.c with 99% similarity]
src/gallium/drivers/v3d/v3dx_format_table.c [moved from src/gallium/drivers/vc5/v3dx_format_table.c with 99% similarity]
src/gallium/drivers/v3d/v3dx_job.c [moved from src/gallium/drivers/vc5/v3dx_job.c with 99% similarity]
src/gallium/drivers/v3d/v3dx_rcl.c [moved from src/gallium/drivers/vc5/vc5_rcl.c with 99% similarity]
src/gallium/drivers/v3d/v3dx_simulator.c [moved from src/gallium/drivers/vc5/v3dx_simulator.c with 98% similarity]
src/gallium/drivers/v3d/v3dx_state.c [moved from src/gallium/drivers/vc5/vc5_state.c with 99% similarity]
src/gallium/drivers/vc5/Makefile.sources [deleted file]
src/gallium/meson.build
src/gallium/targets/dri/Makefile.am
src/gallium/winsys/v3d/drm/Android.mk [moved from src/gallium/winsys/vc5/drm/Android.mk with 100% similarity]
src/gallium/winsys/v3d/drm/Makefile.am [moved from src/gallium/winsys/vc5/drm/Makefile.am with 100% similarity]
src/gallium/winsys/v3d/drm/Makefile.sources [new file with mode: 0644]
src/gallium/winsys/v3d/drm/meson.build [moved from src/gallium/winsys/vc5/drm/meson.build with 97% similarity]
src/gallium/winsys/v3d/drm/v3d_drm_public.h [moved from src/gallium/winsys/vc5/drm/vc5_drm_public.h with 100% similarity]
src/gallium/winsys/v3d/drm/v3d_drm_winsys.c [moved from src/gallium/winsys/vc5/drm/vc5_drm_winsys.c with 95% similarity]
src/gallium/winsys/vc5/drm/Makefile.sources [deleted file]

index 81ce001..a73471b 100644 (file)
@@ -3037,8 +3037,8 @@ AC_CONFIG_FILES([Makefile
                  src/gallium/drivers/tegra/Makefile
                  src/gallium/drivers/etnaviv/Makefile
                  src/gallium/drivers/imx/Makefile
+                 src/gallium/drivers/v3d/Makefile
                  src/gallium/drivers/vc4/Makefile
-                 src/gallium/drivers/vc5/Makefile
                  src/gallium/drivers/virgl/Makefile
                  src/gallium/state_trackers/clover/Makefile
                  src/gallium/state_trackers/dri/Makefile
@@ -3085,8 +3085,8 @@ AC_CONFIG_FILES([Makefile
                  src/gallium/winsys/sw/wrapper/Makefile
                  src/gallium/winsys/sw/xlib/Makefile
                  src/gallium/winsys/tegra/drm/Makefile
+                 src/gallium/winsys/v3d/drm/Makefile
                  src/gallium/winsys/vc4/drm/Makefile
-                 src/gallium/winsys/vc5/drm/Makefile
                  src/gallium/winsys/virgl/drm/Makefile
                  src/gallium/winsys/virgl/vtest/Makefile
                  src/gbm/Makefile
index 49267de..4faa772 100644 (file)
@@ -60,6 +60,6 @@ PYTHON_GEN = $(AM_V_GEN)$(PYTHON2) $(PYTHON_FLAGS)
 
 include Makefile.genxml.am
 include Makefile.cle.am
-include Makefile.vc5.am
+include Makefile.v3d.am
 
 CLEANFILES += $(BUILT_SOURCES)
index 351bbf4..e75c186 100644 (file)
@@ -90,7 +90,7 @@ endif
 
 ## v3d
 if HAVE_GALLIUM_V3D
-SUBDIRS += drivers/vc5 winsys/vc5/drm
+SUBDIRS += drivers/v3d winsys/v3d/drm
 endif
 
 ## virgl
index c494848..7eefa6e 100644 (file)
@@ -311,7 +311,7 @@ pipe_vc4_create_screen(int fd, const struct pipe_screen_config *config)
 #endif
 
 #ifdef GALLIUM_V3D
-#include "vc5/drm/vc5_drm_public.h"
+#include "v3d/drm/v3d_drm_public.h"
 
 struct pipe_screen *
 pipe_v3d_create_screen(int fd, const struct pipe_screen_config *config)
similarity index 68%
rename from src/gallium/drivers/vc5/Automake.inc
rename to src/gallium/drivers/v3d/Automake.inc
index 612bc21..7cf8ae7 100644 (file)
@@ -3,8 +3,8 @@ if HAVE_GALLIUM_V3D
 TARGET_DRIVERS += v3d
 TARGET_CPPFLAGS += -DGALLIUM_V3D
 TARGET_LIB_DEPS += \
-       $(top_builddir)/src/gallium/winsys/vc5/drm/libv3ddrm.la \
-       $(top_builddir)/src/gallium/drivers/vc5/libv3d.la \
+       $(top_builddir)/src/gallium/winsys/v3d/drm/libv3ddrm.la \
+       $(top_builddir)/src/gallium/drivers/v3d/libv3d.la \
        $(top_builddir)/src/broadcom/libbroadcom.la
 
 if !HAVE_GALLIUM_VC4
diff --git a/src/gallium/drivers/v3d/Makefile.sources b/src/gallium/drivers/v3d/Makefile.sources
new file mode 100644 (file)
index 0000000..c81ccb4
--- /dev/null
@@ -0,0 +1,36 @@
+C_SOURCES := \
+       v3d_blit.c \
+       v3d_bufmgr.c \
+       v3d_bufmgr.h \
+       v3d_cl.c \
+       v3d_cl.h \
+       v3d_context.c \
+       v3d_context.h \
+       v3d_fence.c \
+       v3d_formats.c \
+       v3d_format_table.h \
+       v3d_job.c \
+       v3d_program.c \
+       v3d_query.c \
+       v3d_resource.c \
+       v3d_resource.h \
+       v3d_screen.c \
+       v3d_screen.h \
+       v3d_simulator.c \
+       v3d_simulator_wrapper.cpp \
+       v3d_simulator_wrapper.h \
+       v3d_tiling.c \
+       v3d_tiling.h \
+       v3d_uniforms.c \
+       $()
+
+V3D_PER_VERSION_SOURCES = \
+       v3dx_context.h \
+       v3dx_draw.c \
+       v3dx_emit.c \
+       v3dx_format_table.c \
+       v3dx_job.c \
+       v3dx_rcl.c \
+       v3dx_simulator.c \
+       v3dx_state.c \
+       $()
similarity index 84%
rename from src/gallium/drivers/vc5/meson.build
rename to src/gallium/drivers/v3d/meson.build
index 63460dc..3802151 100644 (file)
 # SOFTWARE.
 
 files_libv3d = files(
-  'vc5_blit.c',
-  'vc5_bufmgr.c',
-  'vc5_bufmgr.h',
-  'vc5_cl.c',
-  'vc5_cl.h',
-  'vc5_context.c',
-  'vc5_context.h',
-  'vc5_fence.c',
-  'vc5_formats.c',
-  'vc5_job.c',
-  'vc5_program.c',
-  'vc5_query.c',
-  'vc5_resource.c',
-  'vc5_resource.h',
-  'vc5_screen.c',
-  'vc5_screen.h',
-  'vc5_simulator.c',
-  'vc5_simulator_wrapper.cpp',
-  'vc5_tiling.c',
-  'vc5_tiling.h',
-  'vc5_uniforms.c',
+  'v3d_blit.c',
+  'v3d_bufmgr.c',
+  'v3d_bufmgr.h',
+  'v3d_cl.c',
+  'v3d_cl.h',
+  'v3d_context.c',
+  'v3d_context.h',
+  'v3d_fence.c',
+  'v3d_formats.c',
+  'v3d_job.c',
+  'v3d_program.c',
+  'v3d_query.c',
+  'v3d_resource.c',
+  'v3d_resource.h',
+  'v3d_screen.c',
+  'v3d_screen.h',
+  'v3d_simulator.c',
+  'v3d_simulator_wrapper.cpp',
+  'v3d_tiling.c',
+  'v3d_tiling.h',
+  'v3d_uniforms.c',
 )
 
 files_per_version = files(
+  'v3dx_draw.c',
+  'v3dx_emit.c',
   'v3dx_format_table.c',
   'v3dx_job.c',
+  'v3dx_rcl.c',
   'v3dx_simulator.c',
-  'vc5_draw.c',
-  'vc5_emit.c',
-  'vc5_rcl.c',
-  'vc5_state.c',
+  'v3dx_state.c',
 )
 
 v3dv3_c_args = []
similarity index 99%
rename from src/gallium/drivers/vc5/vc5_blit.c
rename to src/gallium/drivers/v3d/v3d_blit.c
index 66f5307..7c67d45 100644 (file)
@@ -24,7 +24,7 @@
 #include "util/u_format.h"
 #include "util/u_surface.h"
 #include "util/u_blitter.h"
-#include "vc5_context.h"
+#include "v3d_context.h"
 
 #if 0
 static struct pipe_surface *
similarity index 99%
rename from src/gallium/drivers/vc5/vc5_bufmgr.c
rename to src/gallium/drivers/v3d/v3d_bufmgr.c
index 2773df3..ef2a5fa 100644 (file)
@@ -32,8 +32,8 @@
 #include "util/u_memory.h"
 #include "util/ralloc.h"
 
-#include "vc5_context.h"
-#include "vc5_screen.h"
+#include "v3d_context.h"
+#include "v3d_screen.h"
 
 #ifdef HAVE_VALGRIND
 #include <valgrind.h>
similarity index 99%
rename from src/gallium/drivers/vc5/vc5_bufmgr.h
rename to src/gallium/drivers/v3d/v3d_bufmgr.h
index cca2b22..4519a20 100644 (file)
@@ -28,7 +28,7 @@
 #include "util/u_hash_table.h"
 #include "util/u_inlines.h"
 #include "util/list.h"
-#include "vc5_screen.h"
+#include "v3d_screen.h"
 
 struct vc5_context;
 
similarity index 99%
rename from src/gallium/drivers/vc5/vc5_cl.c
rename to src/gallium/drivers/v3d/v3d_cl.c
index a10c164..2ffb7ea 100644 (file)
@@ -23,7 +23,7 @@
 
 #include "util/u_math.h"
 #include "util/ralloc.h"
-#include "vc5_context.h"
+#include "v3d_context.h"
 /* The branching packets are the same across V3D versions. */
 #define V3D_VERSION 33
 #include "broadcom/common/v3d_macros.h"
similarity index 98%
rename from src/gallium/drivers/vc5/vc5_context.c
rename to src/gallium/drivers/v3d/v3d_context.c
index b6d1234..cb37eba 100644 (file)
@@ -34,9 +34,9 @@
 #include "indices/u_primconvert.h"
 #include "pipe/p_screen.h"
 
-#include "vc5_screen.h"
-#include "vc5_context.h"
-#include "vc5_resource.h"
+#include "v3d_screen.h"
+#include "v3d_context.h"
+#include "v3d_resource.h"
 
 void
 vc5_flush(struct pipe_context *pctx)
similarity index 99%
rename from src/gallium/drivers/vc5/vc5_context.h
rename to src/gallium/drivers/v3d/v3d_context.h
index 5df02b3..7c17ecc 100644 (file)
 #include "util/slab.h"
 #include "xf86drm.h"
 #include "v3d_drm.h"
-#include "vc5_screen.h"
+#include "v3d_screen.h"
 
 struct vc5_job;
 struct vc5_bo;
 void vc5_job_add_bo(struct vc5_job *job, struct vc5_bo *bo);
 
-#include "vc5_bufmgr.h"
-#include "vc5_resource.h"
-#include "vc5_cl.h"
+#include "v3d_bufmgr.h"
+#include "v3d_resource.h"
+#include "v3d_cl.h"
 
 #ifdef USE_V3D_SIMULATOR
 #define using_vc5_simulator true
similarity index 98%
rename from src/gallium/drivers/vc5/vc5_fence.c
rename to src/gallium/drivers/v3d/v3d_fence.c
index 731dd6d..54bce56 100644 (file)
@@ -36,8 +36,8 @@
 
 #include "util/u_inlines.h"
 
-#include "vc5_context.h"
-#include "vc5_bufmgr.h"
+#include "v3d_context.h"
+#include "v3d_bufmgr.h"
 
 struct vc5_fence {
         struct pipe_reference reference;
similarity index 98%
rename from src/gallium/drivers/vc5/vc5_formats.c
rename to src/gallium/drivers/v3d/v3d_formats.c
index b65b7cd..8424b36 100644 (file)
@@ -34,8 +34,8 @@
 
 #include "util/macros.h"
 
-#include "vc5_context.h"
-#include "vc5_format_table.h"
+#include "v3d_context.h"
+#include "v3d_format_table.h"
 
 static const struct vc5_format *
 get_format(const struct v3d_device_info *devinfo, enum pipe_format f)
similarity index 99%
rename from src/gallium/drivers/vc5/vc5_job.c
rename to src/gallium/drivers/v3d/v3d_job.c
index 7973b9e..85c64df 100644 (file)
@@ -27,7 +27,7 @@
  */
 
 #include <xf86drm.h>
-#include "vc5_context.h"
+#include "v3d_context.h"
 /* The OQ/semaphore packets are the same across V3D versions. */
 #define V3D_VERSION 33
 #include "broadcom/cle/v3dx_pack.h"
similarity index 99%
rename from src/gallium/drivers/vc5/vc5_program.c
rename to src/gallium/drivers/v3d/v3d_program.c
index 23d2d73..ce2e0be 100644 (file)
@@ -33,7 +33,7 @@
 #include "compiler/nir/nir_builder.h"
 #include "nir/tgsi_to_nir.h"
 #include "compiler/v3d_compiler.h"
-#include "vc5_context.h"
+#include "v3d_context.h"
 #include "broadcom/cle/v3d_packet_v33_pack.h"
 #include "mesa/state_tracker/st_glsl_types.h"
 
similarity index 99%
rename from src/gallium/drivers/vc5/vc5_query.c
rename to src/gallium/drivers/v3d/v3d_query.c
index 9aa80cf..f645544 100644 (file)
@@ -33,7 +33,7 @@
  * do the calculations in software at draw time.
  */
 
-#include "vc5_context.h"
+#include "v3d_context.h"
 #include "broadcom/cle/v3d_packet_v33_pack.h"
 
 struct vc5_query
similarity index 99%
rename from src/gallium/drivers/vc5/vc5_resource.c
rename to src/gallium/drivers/v3d/v3d_resource.c
index 3c2ed27..1cd3f19 100644 (file)
 #include "util/u_format_zs.h"
 
 #include "drm_fourcc.h"
-#include "vc5_screen.h"
-#include "vc5_context.h"
-#include "vc5_resource.h"
-#include "vc5_tiling.h"
+#include "v3d_screen.h"
+#include "v3d_context.h"
+#include "v3d_resource.h"
+#include "v3d_tiling.h"
 #include "broadcom/cle/v3d_packet_v33_pack.h"
 
 static void
similarity index 99%
rename from src/gallium/drivers/vc5/vc5_resource.h
rename to src/gallium/drivers/v3d/v3d_resource.h
index 2af3553..dc68f80 100644 (file)
@@ -25,7 +25,7 @@
 #ifndef VC5_RESOURCE_H
 #define VC5_RESOURCE_H
 
-#include "vc5_screen.h"
+#include "v3d_screen.h"
 #include "util/u_transfer.h"
 
 /* A UIFblock is a 256-byte region of memory that's 256-byte aligned.  These
similarity index 99%
rename from src/gallium/drivers/vc5/vc5_screen.c
rename to src/gallium/drivers/v3d/v3d_screen.c
index 9b36785..95e6a69 100644 (file)
@@ -34,9 +34,9 @@
 #include "util/ralloc.h"
 
 #include <xf86drm.h>
-#include "vc5_screen.h"
-#include "vc5_context.h"
-#include "vc5_resource.h"
+#include "v3d_screen.h"
+#include "v3d_context.h"
+#include "v3d_resource.h"
 #include "compiler/v3d_compiler.h"
 
 static const char *
similarity index 99%
rename from src/gallium/drivers/vc5/vc5_simulator.c
rename to src/gallium/drivers/v3d/v3d_simulator.c
index 4a16500..86e4ed3 100644 (file)
 #include "util/set.h"
 #include "util/u_memory.h"
 #include "util/u_mm.h"
-#include "vc5_simulator_wrapper.h"
+#include "v3d_simulator_wrapper.h"
 
-#include "vc5_screen.h"
-#include "vc5_context.h"
+#include "v3d_screen.h"
+#include "v3d_context.h"
 
 /** Global (across GEM fds) state for the simulator */
 static struct vc5_simulator_state {
 /** @file
  *
  * Wraps bits of the V3D simulator interface in a C interface for the
- * vc5_simulator.c code to use.
+ * v3d_simulator.c code to use.
  */
 
 #ifdef USE_V3D_SIMULATOR
 
-#include "vc5_simulator_wrapper.h"
+#include "v3d_simulator_wrapper.h"
 
 #define V3D_TECH_VERSION 3
 #define V3D_REVISION 3
similarity index 99%
rename from src/gallium/drivers/vc5/vc5_tiling.c
rename to src/gallium/drivers/v3d/v3d_tiling.c
index cbd86d5..f9c4a34 100644 (file)
@@ -28,9 +28,9 @@
  */
 
 #include <stdint.h>
-#include "vc5_screen.h"
-#include "vc5_context.h"
-#include "vc5_tiling.h"
+#include "v3d_screen.h"
+#include "v3d_context.h"
+#include "v3d_tiling.h"
 
 /** Return the width in pixels of a 64-byte microtile. */
 uint32_t
similarity index 99%
rename from src/gallium/drivers/vc5/vc5_uniforms.c
rename to src/gallium/drivers/v3d/v3d_uniforms.c
index 03b6d83..c7a39b5 100644 (file)
@@ -24,7 +24,7 @@
 #include "util/u_pack_color.h"
 #include "util/format_srgb.h"
 
-#include "vc5_context.h"
+#include "v3d_context.h"
 #include "compiler/v3d_compiler.h"
 #include "broadcom/cle/v3d_packet_v33_pack.h"
 
similarity index 98%
rename from src/gallium/drivers/vc5/v3dx_context.h
rename to src/gallium/drivers/v3d/v3dx_context.h
index 538aed6..faeda2c 100644 (file)
@@ -23,7 +23,7 @@
  */
 
 /* This file generates the per-v3d-version function prototypes.  It must only
- * be included from vc5_context.h.
+ * be included from v3d_context.h.
  */
 
 struct v3d_hw;
similarity index 99%
rename from src/gallium/drivers/vc5/vc5_draw.c
rename to src/gallium/drivers/v3d/v3dx_draw.c
index ecb1aa3..03ee6b2 100644 (file)
@@ -29,9 +29,9 @@
 #include "util/u_upload_mgr.h"
 #include "indices/u_primconvert.h"
 
-#include "vc5_context.h"
-#include "vc5_resource.h"
-#include "vc5_cl.h"
+#include "v3d_context.h"
+#include "v3d_resource.h"
+#include "v3d_cl.h"
 #include "broadcom/compiler/v3d_compiler.h"
 #include "broadcom/common/v3d_macros.h"
 #include "broadcom/cle/v3dx_pack.h"
similarity index 99%
rename from src/gallium/drivers/vc5/vc5_emit.c
rename to src/gallium/drivers/v3d/v3dx_emit.c
index cb8af95..e2aba35 100644 (file)
@@ -23,7 +23,7 @@
 
 #include "util/u_format.h"
 #include "util/u_half.h"
-#include "vc5_context.h"
+#include "v3d_context.h"
 #include "broadcom/common/v3d_macros.h"
 #include "broadcom/cle/v3dx_pack.h"
 #include "broadcom/compiler/v3d_compiler.h"
similarity index 99%
rename from src/gallium/drivers/vc5/v3dx_format_table.c
rename to src/gallium/drivers/v3d/v3dx_format_table.c
index cc356fc..4584881 100644 (file)
 
 #include "util/u_format.h"
 
-#include "vc5_context.h"
+#include "v3d_context.h"
 #include "broadcom/cle/v3dx_pack.h"
 #include "broadcom/common/v3d_macros.h"
-#include "vc5_format_table.h"
+#include "v3d_format_table.h"
 
 #define SWIZ(x,y,z,w) {          \
         PIPE_SWIZZLE_##x, \
similarity index 99%
rename from src/gallium/drivers/vc5/v3dx_job.c
rename to src/gallium/drivers/v3d/v3dx_job.c
index ca3831c..5e1a345 100644 (file)
@@ -27,7 +27,7 @@
  * kernel.
  */
 
-#include "vc5_context.h"
+#include "v3d_context.h"
 #include "broadcom/cle/v3dx_pack.h"
 
 void v3dX(bcl_epilogue)(struct vc5_context *vc5, struct vc5_job *job)
similarity index 99%
rename from src/gallium/drivers/vc5/vc5_rcl.c
rename to src/gallium/drivers/v3d/v3dx_rcl.c
index 7d32d9a..3801d03 100644 (file)
@@ -22,8 +22,8 @@
  */
 
 #include "util/u_format.h"
-#include "vc5_context.h"
-#include "vc5_tiling.h"
+#include "v3d_context.h"
+#include "v3d_tiling.h"
 #include "broadcom/common/v3d_macros.h"
 #include "broadcom/cle/v3dx_pack.h"
 
similarity index 98%
rename from src/gallium/drivers/vc5/v3dx_simulator.c
rename to src/gallium/drivers/v3d/v3dx_simulator.c
index 1162869..ee8b6f2 100644 (file)
@@ -33,9 +33,9 @@
 
 #ifdef USE_V3D_SIMULATOR
 
-#include "vc5_screen.h"
-#include "vc5_context.h"
-#include "vc5_simulator_wrapper.h"
+#include "v3d_screen.h"
+#include "v3d_context.h"
+#include "v3d_simulator_wrapper.h"
 
 #define HW_REGISTER_RO(x) (x)
 #define HW_REGISTER_RW(x) (x)
similarity index 99%
rename from src/gallium/drivers/vc5/vc5_state.c
rename to src/gallium/drivers/v3d/v3dx_state.c
index 0ed0acd..e992796 100644 (file)
@@ -31,8 +31,8 @@
 #include "util/u_half.h"
 #include "util/u_helpers.h"
 
-#include "vc5_context.h"
-#include "vc5_tiling.h"
+#include "v3d_context.h"
+#include "v3d_tiling.h"
 #include "broadcom/common/v3d_macros.h"
 #include "broadcom/cle/v3dx_pack.h"
 
diff --git a/src/gallium/drivers/vc5/Makefile.sources b/src/gallium/drivers/vc5/Makefile.sources
deleted file mode 100644 (file)
index 36fcc0b..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-C_SOURCES := \
-       vc5_blit.c \
-       vc5_bufmgr.c \
-       vc5_bufmgr.h \
-       vc5_cl.c \
-       vc5_cl.h \
-       vc5_context.c \
-       vc5_context.h \
-       vc5_fence.c \
-       vc5_formats.c \
-       vc5_format_table.h \
-       vc5_job.c \
-       vc5_program.c \
-       vc5_query.c \
-       vc5_resource.c \
-       vc5_resource.h \
-       vc5_screen.c \
-       vc5_screen.h \
-       vc5_simulator.c \
-       vc5_simulator_wrapper.cpp \
-       vc5_simulator_wrapper.h \
-       vc5_tiling.c \
-       vc5_tiling.h \
-       vc5_uniforms.c \
-       $()
-
-V3D_PER_VERSION_SOURCES = \
-       v3dx_context.h \
-       v3dx_format_table.c \
-       v3dx_job.c \
-       v3dx_simulator.c \
-       vc5_draw.c \
-       vc5_emit.c \
-       vc5_rcl.c \
-       vc5_state.c \
-       $()
index a93bf32..561af9d 100644 (file)
@@ -95,8 +95,8 @@ else
   driver_pl111 = declare_dependency()
 endif
 if with_gallium_v3d
-  subdir('winsys/vc5/drm')
-  subdir('drivers/vc5')
+  subdir('winsys/v3d/drm')
+  subdir('drivers/v3d')
 else
   driver_v3d = declare_dependency()
 endif
index a0778b6..a857b51 100644 (file)
@@ -76,8 +76,8 @@ include $(top_srcdir)/src/gallium/drivers/freedreno/Automake.inc
 
 include $(top_srcdir)/src/gallium/drivers/tegra/Automake.inc
 
+include $(top_srcdir)/src/gallium/drivers/v3d/Automake.inc
 include $(top_srcdir)/src/gallium/drivers/vc4/Automake.inc
-include $(top_srcdir)/src/gallium/drivers/vc5/Automake.inc
 include $(top_srcdir)/src/gallium/drivers/pl111/Automake.inc
 
 include $(top_srcdir)/src/gallium/drivers/virgl/Automake.inc
diff --git a/src/gallium/winsys/v3d/drm/Makefile.sources b/src/gallium/winsys/v3d/drm/Makefile.sources
new file mode 100644 (file)
index 0000000..1fdeefb
--- /dev/null
@@ -0,0 +1,3 @@
+C_SOURCES := \
+       v3d_drm_public.h \
+       v3d_drm_winsys.c
similarity index 97%
rename from src/gallium/winsys/vc5/drm/meson.build
rename to src/gallium/winsys/v3d/drm/meson.build
index 401aff8..e5d7b12 100644 (file)
@@ -20,7 +20,7 @@
 
 libv3dwinsys = static_library(
   'v3dwinsys',
-  files('vc5_drm_winsys.c'),
+  files('v3d_drm_winsys.c'),
   include_directories : [
     inc_src, inc_include,
     inc_gallium, inc_gallium_aux, inc_gallium_drivers,
similarity index 95%
rename from src/gallium/winsys/vc5/drm/vc5_drm_winsys.c
rename to src/gallium/winsys/v3d/drm/v3d_drm_winsys.c
index 9849ef4..63b7a57 100644 (file)
@@ -24,9 +24,9 @@
 #include <unistd.h>
 #include <fcntl.h>
 
-#include "vc5_drm_public.h"
+#include "v3d_drm_public.h"
 
-#include "vc5/vc5_screen.h"
+#include "v3d/v3d_screen.h"
 
 struct pipe_screen *
 v3d_drm_screen_create(int fd)
diff --git a/src/gallium/winsys/vc5/drm/Makefile.sources b/src/gallium/winsys/vc5/drm/Makefile.sources
deleted file mode 100644 (file)
index ea7566f..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-C_SOURCES := \
-       vc5_drm_public.h \
-       vc5_drm_winsys.c