diff mbox series

drm/panel: simple: fix bpc for g121i1-l01

Message ID 20211208194010.410213-1-l.stach@pengutronix.de (mailing list archive)
State New, archived
Headers show
Series drm/panel: simple: fix bpc for g121i1-l01 | expand

Commit Message

Lucas Stach Dec. 8, 2021, 7:40 p.m. UTC
While the panel is only capable of showing 6bpc, the bus interface is
8bpc.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
It seems there is no totally solid definition on what the panel bpc
should describe, bus or panel information, but this is the notion
currently enforced by the simple panel driver.
---
 drivers/gpu/drm/panel/panel-simple.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index eb475a3a774b..c4914c3e3468 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -2075,7 +2075,7 @@  static const struct display_timing innolux_g121i1_l01_timing = {
 static const struct panel_desc innolux_g121i1_l01 = {
 	.timings = &innolux_g121i1_l01_timing,
 	.num_timings = 1,
-	.bpc = 6,
+	.bpc = 8,
 	.size = {
 		.width = 261,
 		.height = 163,