mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-26 12:34:41 +08:00
92b6f89f6b
For drivers which might want to disable fbdev legacy support. Select the new option in all drivers for now, so this shouldn't result in any change. Drivers need some work anyway to make fbdev support optional (if they have it implemented, that is), so the recommended way to expose this is by adding per-driver options. At least as long as most drivers don't support disabling the fbdev support. v2: Update for new drm drivers msm and rcar-du. Note that Rob's msm driver can already take advantage of this, which allows us to build msm without any fbdev depencies in the kernel! v3: Move the MODULE_* stuff from the fbdev helper file to drm_crtc_helper.c. Cc: David Herrmann <dh.herrmann@gmail.com> Cc: Rob Clark <robdclark@gmail.com> Reviewed-by: Rob Clark <robdclark@gmail.com> Acked-by: Dave Airlie <airlied@linux.ie> Reviewed-by: Chon Ming Lee <chon.ming.lee@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
27 lines
614 B
Plaintext
27 lines
614 B
Plaintext
|
|
config DRM_OMAP
|
|
tristate "OMAP DRM"
|
|
depends on DRM
|
|
depends on ARCH_OMAP2PLUS || ARCH_MULTIPLATFORM
|
|
depends on 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.
|
|
|
|
config DRM_OMAP_NUM_CRTCS
|
|
int "Number of CRTCs"
|
|
range 1 10
|
|
default 1 if ARCH_OMAP2 || ARCH_OMAP3
|
|
default 2 if ARCH_OMAP4
|
|
depends on DRM_OMAP
|
|
help
|
|
Select the number of video overlays which can be used as framebuffers.
|
|
The remaining overlays are reserved for video.
|
|
|