Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933257AbcCHQu6 (ORCPT ); Tue, 8 Mar 2016 11:50:58 -0500 Received: from ring0.de ([5.45.101.7]:33630 "EHLO ring0.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933074AbcCHQuG (ORCPT ); Tue, 8 Mar 2016 11:50:06 -0500 X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * 0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail * domains are different * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] From: Sebastian Reichel To: Sebastian Reichel , Tony Lindgren , Aaro Koskinen , Tomi Valkeinen Cc: Laurent Pinchart , David Airlie , linux-omap@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH 11/23] include: video: omapdss: provide fifo threshold methods Date: Tue, 8 Mar 2016 17:39:43 +0100 Message-Id: <1457455195-1938-12-git-send-email-sre@kernel.org> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1457455195-1938-1-git-send-email-sre@kernel.org> References: <1457455195-1938-1-git-send-email-sre@kernel.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 885 Lines: 27 The FIFO thresholds must be configured by omapdrm for manually updated DSI panels due to a hardware bug. Signed-off-By: Sebastian Reichel --- include/video/omapdss.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/video/omapdss.h b/include/video/omapdss.h index 9bde65b79220..f6cdd809ae5c 100644 --- a/include/video/omapdss.h +++ b/include/video/omapdss.h @@ -935,6 +935,12 @@ int dispc_ovl_setup(enum omap_plane plane, const struct omap_overlay_info *oi, bool replication, const struct omap_video_timings *mgr_timings, bool mem_to_mem); +void dispc_ovl_compute_fifo_thresholds(enum omap_plane plane, + u32 *fifo_low, u32 *fifo_high, bool use_fifomerge, + bool manual_update); +void dispc_ovl_set_fifo_threshold(enum omap_plane plane, u32 low, u32 high); + + int omapdss_compat_init(void); void omapdss_compat_uninit(void); -- 2.7.0