drm/mgag200: Enable DRM_FORMAT_XRGB1555 on the primary plane
authorThomas Zimmermann <tzimmermann@suse.de>
Wed, 15 Apr 2026 15:23:40 +0000 (17:23 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Mon, 20 Apr 2026 07:15:57 +0000 (09:15 +0200)
commit3f9357c30a44734d45e3093c521d52b2aefb09f5
treeec45ce18b5de5228b0101ad454f06a392458c454
parent8f1892256706bf0b89c9223fcb8579300aa56196
drm/mgag200: Enable DRM_FORMAT_XRGB1555 on the primary plane

The driver already sets the format for the depth value in the XMULCTRL
register. Add the format to the other switch statements, set the helpers
for gamma correction and export the XRGB1555 in the primary plane's
format array.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Link: https://patch.msgid.link/20260415152625.101710-7-tzimmermann@suse.de
drivers/gpu/drm/mgag200/mgag200_g200se.c
drivers/gpu/drm/mgag200/mgag200_mode.c