Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1584394

[RESEND PATCH v7 6/7] drm/rockchip/dsi: fix insufficient bandwidth of some panel

From Chris Zhong <zyw@rock-chips.com>
Newsgroups linux.kernel
Subject [RESEND PATCH v7 6/7] drm/rockchip/dsi: fix insufficient bandwidth of some panel
Date 2017-02-20 09:10 +0100
Message-ID <tcRcK-27h-29@gated-at.bofh.it> (permalink)
References <tcRcJ-27h-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Set the lanes bps to 1 / 0.9 times of pclk, the margin is not enough
for some panel, it will cause the screen display is not normal, so
increases the badnwidth to 1 / 0.8.

Signed-off-by: Chris Zhong <zyw@rock-chips.com>
---

Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3: None

 drivers/gpu/drm/rockchip/dw-mipi-dsi.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/rockchip/dw-mipi-dsi.c b/drivers/gpu/drm/rockchip/dw-mipi-dsi.c
index c2d7674..a653384 100644
--- a/drivers/gpu/drm/rockchip/dw-mipi-dsi.c
+++ b/drivers/gpu/drm/rockchip/dw-mipi-dsi.c
@@ -532,8 +532,8 @@ static int dw_mipi_dsi_get_lane_bps(struct dw_mipi_dsi *dsi,
 
 	mpclk = DIV_ROUND_UP(mode->clock, MSEC_PER_SEC);
 	if (mpclk) {
-		/* take 1 / 0.9, since mbps must big than bandwidth of RGB */
-		tmp = mpclk * (bpp / dsi->lanes) * 10 / 9;
+		/* take 1 / 0.8, since mbps must big than bandwidth of RGB */
+		tmp = mpclk * (bpp / dsi->lanes) * 10 / 8;
 		if (tmp < max_mbps)
 			target_mbps = tmp;
 		else
-- 
2.6.3

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[RESEND PATCH v7 0/7] Rockchip dw-mipi-dsi driver Chris Zhong <zyw@rock-chips.com> - 2017-02-20 09:10 +0100
  [RESEND PATCH v7 6/7] drm/rockchip/dsi: fix insufficient bandwidth of some panel Chris Zhong <zyw@rock-chips.com> - 2017-02-20 09:10 +0100
    Re: [RESEND PATCH v7 6/7] drm/rockchip/dsi: fix insufficient  bandwidth of some panel Sean Paul <seanpaul@chromium.org> - 2017-02-21 16:50 +0100
  [RESEND PATCH v7 1/7] dt-bindings: add rk3399 support for dw-mipi-rockchip Chris Zhong <zyw@rock-chips.com> - 2017-02-20 09:10 +0100
  [RESEND PATCH v7 7/7] drm/rockchip/dsi: add dw-mipi power domain support Chris Zhong <zyw@rock-chips.com> - 2017-02-20 09:10 +0100
  Re: [RESEND PATCH v7 0/7] Rockchip dw-mipi-dsi driver Sean Paul <seanpaul@chromium.org> - 2017-02-21 16:40 +0100
    Re: [RESEND PATCH v7 0/7] Rockchip dw-mipi-dsi driver Chris Zhong <zyw@rock-chips.com> - 2017-02-22 02:50 +0100
    Re: [RESEND PATCH v7 0/7] Rockchip dw-mipi-dsi driver John Keeping <john@metanate.com> - 2017-02-22 14:50 +0100
      Re: [RESEND PATCH v7 0/7] Rockchip dw-mipi-dsi driver Sean Paul <seanpaul@chromium.org> - 2017-02-22 17:00 +0100
        Re: [RESEND PATCH v7 0/7] Rockchip dw-mipi-dsi driver John Keeping <john@metanate.com> - 2017-02-22 20:00 +0100
          Re: [RESEND PATCH v7 0/7] Rockchip dw-mipi-dsi driver Sean Paul <seanpaul@chromium.org> - 2017-02-22 23:20 +0100
            Re: [RESEND PATCH v7 0/7] Rockchip dw-mipi-dsi driver Chris Zhong <zyw@rock-chips.com> - 2017-02-23 01:30 +0100

csiph-web