summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Green <andy.green@linaro.org>2015-06-18 17:10:16 +0800
committerAndy Green <andy.green@linaro.org>2015-06-18 17:10:16 +0800
commit7defc594809137fc851441a1d72cdbc174417ea2 (patch)
tree1b0fe969dedcb994d61ad9bfda294b4eb458fdb5
parent7bef28b1452121117f6be6d05f0d621543a5cee2 (diff)
drm hisi remove all LP DSI timemainline-basis-test-2015-06-18-1mainline-basis
Signed-off-by: Andy Green <andy.green@linaro.org>
-rw-r--r--drivers/gpu/drm/hisilicon/hisi_drm_dsi.c17
1 files changed, 3 insertions, 14 deletions
diff --git a/drivers/gpu/drm/hisilicon/hisi_drm_dsi.c b/drivers/gpu/drm/hisilicon/hisi_drm_dsi.c
index 9642b209e2ba..8e0fa5fbcf29 100644
--- a/drivers/gpu/drm/hisilicon/hisi_drm_dsi.c
+++ b/drivers/gpu/drm/hisilicon/hisi_drm_dsi.c
@@ -708,21 +708,10 @@ standard 1280 720 1650 750 110 40 220 5 20 5
dsi->vm.vactive, refresh);
if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO) {
- set_MIPIDSI_VID_MODE_CFG_lp_vsa_en(!(dsi->vm.vactive == 720 &&
- refresh == 50) && !(
- dsi->vm.vactive == 1080 &&
- refresh == 60));
- set_MIPIDSI_VID_MODE_CFG_lp_vbp_en(dsi->vm.vactive == 720 &&
- refresh != 50);
- set_MIPIDSI_VID_MODE_CFG_lp_vfp_en((dsi->vm.vactive == 1080 &&
- refresh != 60) ||
- (dsi->vm.vactive == 720 &&
- refresh != 50));
-
- //disabling this made 1080p60 happy too
+ set_MIPIDSI_VID_MODE_CFG_lp_vsa_en(0);
+ set_MIPIDSI_VID_MODE_CFG_lp_vbp_en(0);
+ set_MIPIDSI_VID_MODE_CFG_lp_vfp_en(0);
set_MIPIDSI_VID_MODE_CFG_lp_vact_en(0);
- // these two only make trouble...
- // disabling this removes the ~100px offset on 1080p50
set_MIPIDSI_VID_MODE_CFG_lp_hbp_en(0);
set_MIPIDSI_VID_MODE_CFG_lp_hfp_en(0);