Skip to content

Commit 0ff916e

Browse files
Eugeniy Paltsevabrodkin
authored andcommitted
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 <Eugeniy.Paltsev@synopsys.com> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
1 parent 5908a3b commit 0ff916e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎drivers/gpu/drm/arc/arcpgu_crtc.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
static const u32 arc_pgu_supported_formats[] = {
2424
DRM_FORMAT_RGB565,
2525
DRM_FORMAT_XRGB8888,
26+
DRM_FORMAT_ARGB8888,
2627
};
2728

2829
static void arc_pgu_set_pxl_fmt(struct drm_crtc *crtc)

0 commit comments

Comments
 (0)