[WIP] drm/starfive: Support DRM_FORMAT_XRGB8888
authorEmil Renner Berthing <kernel@esmil.dk>
Wed, 22 Sep 2021 14:35:15 +0000 (16:35 +0200)
committerŁukasz Stelmach <l.stelmach@samsung.com>
Thu, 9 Feb 2023 19:07:48 +0000 (20:07 +0100)
commit787f3302b3325d338fde794aa2ceb0cd20c15708
tree205d501d0379caabb7856b5a77d58859fbcebffc
parente8bb7837a710fd339bd42165cf0ec291689026f9
[WIP] drm/starfive: Support DRM_FORMAT_XRGB8888

When creating dumb buffers with 32bpp and 24bit colour depth this is
default mode return by drm_mode_legacy_fb_format. So we need to support
this for common dumb buffers to just work.

Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
drivers/gpu/drm/starfive/starfive_drm_crtc.c
drivers/gpu/drm/starfive/starfive_drm_plane.c