Commit b6134a41 authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Kelsey Skunberg

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

BugLink: https://bugs.launchpad.net/bugs/1892822

[ 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>
Signed-off-by: default avatarKhalid Elmously <khalid.elmously@canonical.com>
Signed-off-by: default avatarIan May <ian.may@canonical.com>
Signed-off-by: default avatarKelsey Skunberg <kelsey.skunberg@canonical.com>
parent 34d4dd3a
...@@ -920,7 +920,7 @@ static const struct drm_display_mode lg_lb070wv8_mode = { ...@@ -920,7 +920,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