Skip to content

Commit 45c3006

Browse files
Aishwarya Kotharigregkh
authored andcommitted
drm/panel: simple: set bpc field for logic technologies displays
[ Upstream commit 876153a ] In case bpc is not set for a panel it then throws a WARN(). Add bpc to the panels logictechno_lt170410_2whc and logictechno_lt161010_2nh. Fixes: 5728fe7 ("drm/panel: simple: add display timings for logic technologies displays") Signed-off-by: Aishwarya Kothari <aishwarya.kothari@toradex.com> Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com> Signed-off-by: Douglas Anderson <dianders@chromium.org> Link: https://patchwork.freedesktop.org/patch/msgid/20220831141622.39605-1-francesco.dolcini@toradex.com Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 779f3f9 commit 45c3006

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/gpu/drm/panel/panel-simple.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3090,6 +3090,7 @@ static const struct display_timing logictechno_lt161010_2nh_timing = {
30903090
static const struct panel_desc logictechno_lt161010_2nh = {
30913091
.timings = &logictechno_lt161010_2nh_timing,
30923092
.num_timings = 1,
3093+
.bpc = 6,
30933094
.size = {
30943095
.width = 154,
30953096
.height = 86,
@@ -3119,6 +3120,7 @@ static const struct display_timing logictechno_lt170410_2whc_timing = {
31193120
static const struct panel_desc logictechno_lt170410_2whc = {
31203121
.timings = &logictechno_lt170410_2whc_timing,
31213122
.num_timings = 1,
3123+
.bpc = 8,
31223124
.size = {
31233125
.width = 217,
31243126
.height = 136,

0 commit comments

Comments
 (0)