Skip to content

Commit 876153a

Browse files
Aishwarya Kotharidianders
authored andcommitted
drm/panel: simple: set bpc field for logic technologies displays
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 <[email protected]> Signed-off-by: Francesco Dolcini <[email protected]> Signed-off-by: Douglas Anderson <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent dba9e34 commit 876153a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2500,6 +2500,7 @@ static const struct display_timing logictechno_lt161010_2nh_timing = {
25002500
static const struct panel_desc logictechno_lt161010_2nh = {
25012501
.timings = &logictechno_lt161010_2nh_timing,
25022502
.num_timings = 1,
2503+
.bpc = 6,
25032504
.size = {
25042505
.width = 154,
25052506
.height = 86,
@@ -2529,6 +2530,7 @@ static const struct display_timing logictechno_lt170410_2whc_timing = {
25292530
static const struct panel_desc logictechno_lt170410_2whc = {
25302531
.timings = &logictechno_lt170410_2whc_timing,
25312532
.num_timings = 1,
2533+
.bpc = 8,
25322534
.size = {
25332535
.width = 217,
25342536
.height = 136,

0 commit comments

Comments
 (0)