OSDN Git Service

drm/omap: Get rid of DRM_OMAP_NUM_CRTCS config option
authorJyri Sarha <jsarha@ti.com>
Fri, 24 Mar 2017 14:47:51 +0000 (16:47 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 3 Apr 2017 09:36:40 +0000 (12:36 +0300)
commitf1118b893e65ada7845c587f4682b153ea40e2ad
tree9bc45ef4c337a61c85fb99858455b92964ffe083
parentc9af3ed7311f5fbc4b0e109daddfcc8a47267331
drm/omap: Get rid of DRM_OMAP_NUM_CRTCS config option

Allocate one CRTC for each connected output and get rid of
DRM_OMAP_NUM_CRTCS config option. We still can not create more CRTCs
than we have DSS display managers. We also reserve one overlay per
CRTC for primary plane so we can not have more CRTCs than we have
overlays either.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/Kconfig
drivers/gpu/drm/omapdrm/omap_drv.c