drm/vc4: Add support for plane alpha
authorStefan Schake <stschake@gmail.com>
Sat, 21 Apr 2018 00:09:54 +0000 (17:09 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 23 Apr 2018 17:51:53 +0000 (10:51 -0700)
commit22445f0316a253406472ddcda98c3341b1eebaf4
treefc2d47bda32852c344d3df4c4ea5a5c23c3e2e82
parent9f900de31dcc14b3c5765a383ef52b9efba7f542
drm/vc4: Add support for plane alpha

The HVS supports mixing fixed alpha with per-pixel alpha or
setting a fixed plane alpha in case there is no per-pixel information.
This allows us to support the generic DRM plane alpha property.

Signed-off-by: Stefan Schake <stschake@gmail.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20180421000954.18936-1-stschake@gmail.com
drivers/gpu/drm/vc4/vc4_plane.c
drivers/gpu/drm/vc4/vc4_regs.h