Re: [PATCH v2] drm/arcpgu: Accommodate adv7511 switch to DRM bridge
From: Alexey Brodkin
Date: Wed Oct 19 2016 - 10:21:36 EST
Hi Archit, all,
On Wed, 2016-10-19 at 14:43 +0530, Archit Taneja wrote:
> On 10/19/2016 01:16 PM, Eugeniy Paltsev wrote:
> > ARC PGU driver starts crashing on initialization after
> > 'commit e12c2f645557 ("drm/i2c: adv7511: Convert to drm_bridge")'
> > This happenes because in "arcpgu_drm_hdmi_init" function we get pointer
> > of "drm_i2c_encoder_driver" structure, which doesn't exist after
> > adv7511 hdmi encoder interface changed from slave encoder to drm bridge.
> > So, when we call "encoder_init" function from this structure driver
> > crashes.
> Looks good now.
> Reviewed-by: Archit Taneja <architt@xxxxxxxxxxxxxx>
And IMHO it would be really good to get this one back-ported to 4.8
because it really fixes kernel crash if ARC PGU driver is used.
It might be a bit of a problem because patch itself a little-bit larger
than formal requirement for stable backports but let's see if it gets accepted.