Commit f275958e authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Greg Kroah-Hartman

drm: panel: simple: Fix bpc for LG LB070WV8 panel

[ Upstream commit a6ae2fe5 ]

The LG LB070WV8 panel incorrectly reports a 16 bits per component value,
while the panel uses 8 bits per component. Fix it.

Fixes: dd015002 ("drm/panel: simple: Add support for LG LB070WV8 800x480 7" panel")
Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200711225317.28476-1-laurent.pinchart+renesas@ideasonboard.comSigned-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 92887e8b
...@@ -1503,7 +1503,7 @@ static const struct drm_display_mode lg_lb070wv8_mode = { ...@@ -1503,7 +1503,7 @@ static const struct drm_display_mode lg_lb070wv8_mode = {
static const struct panel_desc lg_lb070wv8 = { static const struct panel_desc lg_lb070wv8 = {
.modes = &lg_lb070wv8_mode, .modes = &lg_lb070wv8_mode,
.num_modes = 1, .num_modes = 1,
.bpc = 16, .bpc = 8,
.size = { .size = {
.width = 151, .width = 151,
.height = 91, .height = 91,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment