[PATCH] drm/fsl-dcu: Fix no fb check bug

2015-11-16 Thread Stefan Agner
Hi, This avoids a NULL pointer dereference when no crtc is available (e.g. the fsl,panel not assigned). Any chance to get this into 4.4? Tested-by: Stefan Agner -- Stefan On 2015-08-30 20:39, Jianwei Wang wrote: > For state->fb may be NULL in fsl_dcu_drm_plane_atomic_check function, > if so,

[PATCH] drm/fsl-dcu: Fix no fb check bug

2015-08-31 Thread Jianwei Wang
For state->fb may be NULL in fsl_dcu_drm_plane_atomic_check function, if so, return -EINVAL. No need check in fsl_dcu_drm_plane_atomic_update anymore. Signed-off-by: Jianwei Wang --- drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff