[Mesa-dev] [PATCH 0/5] vc5 rename to v3d and enable by default.

Eric Anholt eric at anholt.net
Tue May 1 20:51:51 UTC 2018


Unless there's some last-minute catch, I'll be landing the kernel
driver this week, so I'd like to enable the Mesa side of the vc5
driver once that hits drm-next.  I've renamed the kernel side to "v3d"
since we've got both V3D 3.x ("vc5") and V3D 4.x ("vc6") supported
already, and I'd like to avoid the confusion we always had with the
i915 kernel driver vs i965 in mesa.  This series renames Mesa to
follow the kernel's name.

Eric Anholt (5):
  v3d: Switch the vc5 driver to using the finalized V3D UABI.
  v3d: Rename the vc5_dri.so driver to v3d_dri.so.
  v3d: Rename the driver files from "vc5" to "v3d".
  v3d: Rename driver functions from vc5 to v3d.
  v3d: Enable the driver by default.

 Makefile.am                                   |   1 +
 configure.ac                                  |  24 +-
 .../vc5_drm.h => include/drm-uapi/v3d_drm.h   |  75 ++--
 meson.build                                   |   6 +-
 meson_options.txt                             |   2 +-
 src/broadcom/Makefile.am                      |   2 +-
 .../{Makefile.vc5.am => Makefile.v3d.am}      |   6 +-
 src/broadcom/meson.build                      |  10 +-
 src/gallium/Makefile.am                       |   6 +-
 .../auxiliary/pipe-loader/pipe_loader_drm.c   |   8 +-
 .../auxiliary/target-helpers/drm_helper.h     |  12 +-
 .../target-helpers/drm_helper_public.h        |   4 +-
 .../drivers/{vc5 => v3d}/.editorconfig        |   0
 src/gallium/drivers/v3d/Automake.inc          |  14 +
 src/gallium/drivers/{vc5 => v3d}/Makefile.am  |  28 +-
 src/gallium/drivers/v3d/Makefile.sources      |  36 ++
 src/gallium/drivers/{vc5 => v3d}/meson.build  |  74 ++--
 .../{vc5/vc5_blit.c => v3d/v3d_blit.c}        |  98 +++---
 .../{vc5/vc5_bufmgr.c => v3d/v3d_bufmgr.c}    | 172 +++++-----
 .../{vc5/vc5_bufmgr.h => v3d/v3d_bufmgr.h}    |  52 +--
 .../drivers/{vc5/vc5_cl.c => v3d/v3d_cl.c}    |  26 +-
 .../drivers/{vc5/vc5_cl.h => v3d/v3d_cl.h}    |  98 +++---
 .../{vc5/vc5_context.c => v3d/v3d_context.c}  | 118 +++----
 .../{vc5/vc5_context.h => v3d/v3d_context.h}  | 230 +++++++------
 .../{vc5/vc5_fence.c => v3d/v3d_fence.c}      |  42 +--
 .../v3d_format_table.h}                       |   2 +-
 .../{vc5/vc5_formats.c => v3d/v3d_formats.c}  |  38 +--
 .../drivers/{vc5/vc5_job.c => v3d/v3d_job.c}  | 192 +++++------
 .../{vc5/vc5_program.c => v3d/v3d_program.c}  | 266 +++++++--------
 .../{vc5/vc5_query.c => v3d/v3d_query.c}      |  86 ++---
 .../vc5_resource.c => v3d/v3d_resource.c}     | 228 ++++++-------
 .../vc5_resource.h => v3d/v3d_resource.h}     |  50 +--
 .../{vc5/vc5_screen.c => v3d/v3d_screen.c}    |  91 +++--
 .../{vc5/vc5_screen.h => v3d/v3d_screen.h}    |  24 +-
 .../vc5_simulator.c => v3d/v3d_simulator.c}   | 184 +++++-----
 .../v3d_simulator_wrapper.cpp}                |   8 +-
 .../v3d_simulator_wrapper.h}                  |   0
 .../{vc5/vc5_tiling.c => v3d/v3d_tiling.c}    | 108 +++---
 .../{vc5/vc5_tiling.h => v3d/v3d_tiling.h}    |  18 +-
 .../vc5_uniforms.c => v3d/v3d_uniforms.c}     | 116 +++----
 .../drivers/{vc5 => v3d}/v3dx_context.h       |  14 +-
 .../{vc5/vc5_draw.c => v3d/v3dx_draw.c}       | 270 +++++++--------
 .../{vc5/vc5_emit.c => v3d/v3dx_emit.c}       | 260 +++++++-------
 .../drivers/{vc5 => v3d}/v3dx_format_table.c  |   8 +-
 src/gallium/drivers/{vc5 => v3d}/v3dx_job.c   |   6 +-
 .../drivers/{vc5/vc5_rcl.c => v3d/v3dx_rcl.c} |  78 ++---
 .../drivers/{vc5 => v3d}/v3dx_simulator.c     |  50 +--
 .../{vc5/vc5_state.c => v3d/v3dx_state.c}     | 322 +++++++++---------
 src/gallium/drivers/vc5/Automake.inc          |  14 -
 src/gallium/drivers/vc5/Makefile.sources      |  37 --
 src/gallium/meson.build                       |   8 +-
 src/gallium/targets/dri/Makefile.am           |   2 +-
 src/gallium/targets/dri/meson.build           |   4 +-
 src/gallium/targets/dri/target.c              |   8 +-
 .../winsys/{vc5 => v3d}/drm/Android.mk        |   2 +-
 .../winsys/{vc5 => v3d}/drm/Makefile.am       |   4 +-
 src/gallium/winsys/v3d/drm/Makefile.sources   |   3 +
 .../winsys/{vc5 => v3d}/drm/meson.build       |   6 +-
 .../drm/v3d_drm_public.h}                     |   2 +-
 .../drm/v3d_drm_winsys.c}                     |   8 +-
 src/gallium/winsys/vc5/drm/Makefile.sources   |   3 -
 61 files changed, 1832 insertions(+), 1832 deletions(-)
 rename src/gallium/drivers/vc5/vc5_drm.h => include/drm-uapi/v3d_drm.h (68%)
 rename src/broadcom/{Makefile.vc5.am => Makefile.v3d.am} (87%)
 rename src/gallium/drivers/{vc5 => v3d}/.editorconfig (100%)
 create mode 100644 src/gallium/drivers/v3d/Automake.inc
 rename src/gallium/drivers/{vc5 => v3d}/Makefile.am (77%)
 create mode 100644 src/gallium/drivers/v3d/Makefile.sources
 rename src/gallium/drivers/{vc5 => v3d}/meson.build (70%)
 rename src/gallium/drivers/{vc5/vc5_blit.c => v3d/v3d_blit.c} (76%)
 rename src/gallium/drivers/{vc5/vc5_bufmgr.c => v3d/v3d_bufmgr.c} (75%)
 rename src/gallium/drivers/{vc5/vc5_bufmgr.h => v3d/v3d_bufmgr.h} (72%)
 rename src/gallium/drivers/{vc5/vc5_cl.c => v3d/v3d_cl.c} (79%)
 rename src/gallium/drivers/{vc5/vc5_cl.h => v3d/v3d_cl.h} (76%)
 rename src/gallium/drivers/{vc5/vc5_context.c => v3d/v3d_context.c} (54%)
 rename src/gallium/drivers/{vc5/vc5_context.h => v3d/v3d_context.h} (72%)
 rename src/gallium/drivers/{vc5/vc5_fence.c => v3d/v3d_fence.c} (74%)
 rename src/gallium/drivers/{vc5/vc5_format_table.h => v3d/v3d_format_table.h} (99%)
 rename src/gallium/drivers/{vc5/vc5_formats.c => v3d/v3d_formats.c} (75%)
 rename src/gallium/drivers/{vc5/vc5_job.c => v3d/v3d_job.c} (68%)
 rename src/gallium/drivers/{vc5/vc5_program.c => v3d/v3d_program.c} (72%)
 rename src/gallium/drivers/{vc5/vc5_query.c => v3d/v3d_query.c} (62%)
 rename src/gallium/drivers/{vc5/vc5_resource.c => v3d/v3d_resource.c} (82%)
 rename src/gallium/drivers/{vc5/vc5_resource.h => v3d/v3d_resource.h} (82%)
 rename src/gallium/drivers/{vc5/vc5_screen.c => v3d/v3d_screen.c} (90%)
 rename src/gallium/drivers/{vc5/vc5_screen.h => v3d/v3d_screen.h} (84%)
 rename src/gallium/drivers/{vc5/vc5_simulator.c => v3d/v3d_simulator.c} (78%)
 rename src/gallium/drivers/{vc5/vc5_simulator_wrapper.cpp => v3d/v3d_simulator_wrapper.cpp} (94%)
 rename src/gallium/drivers/{vc5/vc5_simulator_wrapper.h => v3d/v3d_simulator_wrapper.h} (100%)
 rename src/gallium/drivers/{vc5/vc5_tiling.c => v3d/v3d_tiling.c} (79%)
 rename src/gallium/drivers/{vc5/vc5_tiling.h => v3d/v3d_tiling.h} (74%)
 rename src/gallium/drivers/{vc5/vc5_uniforms.c => v3d/v3d_uniforms.c} (84%)
 rename src/gallium/drivers/{vc5 => v3d}/v3dx_context.h (84%)
 rename src/gallium/drivers/{vc5/vc5_draw.c => v3d/v3dx_draw.c} (75%)
 rename src/gallium/drivers/{vc5/vc5_emit.c => v3d/v3dx_emit.c} (76%)
 rename src/gallium/drivers/{vc5 => v3d}/v3dx_format_table.c (99%)
 rename src/gallium/drivers/{vc5 => v3d}/v3dx_job.c (95%)
 rename src/gallium/drivers/{vc5/vc5_rcl.c => v3d/v3dx_rcl.c} (93%)
 rename src/gallium/drivers/{vc5 => v3d}/v3dx_simulator.c (83%)
 rename src/gallium/drivers/{vc5/vc5_state.c => v3d/v3dx_state.c} (77%)
 delete mode 100644 src/gallium/drivers/vc5/Automake.inc
 delete mode 100644 src/gallium/drivers/vc5/Makefile.sources
 rename src/gallium/winsys/{vc5 => v3d}/drm/Android.mk (97%)
 rename src/gallium/winsys/{vc5 => v3d}/drm/Makefile.am (94%)
 create mode 100644 src/gallium/winsys/v3d/drm/Makefile.sources
 rename src/gallium/winsys/{vc5 => v3d}/drm/meson.build (94%)
 rename src/gallium/winsys/{vc5/drm/vc5_drm_public.h => v3d/drm/v3d_drm_public.h} (95%)
 rename src/gallium/winsys/{vc5/drm/vc5_drm_winsys.c => v3d/drm/v3d_drm_winsys.c} (89%)
 delete mode 100644 src/gallium/winsys/vc5/drm/Makefile.sources

-- 
2.17.0



More information about the mesa-dev mailing list