[PATCH] drm: rcar-du: Fix crash when enabling a non-visible plane

Geert Uytterhoeven geert at linux-m68k.org
Mon Aug 10 09:00:50 UTC 2020


On Fri, Aug 7, 2020 at 11:23 PM Laurent Pinchart
<laurent.pinchart+renesas at ideasonboard.com> wrote:
> The DU driver handles non-visible planes (fully clipped by the display's
> boundaries) by considering them as disabled. It thus disables the plane
> at the hardware level when the plane if moved off-screen. However, if

is moved

> the plane was previously disabled and is non-visible when it gets
> enabled, the attempt to disable it crashes, ad the plane wasn't

as

> previously enabled. Fix it.
>
> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas at ideasonboard.com>

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds


More information about the dri-devel mailing list