drm: fix gpu scheduler link order
authorChristian König <christian.koenig@amd.com>
Wed, 24 Jan 2018 10:44:49 +0000 (11:44 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Jan 2018 20:49:04 +0000 (15:49 -0500)
It should initialize before the drivers using it.

Signed-off-by: Christian König <christian.koenig@amd.com>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=104736
Reviewed-by: Mike Lothian <mike@fireburn.co.uk>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/Makefile

index dd5ae67f8e2b3b2f4cfebda288a0e4fbc978aedb..50093ff4479b4c41f8ca2d63d83b9423bc535ada 100644 (file)
@@ -50,6 +50,7 @@ obj-$(CONFIG_DRM_MIPI_DSI) += drm_mipi_dsi.o
 obj-$(CONFIG_DRM_PANEL_ORIENTATION_QUIRKS) += drm_panel_orientation_quirks.o
 obj-$(CONFIG_DRM_ARM)  += arm/
 obj-$(CONFIG_DRM_TTM)  += ttm/
+obj-$(CONFIG_DRM_SCHED)        += scheduler/
 obj-$(CONFIG_DRM_TDFX) += tdfx/
 obj-$(CONFIG_DRM_R128) += r128/
 obj-y                  += amd/lib/
@@ -102,4 +103,3 @@ obj-$(CONFIG_DRM_MXSFB)     += mxsfb/
 obj-$(CONFIG_DRM_TINYDRM) += tinydrm/
 obj-$(CONFIG_DRM_PL111) += pl111/
 obj-$(CONFIG_DRM_TVE200) += tve200/
-obj-$(CONFIG_DRM_SCHED)        += scheduler/