kmsro: move entry points from etnaviv to kmsro
authorJonathan Marek <jonathan@marek.ca>
Thu, 1 Aug 2019 16:48:40 +0000 (12:48 -0400)
committerJonathan Marek <jonathan@marek.ca>
Thu, 1 Aug 2019 20:31:51 +0000 (16:31 -0400)
These drivers are kmsro drivers so they should be part of the kmsro #if

This fixes missing imx_drm driver when building with only freedreno+kmsro

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/gallium/targets/dri/target.c

index 64779fc25cc25941455d26415acce8b43a26105b..c46b40f6a5ac5995ac536390e8733fdd63bd91f0 100644 (file)
@@ -84,9 +84,6 @@ DEFINE_LOADER_DRM_ENTRYPOINT(panfrost)
 #endif
 
 #if defined(GALLIUM_ETNAVIV)
-DEFINE_LOADER_DRM_ENTRYPOINT(armada_drm)
-DEFINE_LOADER_DRM_ENTRYPOINT(imx_drm)
-DEFINE_LOADER_DRM_ENTRYPOINT(mxsfb_drm)
 DEFINE_LOADER_DRM_ENTRYPOINT(etnaviv)
 #endif
 
@@ -95,12 +92,15 @@ DEFINE_LOADER_DRM_ENTRYPOINT(tegra);
 #endif
 
 #if defined(GALLIUM_KMSRO)
+DEFINE_LOADER_DRM_ENTRYPOINT(armada_drm)
 DEFINE_LOADER_DRM_ENTRYPOINT(exynos)
 DEFINE_LOADER_DRM_ENTRYPOINT(hx8357d)
 DEFINE_LOADER_DRM_ENTRYPOINT(ili9225)
 DEFINE_LOADER_DRM_ENTRYPOINT(ili9341)
+DEFINE_LOADER_DRM_ENTRYPOINT(imx_drm)
 DEFINE_LOADER_DRM_ENTRYPOINT(meson)
 DEFINE_LOADER_DRM_ENTRYPOINT(mi0283qt)
+DEFINE_LOADER_DRM_ENTRYPOINT(mxsfb_drm)
 DEFINE_LOADER_DRM_ENTRYPOINT(pl111)
 DEFINE_LOADER_DRM_ENTRYPOINT(repaper)
 DEFINE_LOADER_DRM_ENTRYPOINT(rockchip)