Skip to content
Commit bd4248bb authored by Boris Brezillon's avatar Boris Brezillon
Browse files

drm: atmel-hlcdc: reset layer A2Q and UPDATE bits when disabling it



The A2Q (Add To Queue) and UPDATE bits are left in their previous state
when resetting the layer.
This lead to weird behavior when enabling the plane again: the framebuffer
previously queued is dequeued and we end up with access to an old memory
region.

Reset those bits when resetting the channel.

Signed-off-by: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
parent 5b49afd6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment