[Letux-kernel] jz4780 CI20 v5.8 (was jz4730)

Paul Boddie paul at boddie.org.uk
Tue Jul 7 00:08:42 CEST 2020


On Monday, 6 July 2020 16:28:28 CEST H.  Nikolaus Schaller wrote:
>
> Ok, it happens here:
> 
> 	https://elixir.bootlin.com/linux/v5.8-rc3/source/drivers/gpu/drm/ingenic/in
> genic-drm.c#L355
> 
> 	finfo = drm_format_info(drm_fb->format->format);
> 
> The if(drm_atomic_crtc_needs_modeset(state)) and this line of code is
> run once during boot where it succeeds.
> 
> And attempted once on HPD unplug.
> 
> There, drm_fb == NULL and the dereferencing fails...
> 
> 0x30 seems to be the offset of the struct member "format".
> 
> The if(event) path happens quite often during operation.

I came to the same conclusion, but your message prompted me to test this and 
to push a changeset that fixes the crash.

Paul




More information about the Letux-kernel mailing list