# Re: \[PATCH V2\] video: mxsfb: Fix framebuffer corruption on mx6sx

- From: Tomi Valkeinen \<hidden\>
- Date: 2016-08-30 08:59:53 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2016/08/13466592
- Thread: https://ratatoskr.run/linux-fbdev/2016/08/13466591/t.md

```text
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

```

## Attachments

- [signature.asc](https://ratatoskr.run/linux-fbdev/2016/08/13466592/attachment/0) (application/pgp-signature, 819 bytes)
