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

From
Tomi Valkeinen <hidden>
Date
2016-08-30 08:59:53
Reply to
Marek Vasut, 2016-08-26
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

Thread (2 messages) 2 messages, 2 authors, last reply 2016-08-30
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help