summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/panel
diff options
context:
space:
mode:
authorDaniel Kurtz <djkurtz@chromium.org>2014-09-02 10:56:46 +0800
committerThierry Reding <treding@nvidia.com>2014-11-07 15:37:21 +0100
commit7fe8c7778f7382400544a5a4252a07b5c093d187 (patch)
treeb5bfeec2f55ad07f646c884d212c4d6d049e58f3 /drivers/gpu/drm/panel
parent61ac0bf89d74e92b086eb147e5a5aed5b37ad396 (diff)
downloadop-kernel-dev-7fe8c7778f7382400544a5a4252a07b5c093d187.zip
op-kernel-dev-7fe8c7778f7382400544a5a4252a07b5c093d187.tar.gz
drm/panel: simple: Update Innolux N116BGE timings
There are several different models of N116BGE. According to commit 0a2288c06aab ("drm/panel: simple: Add Innolux N116BGE panel support"), the video timings are for the eDP variant. The clock and htotal values added by that patch are out of spec according to the datasheets I have seen for the eDP N116BGE (-EA2 and -EB2). This patch changes the values to the "Typ" values on the datasheet. Signed-off-by: Daniel Kurtz <djkurtz@chromium.org> [tested that these timings work with the Tegra132 Norrin 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.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index 965114b..ce4eb25 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -630,15 +630,15 @@ static const struct panel_desc innolux_g121i1_l01 = {
};
static const struct drm_display_mode innolux_n116bge_mode = {
- .clock = 71000,
+ .clock = 76420,
.hdisplay = 1366,
- .hsync_start = 1366 + 64,
- .hsync_end = 1366 + 64 + 6,
- .htotal = 1366 + 64 + 6 + 64,
+ .hsync_start = 1366 + 136,
+ .hsync_end = 1366 + 136 + 30,
+ .htotal = 1366 + 136 + 30 + 60,
.vdisplay = 768,
.vsync_start = 768 + 8,
- .vsync_end = 768 + 8 + 4,
- .vtotal = 768 + 8 + 4 + 8,
+ .vsync_end = 768 + 8 + 12,
+ .vtotal = 768 + 8 + 12 + 12,
.vrefresh = 60,
.flags = DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_NVSYNC,
};
OpenPOWER on IntegriCloud