Skip to content

Commit

Permalink
DRM: ARC: PGU: add ARGB8888 format to supported format list
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Eugeniy Paltsev authored and Alexey Brodkin committed Dec 16, 2019
1 parent 5908a3b commit 0ff916e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/arc/arcpgu_crtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0ff916e

Please sign in to comment.