From: Ulrich Hecht Subject: [RFC 14/21] v4l: vsp1: Change VSP1 LIF linebuffer FIFO Date: Mon, 30 May 2016 18:00:13 +0200 Message-ID: <1464624020-27709-15-git-send-email-ulrich.hecht+renesas@gmail.com> References: <1464624020-27709-1-git-send-email-ulrich.hecht+renesas@gmail.com> Return-path: In-Reply-To: <1464624020-27709-1-git-send-email-ulrich.hecht+renesas@gmail.com> Sender: linux-renesas-soc-owner@vger.kernel.org To: linux-renesas-soc@vger.kernel.org, geert@linux-m68k.org Cc: kuninori.morimoto.gx@renesas.com, laurent.pinchart@ideasonboard.com, dri-devel@lists.freedesktop.org, architt@codeaurora.org, vz@mleia.com, koji.matsuoka.xm@renesas.com, Ulrich Hecht , Takashi Saito , Geert Uytterhoeven List-Id: dri-devel@lists.freedesktop.org This patch changes to VSPD hardware recommended value. Purpose is highest pixel clock without underruns. In the default R-Car Linux BSP config this value is wrong and therefore there are many underruns. Signed-off-by: Takashi Saito Signed-off-by: Koji Matsuoka Signed-off-by: Ulrich Hecht Signed-off-by: Geert Uytterhoeven --- drivers/media/platform/vsp1/vsp1_lif.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/media/platform/vsp1/vsp1_lif.c b/drivers/media/platform/vsp1/vsp1_lif.c index 60d26b6..b34e80f 100644 --- a/drivers/media/platform/vsp1/vsp1_lif.c +++ b/drivers/media/platform/vsp1/vsp1_lif.c @@ -126,9 +126,9 @@ static void lif_configure(struct vsp1_entity *entity, { const struct v4l2_mbus_framefmt *format; struct vsp1_lif *lif = to_lif(&entity->subdev); - unsigned int hbth = 1300; - unsigned int obth = 400; - unsigned int lbth = 200; + unsigned int hbth = 0; + unsigned int obth = 3000; + unsigned int lbth = 0; format = vsp1_entity_get_pad_format(&lif->entity, lif->entity.config, LIF_PAD_SOURCE); -- 2.7.4