diff mbox series

drm: panel: simple: specify bpc for powertip_ph800480t013_idf02

Message ID 20210607200800.2147207-1-dmitry.baryshkov@linaro.org
State Accepted
Commit 65f4937fc8a8fce8d6b483c289b18abb09b777ff
Headers show
Series drm: panel: simple: specify bpc for powertip_ph800480t013_idf02 | expand

Commit Message

Dmitry Baryshkov June 7, 2021, 8:08 p.m. UTC
Specify bpc value for the powertip_ph800480t013_idf02 panel to stop drm
code from complaining about unexpected bpc value (0).

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 drivers/gpu/drm/panel/panel-simple.c | 1 +
 1 file changed, 1 insertion(+)

-- 
2.30.2
diff mbox series

Patch

diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index 4e2dad314c79..e273bc2ab6b1 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -3317,6 +3317,7 @@  static const struct drm_display_mode powertip_ph800480t013_idf02_mode = {
 static const struct panel_desc powertip_ph800480t013_idf02  = {
 	.modes = &powertip_ph800480t013_idf02_mode,
 	.num_modes = 1,
+	.bpc = 8,
 	.size = {
 		.width = 152,
 		.height = 91,