summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2017-08-25 15:34:22 -0700
committerEric Anholt <[email protected]>2018-05-16 21:19:07 +0100
commitc4c488a2aeb24c0f468664c0cacd0d01111a4e46 (patch)
treead560d93a05e5eae1227775c9e1627e67256d1bd /src/gallium/auxiliary
parent8a793d42f1ccef2c87053a1d9a130b49cfb2b84f (diff)
v3d: Rename the vc5_dri.so driver to v3d_dri.so.
This allows the driver to load against the merged kernel DRM driver. In the process, rename most of the build system variables and gallium plumbing functions.
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c8
-rw-r--r--src/gallium/auxiliary/target-helpers/drm_helper.h10
-rw-r--r--src/gallium/auxiliary/target-helpers/drm_helper_public.h4
3 files changed, 11 insertions, 11 deletions
diff --git a/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c b/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c
index 3b959e53981..6d2ed6e76f8 100644
--- a/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c
+++ b/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c
@@ -116,13 +116,13 @@ static const struct drm_driver_descriptor driver_descriptors[] = {
.configuration = pipe_default_configuration_query,
},
{
- .driver_name = "vc4",
- .create_screen = pipe_vc4_create_screen,
+ .driver_name = "v3d",
+ .create_screen = pipe_v3d_create_screen,
.configuration = pipe_default_configuration_query,
},
{
- .driver_name = "vc5",
- .create_screen = pipe_vc5_create_screen,
+ .driver_name = "vc4",
+ .create_screen = pipe_vc4_create_screen,
.configuration = pipe_default_configuration_query,
},
{
diff --git a/src/gallium/auxiliary/target-helpers/drm_helper.h b/src/gallium/auxiliary/target-helpers/drm_helper.h
index 7dc2497c087..c494848888d 100644
--- a/src/gallium/auxiliary/target-helpers/drm_helper.h
+++ b/src/gallium/auxiliary/target-helpers/drm_helper.h
@@ -310,24 +310,24 @@ pipe_vc4_create_screen(int fd, const struct pipe_screen_config *config)
#endif
-#ifdef GALLIUM_VC5
+#ifdef GALLIUM_V3D
#include "vc5/drm/vc5_drm_public.h"
struct pipe_screen *
-pipe_vc5_create_screen(int fd, const struct pipe_screen_config *config)
+pipe_v3d_create_screen(int fd, const struct pipe_screen_config *config)
{
struct pipe_screen *screen;
- screen = vc5_drm_screen_create(fd);
+ screen = v3d_drm_screen_create(fd);
return screen ? debug_screen_wrap(screen) : NULL;
}
#else
struct pipe_screen *
-pipe_vc5_create_screen(int fd, const struct pipe_screen_config *config)
+pipe_v3d_create_screen(int fd, const struct pipe_screen_config *config)
{
- fprintf(stderr, "vc5: driver missing\n");
+ fprintf(stderr, "v3d: driver missing\n");
return NULL;
}
diff --git a/src/gallium/auxiliary/target-helpers/drm_helper_public.h b/src/gallium/auxiliary/target-helpers/drm_helper_public.h
index c1a7bf4e252..155c525762c 100644
--- a/src/gallium/auxiliary/target-helpers/drm_helper_public.h
+++ b/src/gallium/auxiliary/target-helpers/drm_helper_public.h
@@ -37,10 +37,10 @@ struct pipe_screen *
pipe_virgl_create_screen(int fd, const struct pipe_screen_config *config);
struct pipe_screen *
-pipe_vc4_create_screen(int fd, const struct pipe_screen_config *config);
+pipe_v3d_create_screen(int fd, const struct pipe_screen_config *config);
struct pipe_screen *
-pipe_vc5_create_screen(int fd, const struct pipe_screen_config *config);
+pipe_vc4_create_screen(int fd, const struct pipe_screen_config *config);
struct pipe_screen *
pipe_pl111_create_screen(int fd, const struct pipe_screen_config *config);