[PATCH v2 0/2] drm/omapdrm: Remove CONFIG_DRM_OMAP_NUM_CRTCS and cleanup

Daniel Vetter daniel at ffwll.ch
Tue Mar 21 10:30:16 UTC 2017


On Mon, Mar 20, 2017 at 06:06:37PM +0200, Jyri Sarha wrote:
> The first patch removes CONFIG_DRM_OMAP_NUM_CRTCS config option. The
> rest cleans up the unnecessary complexity from omap_modeset_init().
> 
> Changes since first version:
> - drm/omapdrm: Get rid of DRM_OMAP_NUM_CRTCS config option
>   - drm/omapdrm: -> drm/omap:
> - Drop:
>   - drm/omapdrm: Change possible_crtcs to possible_crtcs_for_planes
>   - drm/omapdrm: Separate ids for planes and CRTCs in omap_modeset_init()
> - Add:
>   - drm/omap: Major omap_modeset_init() cleanup
> 
> Jyri Sarha (2):
>   drm/omap: Get rid of DRM_OMAP_NUM_CRTCS config option
>   drm/omap: Major omap_modeset_init() cleanup

On the topic of entirely useless connector limits, max_conn_count from the
fbdev helpers is also dead ever since we started to dynamically alloc
connectors because of dp mst hotplugging. In case you want to remove more
cruft :-)
-Daniel

> 
>  drivers/gpu/drm/omapdrm/Kconfig      |   9 --
>  drivers/gpu/drm/omapdrm/omap_crtc.c  |  23 +++-
>  drivers/gpu/drm/omapdrm/omap_drv.c   | 210 ++++++++---------------------------
>  drivers/gpu/drm/omapdrm/omap_drv.h   |   2 +-
>  drivers/gpu/drm/omapdrm/omap_plane.c |   3 +
>  5 files changed, 73 insertions(+), 174 deletions(-)
> 
> -- 
> 1.9.1
> 

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the dri-devel mailing list