drm: vc4: Add an overlay plane to vc4-firmware-kms
authorDave Stevenson <dave.stevenson@raspberrypi.org>
Wed, 27 Mar 2019 17:45:01 +0000 (17:45 +0000)
committerpopcornmix <popcornmix@gmail.com>
Thu, 13 Jun 2019 10:54:29 +0000 (11:54 +0100)
commit400fb9f6f59db3abd80716a8f116b9ab9e08814b
tree67cff60c529c13e295caf316ca4c0216f05da996
parentd635657254789e386fcef321ed6f71961c637311
drm: vc4: Add an overlay plane to vc4-firmware-kms

This uses a new API that is exposed via the mailbox service
to stick an element straight on the screen using DispmanX.

The primary and cursor planes have also been switched to using
the new plane API, and it supports layering based on the DRM
zpos parameter.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
drivers/gpu/drm/vc4/vc4_firmware_kms.c
drivers/gpu/drm/vc4/vc4_kms.c
drivers/gpu/drm/vc4/vc_image_types.h [new file with mode: 0644]
include/soc/bcm2835/raspberrypi-firmware.h