]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: dc: Implement legacy blending
authorThierry Reding <treding@nvidia.com>
Wed, 20 Dec 2017 08:39:14 +0000 (09:39 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 21 Dec 2017 13:55:55 +0000 (14:55 +0100)
commit155c126de45c22687de9ca1450856bcec18ee80d
treefbe41c4c436502a2f073a3c352d3b14a3886cf15
parentb048dcb1743b2ac1a6d238c15eff052348a24196
drm/tegra: dc: Implement legacy blending

This implements alpha blending on legacy display controllers (Tegra20,
Tegra30 and Tegra114). While it's theoretically possible to support the
zpos property to enable userspace to specify the Z-order of each plane
individually, this is not currently supported and the same fixed Z-
order as previously defined is used.

Reverts commit 5255f55e6741 ("drm/tegra: fb: Force alpha formats") since
the opaque formats are now supported.

Reported-by: Dmitry Osipenko <digetx@gmail.com>
Fixes: e26cd2c20b32 ("drm/tegra: Support ARGB and ABGR formats")
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/dc.c
drivers/gpu/drm/tegra/dc.h
drivers/gpu/drm/tegra/fb.c
drivers/gpu/drm/tegra/plane.c
drivers/gpu/drm/tegra/plane.h