From: Thierry Reding Date: Fri, 10 Jun 2016 13:33:13 +0000 (+0200) Subject: drm/panel: simple: Fix a couple of physical sizes X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=8159884644919fd108580f2eba758fd604ef4593;p=deliverable%2Flinux.git 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 --- 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 = { .num_modes = 1, .bpc = 6, .size = { - .width = 1024, - .height = 600, + .width = 154, + .height = 90, }, }; @@ -1242,8 +1242,8 @@ static const struct panel_desc samsung_ltn101nt05 = { .num_modes = 1, .bpc = 6, .size = { - .width = 1024, - .height = 600, + .width = 223, + .height = 125, }, };