OSDN Git Service

drm/vc4: dpi: Change the default DPI format to being 18bpp, not 24.
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Thu, 1 Dec 2022 08:42:51 +0000 (09:42 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Thu, 1 Dec 2022 10:13:56 +0000 (11:13 +0100)
commit0c9a31b8f93b93f6c42848f4cd8e7ad6a04ce9ae
tree4ac2c08686bc8ea2ca7bca2e312a81ed4aea7fe5
parent465bf9b769ed6cd886a58abc06bccfcefeb55df4
drm/vc4: dpi: Change the default DPI format to being 18bpp, not 24.

DPI hasn't really been used up until now, so the default has
been meaningless.
In theory we should be able to pass the desired format for the
adjacent bridge chip through, but framework seems to be missing
for that.

As the main device to use DPI is the VGA666 or Adafruit Kippah,
both of which use RGB666, change the default to being RGB666 instead
of RGB888.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://lore.kernel.org/r/20221013-rpi-dpi-improvements-v3-6-eb76e26a772d@cerno.tech
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
drivers/gpu/drm/vc4/vc4_dpi.c