aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/panel
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2014-11-06 04:11:01 -0500
committerThierry Reding <treding@nvidia.com>2014-11-07 03:58:55 -0500
commitd7a839cde9acaa7252c75178bdbacce3cf12419c (patch)
treecabec5d8f13dcdfeec834e492e61a21de84228a3 /drivers/gpu/drm/panel
parente35e305eff0fda4ddd5cfbd8eea06948faa503af (diff)
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: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/panel')
-rw-r--r--drivers/gpu/drm/panel/panel-simple.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index f6d6ebc33e78..bc6a566b1f26 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -431,6 +431,7 @@ static const struct drm_display_mode auo_b133htn01_mode = {
431static const struct panel_desc auo_b133htn01 = { 431static const struct panel_desc auo_b133htn01 = {
432 .modes = &auo_b133htn01_mode, 432 .modes = &auo_b133htn01_mode,
433 .num_modes = 1, 433 .num_modes = 1,
434 .bpc = 6,
434 .size = { 435 .size = {
435 .width = 293, 436 .width = 293,
436 .height = 165, 437 .height = 165,
@@ -552,6 +553,7 @@ static const struct drm_display_mode foxlink_fl500wvr00_a0t_mode = {
552static const struct panel_desc foxlink_fl500wvr00_a0t = { 553static const struct panel_desc foxlink_fl500wvr00_a0t = {
553 .modes = &foxlink_fl500wvr00_a0t_mode, 554 .modes = &foxlink_fl500wvr00_a0t_mode,
554 .num_modes = 1, 555 .num_modes = 1,
556 .bpc = 8,
555 .size = { 557 .size = {
556 .width = 108, 558 .width = 108,
557 .height = 65, 559 .height = 65,
@@ -786,6 +788,7 @@ static const struct panel_desc_dsi lg_ld070wx3_sl01 = {
786 .desc = { 788 .desc = {
787 .modes = &lg_ld070wx3_sl01_mode, 789 .modes = &lg_ld070wx3_sl01_mode,
788 .num_modes = 1, 790 .num_modes = 1,
791 .bpc = 8,
789 .size = { 792 .size = {
790 .width = 94, 793 .width = 94,
791 .height = 151, 794 .height = 151,
@@ -813,6 +816,7 @@ static const struct panel_desc_dsi lg_lh500wx1_sd03 = {
813 .desc = { 816 .desc = {
814 .modes = &lg_lh500wx1_sd03_mode, 817 .modes = &lg_lh500wx1_sd03_mode,
815 .num_modes = 1, 818 .num_modes = 1,
819 .bpc = 8,
816 .size = { 820 .size = {
817 .width = 62, 821 .width = 62,
818 .height = 110, 822 .height = 110,
@@ -840,6 +844,7 @@ static const struct panel_desc_dsi panasonic_vvx10f004b00 = {
840 .desc = { 844 .desc = {
841 .modes = &panasonic_vvx10f004b00_mode, 845 .modes = &panasonic_vvx10f004b00_mode,
842 .num_modes = 1, 846 .num_modes = 1,
847 .bpc = 8,
843 .size = { 848 .size = {
844 .width = 217, 849 .width = 217,
845 .height = 136, 850 .height = 136,