forked from Minki/linux
62cb0751c8
This reverts commit 1c278e5e37
.
If DRM_OMAP does not select OMAP2_DSS it is possible to build a kernel with
DRM_OMAP only and not selecting OMAP2_DSS. Since omapdrm depends on
OMAP2_DSS this will result on broken kernel build.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
31 lines
703 B
Plaintext
31 lines
703 B
Plaintext
config DRM_OMAP
|
|
tristate "OMAP DRM"
|
|
depends on DRM
|
|
depends on ARCH_OMAP2PLUS || ARCH_MULTIPLATFORM
|
|
select OMAP2_DSS
|
|
select DRM_KMS_HELPER
|
|
select DRM_KMS_FB_HELPER
|
|
select FB_SYS_FILLRECT
|
|
select FB_SYS_COPYAREA
|
|
select FB_SYS_IMAGEBLIT
|
|
select FB_SYS_FOPS
|
|
default n
|
|
help
|
|
DRM display driver for OMAP2/3/4 based boards.
|
|
|
|
if DRM_OMAP
|
|
|
|
config DRM_OMAP_NUM_CRTCS
|
|
int "Number of CRTCs"
|
|
range 1 10
|
|
default 1 if ARCH_OMAP2 || ARCH_OMAP3
|
|
default 2 if ARCH_OMAP4
|
|
help
|
|
Select the number of video overlays which can be used as framebuffers.
|
|
The remaining overlays are reserved for video.
|
|
|
|
source "drivers/gpu/drm/omapdrm/dss/Kconfig"
|
|
source "drivers/gpu/drm/omapdrm/displays/Kconfig"
|
|
|
|
endif
|