]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: plane: Fix RGB565 format on older Tegra
authorThierry Reding <treding@nvidia.com>
Thu, 15 Mar 2018 10:09:35 +0000 (11:09 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 15 Mar 2018 10:33:47 +0000 (11:33 +0100)
commit9829f93168b89afc8ce6f73fc2f1b5259c3e9928
treede722a42e7063e494d45223e156766a86d6bbf08
parentae0945d7fbe5a6a5e767169d0c9ca622784b3c38
drm/tegra: plane: Fix RGB565 format on older Tegra

The opaque/alpha format conversion code is currently only looking at
XRGB formats because they have an equivalent ARGB format. The opaque
format for RGB565 is RGB565 itself, much like the YUV formats map to
themselves.

Reported-by: Dmitry Osipenko <digetx@gmail.com>
Fixes: 155c126de45c ("drm/tegra: dc: Implement legacy blending")
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/plane.c