]> git.baikalelectronics.ru Git - kernel.git/commit
drm: rcar-du: Link CRTCs to the DU device
authorKieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Fri, 15 Mar 2019 17:01:05 +0000 (17:01 +0000)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Thu, 28 Mar 2019 04:06:33 +0000 (06:06 +0200)
commita7a45916424281afcd61d138601280e60150bdef
treeddbb79273a230f9b08e37962e3604ae82cb9c686
parent54495a5950740eec0cffa5db39e7742f163da1ba
drm: rcar-du: Link CRTCs to the DU device

The rcar_du_crtc functions have a heavy reliance on the rcar_du_group
structure, in many cases just to access the DU device context.

To better separate the groups out of the CRTC handling code, give the
rcar_du_crtc its own pointer to the device and remove the indirection
through the group pointers.

Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
drivers/gpu/drm/rcar-du/rcar_du_crtc.c
drivers/gpu/drm/rcar-du/rcar_du_crtc.h
drivers/gpu/drm/rcar-du/rcar_du_vsp.c