Skip to content

Commit

Permalink
staging: drm/imx: Add i.MX drm core support
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
saschahauer authored and gregkh committed Sep 21, 2012
1 parent f34170c commit e692da4
Show file tree
Hide file tree
Showing 8 changed files with 1,087 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/staging/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -140,4 +140,6 @@ source "drivers/staging/silicom/Kconfig"

source "drivers/staging/ced1401/Kconfig"

source "drivers/staging/imx-drm/Kconfig"

endif # STAGING
1 change: 1 addition & 0 deletions drivers/staging/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,4 @@ obj-$(CONFIG_OMAP_BANDGAP) += omap-thermal/
obj-$(CONFIG_ZCACHE2) += ramster/
obj-$(CONFIG_NET_VENDOR_SILICOM) += silicom/
obj-$(CONFIG_CED1401) += ced1401/
obj-$(CONFIG_DRM_IMX) += imx-drm/
17 changes: 17 additions & 0 deletions drivers/staging/imx-drm/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
config DRM_IMX
tristate "DRM Support for Freescale i.MX"
select DRM_KMS_HELPER
select DRM_GEM_CMA_HELPER
select DRM_KMS_CMA_HELPER
depends on DRM && ARCH_MXC
help
enable i.MX graphics support

config DRM_IMX_FB_HELPER
tristate "provide legacy framebuffer /dev/fb0"
select DRM_KMS_CMA_HELPER
depends on DRM_IMX
help
The DRM framework can provide a legacy /dev/fb0 framebuffer
for your device. This is necessary to get a framebuffer console
and also for appplications using the legacy framebuffer API
6 changes: 6 additions & 0 deletions drivers/staging/imx-drm/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

imxdrm-objs := imx-drm-core.o imx-fb.o

obj-$(CONFIG_DRM_IMX) += imxdrm.o

obj-$(CONFIG_DRM_IMX_FB_HELPER) += imx-fbdev.o
Loading

0 comments on commit e692da4

Please sign in to comment.