aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/panel
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2016-06-10 09:33:13 -0400
committerThierry Reding <treding@nvidia.com>2016-06-10 09:33:13 -0400
commit8159884644919fd108580f2eba758fd604ef4593 (patch)
tree61d71242bfcf4253619f4f1e9daff47944582ca3 /drivers/gpu/drm/panel
parent1a695a905c18548062509178b98bc91e67510864 (diff)
drm/panel: simple: Fix a couple of physical sizes
Both the Innolux ZJ070NA-01P and Samsung LTN101NT05 were listing the horizontal and vertical resolutions in the size.width and size.height fields, whereas they should contain the physical dimensions of the panel. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/panel')
-rw-r--r--drivers/gpu/drm/panel/panel-simple.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index 3a7bdf1c842b..0e7c676913c6 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -964,8 +964,8 @@ static const struct panel_desc innolux_zj070na_01p = {
964 .num_modes = 1, 964 .num_modes = 1,
965 .bpc = 6, 965 .bpc = 6,
966 .size = { 966 .size = {
967 .width = 1024, 967 .width = 154,
968 .height = 600, 968 .height = 90,
969 }, 969 },
970}; 970};
971 971
@@ -1242,8 +1242,8 @@ static const struct panel_desc samsung_ltn101nt05 = {
1242 .num_modes = 1, 1242 .num_modes = 1,
1243 .bpc = 6, 1243 .bpc = 6,
1244 .size = { 1244 .size = {
1245 .width = 1024, 1245 .width = 223,
1246 .height = 600, 1246 .height = 125,
1247 }, 1247 },
1248}; 1248};
1249 1249