On 26/08/16 18:53, Marek Vasut wrote:
Allocate the framebuffer memory as coherent, otherwise the framebuffer
will suffer from artifacts when displaying scrolling text or video.
This can be replicated on i.MX6SX (armv7), which has more complex memory
architecture compared to the i.MX23/28 (armv5).
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Tomi Valkeinen <redacted>
Cc: Fabio Estevam <redacted>
Cc: Lucas Stach <l.stach@pengutronix.de>
Cc: Shawn Guo <shawnguo@kernel.org>
---
V2: Switch to from dma_{alloc,free}_coherent() to dma_{alloc,free}_wc()
for performance reasons, as suggested by Lucas Stach
---
drivers/video/fbdev/mxsfb.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
Thanks, queued for 4.9.
Tomi