diff options
author | Archit Taneja <archit@ti.com> | 2011-09-14 08:22:54 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-09-30 15:17:25 +0200 |
commit | c3d92529c3c2d7b511903d98efc1537081e62eca (patch) | |
tree | ec5d614c8b03da53feb43fd4112aafa6caa8ab75 /drivers/video/omap2/dss/dss.h | |
parent | OMAPDSS: DISPC: Reduce the number of arguments in dispc_ovl_setup() (diff) | |
download | linux-c3d92529c3c2d7b511903d98efc1537081e62eca.tar.xz linux-c3d92529c3c2d7b511903d98efc1537081e62eca.zip |
OMAPDSS: DISPC: Pass overlay params as arguments to dispc_ovl_setup()
dispc_ovl_enable_replication() and dispc_ovl_set_fifo_threshold() are currently
called in configure_overlay(). These are the only functions which cause DISPC
register writes of overlay parameters outside of dispc_ovl_setup().
Move these to dispc_ovl_setup() and pass replication, fifo_low and fifo_high
thresholds as arguments to dispc_ovl_setup() in order to be aligned with other
overlay parameters. No functional changes are made.
Signed-off-by: Archit Taneja <archit@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2/dss/dss.h')
-rw-r--r-- | drivers/video/omap2/dss/dss.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/video/omap2/dss/dss.h b/drivers/video/omap2/dss/dss.h index bcc9c4e83cc4..dff9b799d51e 100644 --- a/drivers/video/omap2/dss/dss.h +++ b/drivers/video/omap2/dss/dss.h @@ -400,12 +400,11 @@ int dispc_calc_clock_rates(unsigned long dispc_fclk_rate, u32 dispc_ovl_get_fifo_size(enum omap_plane plane); -void dispc_ovl_set_fifo_threshold(enum omap_plane plane, u32 low, u32 high); u32 dispc_ovl_get_burst_size(enum omap_plane plane); int dispc_ovl_setup(enum omap_plane plane, struct omap_overlay_info *oi, - bool ilace, enum omap_channel channel); + bool ilace, enum omap_channel channel, bool replication, + u32 fifo_low, u32 fifo_high); int dispc_ovl_enable(enum omap_plane plane, bool enable); -void dispc_ovl_enable_replication(enum omap_plane plane, bool enable); void dispc_mgr_enable_fifohandcheck(enum omap_channel channel, bool enable); |