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>
Wed, 1 Jul 2020 15:32:58 +0000 (16:32 +0100)
commit41938aeeaadb4e63d2c506087f0360d62d569826
treeef7ca48d52249e4b99c1d13b7af2d891f9457803
parent470c237307c743cd1d1df8e30b7fe0a27358f657
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