[igt-dev] [PATCH v5 05/13] fb: Fix ARGB8888 color depth
Maxime Ripard
maxime.ripard at bootlin.com
Fri Aug 24 08:04:11 UTC 2018
The ARGB8888 has been listed as having a 32 bits depth, while it actually
is a 24 bits format. Fix this.
Signed-off-by: Maxime Ripard <maxime.ripard at bootlin.com>
---
lib/igt_fb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/igt_fb.c b/lib/igt_fb.c
index 9aee02c35c16..7d46cfdb45d8 100644
--- a/lib/igt_fb.c
+++ b/lib/igt_fb.c
@@ -80,7 +80,7 @@ static struct format_desc_struct {
.cairo_id = CAIRO_FORMAT_RGB30,
.num_planes = 1, .plane_bpp = { 32, },
},
- { .name = "ARGB8888", .depth = 32, .drm_id = DRM_FORMAT_ARGB8888,
+ { .name = "ARGB8888", .depth = 24, .drm_id = DRM_FORMAT_ARGB8888,
.cairo_id = CAIRO_FORMAT_ARGB32,
.num_planes = 1, .plane_bpp = { 32, },
},
--
git-series 0.9.1
More information about the igt-dev
mailing list