]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/video/omap2/dss/dispc.c
OMAPDSS: use DSI_FIFO_BUG workaround only for manual update displays
[karo-tx-linux.git] / drivers / video / omap2 / dss / dispc.c
index b81fafac35b8d3a5e6eed5574b6cd035862647a0..ac71fec1dbba2a7ed60bea9e9e10a3aa817c1b36 100644 (file)
@@ -1031,7 +1031,8 @@ void dispc_enable_fifomerge(bool enable)
 }
 
 void dispc_ovl_compute_fifo_thresholds(enum omap_plane plane,
-               u32 *fifo_low, u32 *fifo_high, bool use_fifomerge)
+               u32 *fifo_low, u32 *fifo_high, bool use_fifomerge,
+               bool manual_update)
 {
        /*
         * All sizes are in bytes. Both the buffer and burst are made of
@@ -1059,7 +1060,7 @@ void dispc_ovl_compute_fifo_thresholds(enum omap_plane plane,
         * combined fifo size
         */
 
-       if (dss_has_feature(FEAT_OMAP3_DSI_FIFO_BUG)) {
+       if (manual_update && dss_has_feature(FEAT_OMAP3_DSI_FIFO_BUG)) {
                *fifo_low = ovl_fifo_size - burst_size * 2;
                *fifo_high = total_fifo_size - burst_size;
        } else {