mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
OMAPDSS: set WB capturemode for m2m mode
In mem-to-mem mode WB CAPTUREMODE needs to be set to 1 (capture one frame). Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
This commit is contained in:
parent
7d18bbee78
commit
4c055ce03b
1 changed files with 2 additions and 0 deletions
|
@ -2857,6 +2857,8 @@ int dispc_wb_setup(const struct omap_dss_writeback_info *wi,
|
|||
l = dispc_read_reg(DISPC_OVL_ATTRIBUTES(plane));
|
||||
l = FLD_MOD(l, truncation, 10, 10); /* TRUNCATIONENABLE */
|
||||
l = FLD_MOD(l, mem_to_mem, 19, 19); /* WRITEBACKMODE */
|
||||
if (mem_to_mem)
|
||||
l = FLD_MOD(l, 1, 26, 24); /* CAPTUREMODE */
|
||||
dispc_write_reg(DISPC_OVL_ATTRIBUTES(plane), l);
|
||||
|
||||
return r;
|
||||
|
|
Loading…
Reference in a new issue