Hi,
Il 04/10/2018 21:56, Maxime Ripard ha scritto:
On Wed, Oct 03, 2018 at 04:24:58PM +0200, Giulio Benetti wrote:
If using tcon with VGA,
We don't have support for VGA at the moment. Or are you talking about
using a VGA bridge?
You're right, in general VGA is not the point.
tcon->panel is
On Wed, Oct 03, 2018 at 04:24:58PM +0200, Giulio Benetti wrote:
> If using tcon with VGA,
We don't have support for VGA at the moment. Or are you talking about
using a VGA bridge?
> tcon->panel will be null(0), this will cause segmentation fault when
> trying to dereference
If using tcon with VGA, tcon->panel will be null(0), this will cause
segmentation fault when trying to dereference tcon->panel->connector.
Add tcon->panel null check before calling
sun4i_tcon0_mode_set_dithering().
Signed-off-by: Giulio Benetti
Fixes: f11adcecbd5f ("drm/sun4i: tcon: Add