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


Groups > linux.kernel > #1353218 > unrolled thread

[PATCH 13/23] drm: omapdrm: crtc: update plane fifos on lcd config change

Started bySebastian Reichel <sre@kernel.org>
First post2016-03-08 18:00 +0100
Last post2016-03-08 18:00 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 13/23] drm: omapdrm: crtc: update plane fifos on lcd config change Sebastian Reichel <sre@kernel.org> - 2016-03-08 18:00 +0100

#1353218 — [PATCH 13/23] drm: omapdrm: crtc: update plane fifos on lcd config change

FromSebastian Reichel <sre@kernel.org>
Date2016-03-08 18:00 +0100
Subject[PATCH 13/23] drm: omapdrm: crtc: update plane fifos on lcd config change
Message-ID<rat9g-3s9-25@gated-at.bofh.it>
Due to a hardware bug, FIFOs thresholds must be
configured very carefully for manually updated
displays.

Signed-off-by: Sebastian Reichel <sre@kernel.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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web