[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1457455195-1938-14-git-send-email-sre@kernel.org>
Date: Tue, 8 Mar 2016 17:39:45 +0100
From: Sebastian Reichel <sre@...nel.org>
To: Sebastian Reichel <sre@...nel.org>,
Tony Lindgren <tony@...mide.com>,
Aaro Koskinen <aaro.koskinen@....fi>,
Tomi Valkeinen <tomi.valkeinen@...com>
Cc: Laurent Pinchart <laurent.pinchart@...asonboard.com>,
David Airlie <airlied@...ux.ie>, linux-omap@...r.kernel.org,
dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org
Subject: [PATCH 13/23] drm: omapdrm: crtc: update plane fifos on lcd config change
Due to a hardware bug, FIFOs thresholds must be
configured very carefully for manually updated
displays.
Signed-off-by: Sebastian Reichel <sre@...nel.org>
---
drivers/gpu/drm/omapdrm/omap_crtc.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/gpu/drm/omapdrm/omap_crtc.c b/drivers/gpu/drm/omapdrm/omap_crtc.c
index 8967013c1fb5..094e89a2fa94 100644
--- a/drivers/gpu/drm/omapdrm/omap_crtc.c
+++ b/drivers/gpu/drm/omapdrm/omap_crtc.c
@@ -253,6 +253,10 @@ static void omap_crtc_dss_set_lcd_config(struct omap_overlay_manager *mgr,
omap_crtc->manually_updated = dss_lcd_mgr_config_get_stallmode(config);
dispc_mgr_set_lcd_config(omap_crtc->channel, config);
+
+ drm_for_each_plane(plane, dev) {
+ omap_plane_update_fifo(plane);
+ }
}
static int omap_crtc_dss_register_framedone(
--
2.7.0
Powered by blists - more mailing lists