OSDN Git Service

drm: rcar-du: Implement universal plane support
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 17 Feb 2015 16:34:17 +0000 (18:34 +0200)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 3 Mar 2015 14:16:08 +0000 (16:16 +0200)
commit917de180379da229c8c37fa790b76d0353576581
tree19a68363ceb3011a156783f6b8229c3477ddb775
parenta64b9c7e56590248445ee23f835309ede500d019
drm: rcar-du: Implement universal plane support

Explicitly create the CRTC primary plane instead of relying on the core
helpers to do so. This simplifies the plane logic by merging the KMS and
software planes.

Reject plane API operations on the primary planes for now, as that code
will anyway be refactored when implementing support for atomic updates.

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_kms.c
drivers/gpu/drm/rcar-du/rcar_du_plane.c
drivers/gpu/drm/rcar-du/rcar_du_plane.h