drm: vc4: Add 3:3:2 and 4:4:4:4 RGB/RGBX/RGBA formats
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Fri, 3 Jun 2022 15:57:04 +0000 (16:57 +0100)
committerPhil Elwell <8911409+pelwell@users.noreply.github.com>
Mon, 6 Jun 2022 19:33:59 +0000 (20:33 +0100)
commit9b33721de321fc39a9c775f6f8fc4d0cc9ca9a65
tree6b9d3dff0a6d13f41e3d697f934644f62ca16572
parent3731be698f07e9ec9bc02e21909588e09e2a28ce
drm: vc4: Add 3:3:2 and 4:4:4:4 RGB/RGBX/RGBA formats

The hardware supports the 332 8bpp and 4:4:4:4 16bpp formats,
but the table of supported formats didn't include them.
Add them in.

In theory they are supported for T-format as well as linear,
but without a way to test them just add them as linear for now.

Suggested-by: vrazzer <teamvraz@pipmail.net>
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
drivers/gpu/drm/vc4/vc4_plane.c