mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
776dc38403
The Tegra DRM driver currently uses some infrastructure to defer the DRM core initialization until all required devices have registered. The same infrastructure can potentially be used by any other driver that requires more than a single sub-device of the host1x module. Make the infrastructure more generic and keep only the DRM specific code in the DRM part of the driver. Eventually this will make it easy to move the DRM driver part back to the DRM subsystem. Signed-off-by: Thierry Reding <treding@nvidia.com>
23 lines
501 B
Makefile
23 lines
501 B
Makefile
ccflags-y = -Idrivers/gpu/host1x
|
|
|
|
host1x-y = \
|
|
bus.o \
|
|
syncpt.o \
|
|
dev.o \
|
|
intr.o \
|
|
cdma.o \
|
|
channel.o \
|
|
job.o \
|
|
debug.o \
|
|
hw/host1x01.o
|
|
|
|
ccflags-y += -Iinclude/drm
|
|
ccflags-$(CONFIG_DRM_TEGRA_DEBUG) += -DDEBUG
|
|
|
|
host1x-$(CONFIG_DRM_TEGRA) += drm/drm.o drm/fb.o drm/dc.o
|
|
host1x-$(CONFIG_DRM_TEGRA) += drm/output.o drm/rgb.o drm/hdmi.o
|
|
host1x-$(CONFIG_DRM_TEGRA) += drm/gem.o
|
|
host1x-$(CONFIG_DRM_TEGRA) += drm/gr2d.o
|
|
host1x-$(CONFIG_DRM_TEGRA) += drm/bus.o
|
|
obj-$(CONFIG_TEGRA_HOST1X) += host1x.o
|