[PATCH] drm/panel: simple: fix bpc for g121i1-l01

Lucas Stach l.stach at pengutronix.de
Wed Dec 8 19:40:10 UTC 2021


While the panel is only capable of showing 6bpc, the bus interface is
8bpc.

Signed-off-by: Lucas Stach <l.stach at 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 --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,
-- 
2.30.2



More information about the dri-devel mailing list