Re: [PATCH v2] drm/vblank: Fix for drivers that do not drm_vblank_init()

From: Geert Uytterhoeven
Date: Tue Apr 04 2023 - 09:37:48 EST


On Mon, Apr 3, 2023 at 6:07 PM Rob Clark <robdclark@xxxxxxxxx> wrote:
> From: Rob Clark <robdclark@xxxxxxxxxxxx>
>
> This should fix a crash that was reported on ast (and possibly other
> drivers which do not initialize vblank).
>
> fbcon: Taking over console
> Unable to handle kernel NULL pointer dereference at virtual address 0000000000000074

Thanks, this fixes a crash seen with the ssd130x DRM driver.
Tested-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

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