summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/vc5/drm
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/winsys/vc5/drm
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/winsys/vc5/drm')
-rw-r--r--src/gallium/winsys/vc5/drm/Android.mk2
-rw-r--r--src/gallium/winsys/vc5/drm/Makefile.am4
-rw-r--r--src/gallium/winsys/vc5/drm/meson.build4
-rw-r--r--src/gallium/winsys/vc5/drm/vc5_drm_public.h2
-rw-r--r--src/gallium/winsys/vc5/drm/vc5_drm_winsys.c4
5 files changed, 8 insertions, 8 deletions
diff --git a/src/gallium/winsys/vc5/drm/Android.mk b/src/gallium/winsys/vc5/drm/Android.mk
index 3b1523baab9..4cdd969c268 100644
--- a/src/gallium/winsys/vc5/drm/Android.mk
+++ b/src/gallium/winsys/vc5/drm/Android.mk
@@ -27,7 +27,7 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES := $(C_SOURCES)
-LOCAL_MODULE := libmesa_winsys_vc5
+LOCAL_MODULE := libmesa_winsys_v3d
include $(GALLIUM_COMMON_MK)
include $(BUILD_STATIC_LIBRARY)
diff --git a/src/gallium/winsys/vc5/drm/Makefile.am b/src/gallium/winsys/vc5/drm/Makefile.am
index e8584036bf8..ac2ef23bb64 100644
--- a/src/gallium/winsys/vc5/drm/Makefile.am
+++ b/src/gallium/winsys/vc5/drm/Makefile.am
@@ -26,8 +26,8 @@ AM_CFLAGS = \
-I$(top_srcdir)/src/gallium/drivers \
$(GALLIUM_WINSYS_CFLAGS)
-noinst_LTLIBRARIES = libvc5drm.la
+noinst_LTLIBRARIES = libv3ddrm.la
-libvc5drm_la_SOURCES = $(C_SOURCES)
+libv3ddrm_la_SOURCES = $(C_SOURCES)
EXTRA_DIST = meson.build
diff --git a/src/gallium/winsys/vc5/drm/meson.build b/src/gallium/winsys/vc5/drm/meson.build
index d85930134b0..401aff8f47d 100644
--- a/src/gallium/winsys/vc5/drm/meson.build
+++ b/src/gallium/winsys/vc5/drm/meson.build
@@ -18,8 +18,8 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
-libvc5winsys = static_library(
- 'vc5winsys',
+libv3dwinsys = static_library(
+ 'v3dwinsys',
files('vc5_drm_winsys.c'),
include_directories : [
inc_src, inc_include,
diff --git a/src/gallium/winsys/vc5/drm/vc5_drm_public.h b/src/gallium/winsys/vc5/drm/vc5_drm_public.h
index 6e198481541..46aed9d4e18 100644
--- a/src/gallium/winsys/vc5/drm/vc5_drm_public.h
+++ b/src/gallium/winsys/vc5/drm/vc5_drm_public.h
@@ -26,6 +26,6 @@
struct pipe_screen;
-struct pipe_screen *vc5_drm_screen_create(int drmFD);
+struct pipe_screen *v3d_drm_screen_create(int drmFD);
#endif /* __VC5_DRM_PUBLIC_H__ */
diff --git a/src/gallium/winsys/vc5/drm/vc5_drm_winsys.c b/src/gallium/winsys/vc5/drm/vc5_drm_winsys.c
index d089291bf5b..9849ef4e006 100644
--- a/src/gallium/winsys/vc5/drm/vc5_drm_winsys.c
+++ b/src/gallium/winsys/vc5/drm/vc5_drm_winsys.c
@@ -29,7 +29,7 @@
#include "vc5/vc5_screen.h"
struct pipe_screen *
-vc5_drm_screen_create(int fd)
+v3d_drm_screen_create(int fd)
{
- return vc5_screen_create(fcntl(fd, F_DUPFD_CLOEXEC, 3));
+ return v3d_screen_create(fcntl(fd, F_DUPFD_CLOEXEC, 3));
}