[PATCH v1 03/11] drm/tdfx: Move the tdfx driver to drm/dri1/

Sam Ravnborg sam at ravnborg.org
Sat Jul 16 18:17:42 UTC 2022


drm/dri1 is the new home for all the legacy DRI1 drivers.

Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
Suggested-by: Javier Martinez Canillas <javierm at redhat.com>
---
 drivers/gpu/drm/Makefile                   | 2 +-
 drivers/gpu/drm/dri1/Makefile              | 5 +++++
 drivers/gpu/drm/{ => dri1}/tdfx/Makefile   | 0
 drivers/gpu/drm/{ => dri1}/tdfx/tdfx_drv.c | 0
 drivers/gpu/drm/{ => dri1}/tdfx/tdfx_drv.h | 0
 5 files changed, 6 insertions(+), 1 deletion(-)
 create mode 100644 drivers/gpu/drm/dri1/Makefile
 rename drivers/gpu/drm/{ => dri1}/tdfx/Makefile (100%)
 rename drivers/gpu/drm/{ => dri1}/tdfx/tdfx_drv.c (100%)
 rename drivers/gpu/drm/{ => dri1}/tdfx/tdfx_drv.h (100%)

diff --git a/drivers/gpu/drm/Makefile b/drivers/gpu/drm/Makefile
index dd7f296ef9b8..08a65237ce4e 100644
--- a/drivers/gpu/drm/Makefile
+++ b/drivers/gpu/drm/Makefile
@@ -83,7 +83,7 @@ obj-y			+= arm/
 obj-y			+= display/
 obj-$(CONFIG_DRM_TTM)	+= ttm/
 obj-$(CONFIG_DRM_SCHED)	+= scheduler/
-obj-$(CONFIG_DRM_TDFX)	+= tdfx/
+obj-$(CONFIG_DRM_DRI1)	+= dri1/
 obj-$(CONFIG_DRM_R128)	+= r128/
 obj-$(CONFIG_DRM_RADEON)+= radeon/
 obj-$(CONFIG_DRM_AMDGPU)+= amd/amdgpu/
diff --git a/drivers/gpu/drm/dri1/Makefile b/drivers/gpu/drm/dri1/Makefile
new file mode 100644
index 000000000000..a3525b545670
--- /dev/null
+++ b/drivers/gpu/drm/dri1/Makefile
@@ -0,0 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0
+#
+# Makefile for DRI1 drm device drivers
+
+obj-$(CONFIG_DRM_TDFX)		+= tdfx/
diff --git a/drivers/gpu/drm/tdfx/Makefile b/drivers/gpu/drm/dri1/tdfx/Makefile
similarity index 100%
rename from drivers/gpu/drm/tdfx/Makefile
rename to drivers/gpu/drm/dri1/tdfx/Makefile
diff --git a/drivers/gpu/drm/tdfx/tdfx_drv.c b/drivers/gpu/drm/dri1/tdfx/tdfx_drv.c
similarity index 100%
rename from drivers/gpu/drm/tdfx/tdfx_drv.c
rename to drivers/gpu/drm/dri1/tdfx/tdfx_drv.c
diff --git a/drivers/gpu/drm/tdfx/tdfx_drv.h b/drivers/gpu/drm/dri1/tdfx/tdfx_drv.h
similarity index 100%
rename from drivers/gpu/drm/tdfx/tdfx_drv.h
rename to drivers/gpu/drm/dri1/tdfx/tdfx_drv.h
-- 
2.34.1



More information about the dri-devel mailing list