Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1658822
| From | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v3] drm/bridge: Build the panel wrapper in drm_kms_helper |
| Date | 2017-06-06 16:40 +0200 |
| Message-ID | <tPnOj-1Aw-31@gated-at.bofh.it> (permalink) |
| References | <tO1mN-5Va-11@gated-at.bofh.it> <tOX7s-1y2-9@gated-at.bofh.it> <tPnEB-1x7-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
This fixes the following depmod error when building drm as a module:
depmod: ERROR: Found 6 modules in dependency cycles!
depmod: ERROR: Cycle detected: drm -> drm_kms_helper -> drm
Fixes: 13dfc0540a57 ("drm/bridge: Refactor out the panel wrapper from the lvds-encoder bridge.")
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
---
diff --git a/drivers/gpu/drm/Makefile b/drivers/gpu/drm/Makefile
index dc69175255b1..3999dffcd9ef 100644
--- a/drivers/gpu/drm/Makefile
+++ b/drivers/gpu/drm/Makefile
@@ -24,7 +24,6 @@ drm-$(CONFIG_COMPAT) += drm_ioc32.o
drm-$(CONFIG_DRM_GEM_CMA_HELPER) += drm_gem_cma_helper.o
drm-$(CONFIG_PCI) += ati_pcigart.o
drm-$(CONFIG_DRM_PANEL) += drm_panel.o
-drm-$(CONFIG_DRM_PANEL_BRIDGE) += bridge/panel.o
drm-$(CONFIG_OF) += drm_of.o
drm-$(CONFIG_AGP) += drm_agpsupport.o
drm-$(CONFIG_DEBUG_FS) += drm_debugfs.o drm_debugfs_crc.o
@@ -35,6 +34,7 @@ drm_kms_helper-y := drm_crtc_helper.o drm_dp_helper.o drm_probe_helper.o \
drm_simple_kms_helper.o drm_modeset_helper.o \
drm_scdc_helper.o
+drm_kms_helper-$(CONFIG_DRM_PANEL_BRIDGE) += bridge/panel.o
drm_kms_helper-$(CONFIG_DRM_LOAD_EDID_FIRMWARE) += drm_edid_load.o
drm_kms_helper-$(CONFIG_DRM_FBDEV_EMULATION) += drm_fb_helper.o
drm_kms_helper-$(CONFIG_DRM_KMS_CMA_HELPER) += drm_fb_cma_helper.o
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v3] drm/bridge: Refactor out the panel wrapper from the lvds-encoder bridge. Eric Anholt <eric@anholt.net> - 2017-06-02 22:30 +0200
Re: [PATCH v3] drm/bridge: Refactor out the panel wrapper from the lvds-encoder bridge. Archit Taneja <architt@codeaurora.org> - 2017-06-05 12:10 +0200
Re: [PATCH v3] drm/bridge: Refactor out the panel wrapper from the lvds-encoder bridge. Maarten Lankhorst <maarten.lankhorst@linux.intel.com> - 2017-06-06 16:30 +0200
[PATCH v3] drm/bridge: Build the panel wrapper in drm_kms_helper Maarten Lankhorst <maarten.lankhorst@linux.intel.com> - 2017-06-06 16:40 +0200
Re: [PATCH v3] drm/bridge: Build the panel wrapper in drm_kms_helper Eric Anholt <eric@anholt.net> - 2017-06-06 20:00 +0200
Re: [PATCH v3] drm/bridge: Build the panel wrapper in drm_kms_helper Archit Taneja <architt@codeaurora.org> - 2017-06-07 10:20 +0200
RE: [PATCH v3] drm/bridge: Build the panel wrapper in drm_kms_helper "Lofstedt, Marta" <marta.lofstedt@intel.com> - 2017-06-07 09:00 +0200
Re: [PATCH v3] drm/bridge: Refactor out the panel wrapper from the lvds-encoder bridge. Thierry Reding <thierry.reding@gmail.com> - 2017-06-06 16:50 +0200
csiph-web