drm: add components subdirectory and infrastructure

A patch from »drm/rockchip: add support for lvds controller and external encoders« in state Rework for linux-kernel

From: Heiko Stuebner <heiko@...> Date: Mon, 23 Mar 2015 17:37:32 +0100

Commit-Message

Until there are only the specialized bridge and i2c directories available to hold generic support code like external components. But as there are also things like external encoders that do not use i2c, those do not match all cases. Therefore introduce a new subdirectories to hold generic components like the mentioned external encoders that can be used by component-based drm drivers. Signed-off-by: Heiko Stuebner <heiko@...>

Patch-Comment

drivers/gpu/drm/Kconfig | 2 ++ drivers/gpu/drm/Makefile | 1 + drivers/gpu/drm/components/Kconfig | 4 ++++ drivers/gpu/drm/components/Makefile | 1 + 4 files changed, 8 insertions(+) create mode 100644 drivers/gpu/drm/components/Kconfig create mode 100644 drivers/gpu/drm/components/Makefile

Statistics

  • 8 lines added
  • 0 lines removed

Changes

--------------------------- drivers/gpu/drm/Kconfig ----------------------------
index 151a050..2f454f4 100644
@@ -81,6 +81,8 @@ source "drivers/gpu/drm/i2c/Kconfig"
source "drivers/gpu/drm/bridge/Kconfig"
+source "drivers/gpu/drm/components/Kconfig"
+
config DRM_TDFX
tristate "3dfx Banshee/Voodoo3+"
depends on DRM && PCI
--------------------------- drivers/gpu/drm/Makefile ---------------------------
index 2c239b9..aa9ccaa 100644
@@ -69,3 +69,4 @@ obj-$(CONFIG_DRM_IMX) += imx/
obj-y += i2c/
obj-y += panel/
obj-y += bridge/
+obj-y += components/
---------------------- drivers/gpu/drm/components/Kconfig ----------------------
new file mode 100644
index 0000000..9d5d462
@@ -0,0 +1,4 @@
+menu "Standalone components for use with the component framework"
+ depends on DRM && DRM_KMS_HELPER
+
+endmenu
--------------------- drivers/gpu/drm/components/Makefile ----------------------
new file mode 100644
index 0000000..be16eca
@@ -0,0 +0,1 @@
+ccflags-y := -Iinclude/drm
 
 

Recent Patches

About Us

Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum vel, tempor at, varius non, purus. Mauris vitae nisl nec metus placerat consectetuer.

Read More...