Commit 2df0433b authored by Randolph Sapp's avatar Randolph Sapp Committed by Tomi Valkeinen
Browse files

drm: tidss: Fix pixel format definition



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: default avatarRandolph Sapp <rs@ti.com>
Fixes: 32a1795f ("drm/tidss: New driver for TI Keystone platform Display SubSystem")
Reviewed-by: default avatarAradhya Bhatia <a-bhatia1@ti.com>
Acked-by: default avatarAndrew Davis <afd@ti.com>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221202001803.1765805-1-rs@ti.com
parent 85528a44
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1858,8 +1858,8 @@ static const struct {
	{ DRM_FORMAT_XBGR4444, 0x21, },
	{ DRM_FORMAT_RGBX4444, 0x22, },

	{ DRM_FORMAT_ARGB1555, 0x25, },
	{ DRM_FORMAT_ABGR1555, 0x26, },
	{ DRM_FORMAT_XRGB1555, 0x25, },
	{ DRM_FORMAT_XBGR1555, 0x26, },

	{ DRM_FORMAT_XRGB8888, 0x27, },
	{ DRM_FORMAT_XBGR8888, 0x28, },