diff options
author | Aishwarya Kothari <aishwarya.kothari@toradex.com> | 2022-08-31 16:16:22 +0200 |
---|---|---|
committer | Douglas Anderson <dianders@chromium.org> | 2022-11-10 07:29:45 -0800 |
commit | 876153ab068b2507a19aa3ef481f5b00a2cc780f (patch) | |
tree | 9df6aa73c03c76c71cdb11ffedd3da449583dd6c /drivers/gpu | |
parent | dba9e3467425800f9d3a14e8b6a0f85c731c1650 (diff) | |
download | lwn-876153ab068b2507a19aa3ef481f5b00a2cc780f.tar.gz lwn-876153ab068b2507a19aa3ef481f5b00a2cc780f.zip |
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: 5728fe7fa539 ("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
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/panel/panel-simple.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 2944228a8e2c..8a3b685c2fcc 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -2500,6 +2500,7 @@ static const struct display_timing logictechno_lt161010_2nh_timing = { static const struct panel_desc logictechno_lt161010_2nh = { .timings = &logictechno_lt161010_2nh_timing, .num_timings = 1, + .bpc = 6, .size = { .width = 154, .height = 86, @@ -2529,6 +2530,7 @@ static const struct display_timing logictechno_lt170410_2whc_timing = { static const struct panel_desc logictechno_lt170410_2whc = { .timings = &logictechno_lt170410_2whc_timing, .num_timings = 1, + .bpc = 8, .size = { .width = 217, .height = 136, |