Skip to content

Commit e692da4

Browse files
saschahauergregkh
authored andcommitted
staging: drm/imx: Add i.MX drm core support
This patch adds the i.MX glue stuff between i.MX and drm. Signed-off-by: Sascha Hauer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent f34170c commit e692da4

File tree

8 files changed

+1087
-0
lines changed

8 files changed

+1087
-0
lines changed

drivers/staging/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,4 +140,6 @@ source "drivers/staging/silicom/Kconfig"
140140

141141
source "drivers/staging/ced1401/Kconfig"
142142

143+
source "drivers/staging/imx-drm/Kconfig"
144+
143145
endif # STAGING

drivers/staging/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,4 @@ obj-$(CONFIG_OMAP_BANDGAP) += omap-thermal/
6262
obj-$(CONFIG_ZCACHE2) += ramster/
6363
obj-$(CONFIG_NET_VENDOR_SILICOM) += silicom/
6464
obj-$(CONFIG_CED1401) += ced1401/
65+
obj-$(CONFIG_DRM_IMX) += imx-drm/

drivers/staging/imx-drm/Kconfig

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
config DRM_IMX
2+
tristate "DRM Support for Freescale i.MX"
3+
select DRM_KMS_HELPER
4+
select DRM_GEM_CMA_HELPER
5+
select DRM_KMS_CMA_HELPER
6+
depends on DRM && ARCH_MXC
7+
help
8+
enable i.MX graphics support
9+
10+
config DRM_IMX_FB_HELPER
11+
tristate "provide legacy framebuffer /dev/fb0"
12+
select DRM_KMS_CMA_HELPER
13+
depends on DRM_IMX
14+
help
15+
The DRM framework can provide a legacy /dev/fb0 framebuffer
16+
for your device. This is necessary to get a framebuffer console
17+
and also for appplications using the legacy framebuffer API

drivers/staging/imx-drm/Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
imxdrm-objs := imx-drm-core.o imx-fb.o
3+
4+
obj-$(CONFIG_DRM_IMX) += imxdrm.o
5+
6+
obj-$(CONFIG_DRM_IMX_FB_HELPER) += imx-fbdev.o

0 commit comments

Comments
 (0)