Commit d7a839cd authored by Thierry Reding's avatar Thierry Reding

drm/panel: simple: Add missing .bpc fields

Various panels were missing the .bpc field which encodes the number of
bits per color. Not every display driver relies on this value, but since
the panels can be used with any display engine it must be specified so
that if a driver knows how to differentiate based on this field it can
do so.
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent e35e305e
...@@ -431,6 +431,7 @@ static const struct drm_display_mode auo_b133htn01_mode = { ...@@ -431,6 +431,7 @@ static const struct drm_display_mode auo_b133htn01_mode = {
static const struct panel_desc auo_b133htn01 = { static const struct panel_desc auo_b133htn01 = {
.modes = &auo_b133htn01_mode, .modes = &auo_b133htn01_mode,
.num_modes = 1, .num_modes = 1,
.bpc = 6,
.size = { .size = {
.width = 293, .width = 293,
.height = 165, .height = 165,
...@@ -552,6 +553,7 @@ static const struct drm_display_mode foxlink_fl500wvr00_a0t_mode = { ...@@ -552,6 +553,7 @@ static const struct drm_display_mode foxlink_fl500wvr00_a0t_mode = {
static const struct panel_desc foxlink_fl500wvr00_a0t = { static const struct panel_desc foxlink_fl500wvr00_a0t = {
.modes = &foxlink_fl500wvr00_a0t_mode, .modes = &foxlink_fl500wvr00_a0t_mode,
.num_modes = 1, .num_modes = 1,
.bpc = 8,
.size = { .size = {
.width = 108, .width = 108,
.height = 65, .height = 65,
...@@ -786,6 +788,7 @@ static const struct panel_desc_dsi lg_ld070wx3_sl01 = { ...@@ -786,6 +788,7 @@ static const struct panel_desc_dsi lg_ld070wx3_sl01 = {
.desc = { .desc = {
.modes = &lg_ld070wx3_sl01_mode, .modes = &lg_ld070wx3_sl01_mode,
.num_modes = 1, .num_modes = 1,
.bpc = 8,
.size = { .size = {
.width = 94, .width = 94,
.height = 151, .height = 151,
...@@ -813,6 +816,7 @@ static const struct panel_desc_dsi lg_lh500wx1_sd03 = { ...@@ -813,6 +816,7 @@ static const struct panel_desc_dsi lg_lh500wx1_sd03 = {
.desc = { .desc = {
.modes = &lg_lh500wx1_sd03_mode, .modes = &lg_lh500wx1_sd03_mode,
.num_modes = 1, .num_modes = 1,
.bpc = 8,
.size = { .size = {
.width = 62, .width = 62,
.height = 110, .height = 110,
...@@ -840,6 +844,7 @@ static const struct panel_desc_dsi panasonic_vvx10f004b00 = { ...@@ -840,6 +844,7 @@ static const struct panel_desc_dsi panasonic_vvx10f004b00 = {
.desc = { .desc = {
.modes = &panasonic_vvx10f004b00_mode, .modes = &panasonic_vvx10f004b00_mode,
.num_modes = 1, .num_modes = 1,
.bpc = 8,
.size = { .size = {
.width = 217, .width = 217,
.height = 136, .height = 136,
......
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