]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1294492cef29f73ef134dbf2a61e3e00055e1653
tree9bc45ef4c337a61c85fb99858455b92964ffe083
parent65f245bb37a95a50c7448d2425fd693a058a6692
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