]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drm: add RGB formats with separate alpha plane
authorPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 9 Jan 2015 10:05:13 +0000 (11:05 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 15 Mar 2017 14:42:30 +0000 (15:42 +0100)
commitba2b5277dc52cc96944d9765281bdf1e12681f66
tree2d7a6e9ec733b1ae310edb76a3598f3b4384d67e
parenteb8c88808c8307b05ce42e101753cb2518c6d14e
drm: add RGB formats with separate alpha plane

Some hardware can read the alpha components separately and then
conditionally fetch color components only for non-zero alpha values.
This patch adds fourcc definitions for two-plane RGB formats with an
8-bit alpha channel on a second plane.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/drm/drm_fourcc.c
include/uapi/drm/drm_fourcc.h