drm/panel-simple: Populate bpc when using panel-dpi
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Thu, 2 Dec 2021 18:10:55 +0000 (18:10 +0000)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:33:15 +0000 (11:33 +0000)
commitde13cb8cd10129d09eae4ed8954c803707a7c5ea
tree1b9e661f76d7d67e6054394f266fcf23b8f09d97
parent19c999f4ea4ecfb81d923f0feedbf739174900c7
drm/panel-simple: Populate bpc when using panel-dpi

panel-dpi doesn't know the bit depth, so in the same way that
DPI is guessed for the connector type, guess that it'll be 8bpc.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
drivers/gpu/drm/panel/panel-simple.c