drm/rcar-du: Introduce CRTCs groups
The R8A7779 DU is split in per-CRTC resources (scan-out engine, blending
unit, timings generator, ...) and device-global resources (start/stop
control, planes, ...) shared between the two CRTCs.
The R8A7790 introduced a third CRTC with its own set of global resources
This would be modeled as two separate DU device instances if it wasn't
for a handful or resources that are shared between the three CRTCs
(mostly related to input and output routing). For this reason the
R8A7790 DU must be modeled as a single device with three CRTCs, two sets
of "semi-global" resources, and a few device-global resources.
Introduce a new rcar_du_group driver-specific object, without any real
counterpart in the DU documentation, that models those semi-global
resources.
Signed-off-by:
Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Showing
- drivers/gpu/drm/rcar-du/Makefile 1 addition, 0 deletionsdrivers/gpu/drm/rcar-du/Makefile
- drivers/gpu/drm/rcar-du/rcar_du_crtc.c 28 additions, 64 deletionsdrivers/gpu/drm/rcar-du/rcar_du_crtc.c
- drivers/gpu/drm/rcar-du/rcar_du_crtc.h 3 additions, 2 deletionsdrivers/gpu/drm/rcar-du/rcar_du_crtc.h
- drivers/gpu/drm/rcar-du/rcar_du_drv.c 0 additions, 46 deletionsdrivers/gpu/drm/rcar-du/rcar_du_drv.c
- drivers/gpu/drm/rcar-du/rcar_du_drv.h 3 additions, 7 deletionsdrivers/gpu/drm/rcar-du/rcar_du_drv.h
- drivers/gpu/drm/rcar-du/rcar_du_group.c 127 additions, 0 deletionsdrivers/gpu/drm/rcar-du/rcar_du_group.c
- drivers/gpu/drm/rcar-du/rcar_du_group.h 47 additions, 0 deletionsdrivers/gpu/drm/rcar-du/rcar_du_group.h
- drivers/gpu/drm/rcar-du/rcar_du_kms.c 7 additions, 4 deletionsdrivers/gpu/drm/rcar-du/rcar_du_kms.c
- drivers/gpu/drm/rcar-du/rcar_du_plane.c 79 additions, 76 deletionsdrivers/gpu/drm/rcar-du/rcar_du_plane.c
- drivers/gpu/drm/rcar-du/rcar_du_plane.h 4 additions, 4 deletionsdrivers/gpu/drm/rcar-du/rcar_du_plane.h
Loading
Please register or sign in to comment