]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
drm/omap: Store CRTC lookup by channel table in omap_drm_private
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 6 Mar 2018 22:01:33 +0000 (00:01 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 3 Sep 2018 13:13:28 +0000 (16:13 +0300)
commite48f9f16a16a6ee1befda6d8e5486234ac3a5162
tree0b8b7959b8e8c9dd884044dcaad2a568a548af66
parent00b30e794ffc3bd8f4c6dc357fe7e881ae6e5373
drm/omap: Store CRTC lookup by channel table in omap_drm_private

The omap_crtcs global array is used to store pointers to omap_crtc
indexed by DISPC channel number, in order to look them up in the dss_mgr
operations. Store the information in the omap_drm_private structure in
the form of an array of omap_drm_pipeline pointers.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/omap_crtc.c
drivers/gpu/drm/omapdrm/omap_drv.c
drivers/gpu/drm/omapdrm/omap_drv.h