]> git.baikalelectronics.ru Git - kernel.git/commit
drm: tidss: Fix pixel format definition
authorRandolph Sapp <rs@ti.com>
Fri, 2 Dec 2022 00:18:03 +0000 (18:18 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Mar 2023 08:33:09 +0000 (09:33 +0100)
commit45857d819b49596276af4e2fd2c20054cf2c4715
tree34c55e11d52d56fc7b6687e48fcbf71b3b4f103c
parent52ada5c699d66cd11c66b2e47af69ecf6a54252b
drm: tidss: Fix pixel format definition

[ Upstream commit 3ef9b3d43652333b02dfcb1a2f1ac34eded0894f ]

There was a long-standing bug from a typo that created 2 ARGB1555 and
ABGR1555 pixel format entries. Weston 10 has a sanity check that alerted
me to this issue.

According to the Supported Pixel Data formats table we have the later
entries should have been for Alpha-X instead.

Signed-off-by: Randolph Sapp <rs@ti.com>
Fixes: e2af2a1349e085 ("drm/tidss: New driver for TI Keystone platform Display SubSystem")
Reviewed-by: Aradhya Bhatia <a-bhatia1@ti.com>
Acked-by: Andrew Davis <afd@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221202001803.1765805-1-rs@ti.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/tidss/tidss_dispc.c