From: Eugeniy Paltsev Date: Tue, 19 Nov 2019 14:41:47 +0000 (+0300) Subject: DRM: ARC: PGU: add ARGB8888 format to supported format list X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=0ff916e2ef6fb742e4906aac26c470314b59bae8;p=linux.git DRM: ARC: PGU: add ARGB8888 format to supported format list As we ignore first 8 bit of 32 bit pixel value we can add ARGB8888 format as alias of XRGB8888. Signed-off-by: Eugeniy Paltsev Signed-off-by: Alexey Brodkin --- diff --git a/drivers/gpu/drm/arc/arcpgu_crtc.c b/drivers/gpu/drm/arc/arcpgu_crtc.c index 980e00180e6fe..8ae1e1f97a735 100644 --- a/drivers/gpu/drm/arc/arcpgu_crtc.c +++ b/drivers/gpu/drm/arc/arcpgu_crtc.c @@ -23,6 +23,7 @@ static const u32 arc_pgu_supported_formats[] = { DRM_FORMAT_RGB565, DRM_FORMAT_XRGB8888, + DRM_FORMAT_ARGB8888, }; static void arc_pgu_set_pxl_fmt(struct drm_crtc *crtc)