[igt-dev] [PATCH v6 05/13] fb: Fix ARGB8888 color depth

Maxime Ripard maxime.ripard at bootlin.com
Wed Sep 5 09:35:49 UTC 2018


On Fri, Aug 31, 2018 at 04:42:18PM +0300, Ville Syrjälä wrote:
> On Fri, Aug 31, 2018 at 03:12:14PM +0200, Maxime Ripard wrote:
> > The ARGB8888 has been listed as having a 32 bits depth, while it actually
> > is a 24 bits format. Fix this.
> 
> I think 32 is the more usual definition for this.

Isn't color depth about the color itself? I guess alpha wouldn't apply
in this case.

In the same format list:
  - RGB565 has a depth of 16
  - XRGB8888 has a depth of 24
  - XRGB2101010 has a depth of 30
  - ARGB8888 has a depth of 32

Which seems to indicate that the list indeed meant that the color
depth is about the color, and that ARGB8888 is wrong.

Maxime

-- 
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/igt-dev/attachments/20180905/1e6c39b9/attachment.sig>


More information about the igt-dev mailing list