[PATCH] drm: make sure to check callbacks of ENCODER and CRTC helpers

2015-08-25 Thread Daniel Vetter
On Sun, Aug 16, 2015 at 01:12:14PM +0900, Inki Dae wrote: > This patch fixes NULL pointer access issues to ENCODER > and CRTC drivers. > > Vendor specific DRM KMS drivers may not set their helper callbacks > to ENCODER dn CRTC drivers. In this case, that will incur NULL > pointer access when

[PATCH] drm: make sure to check callbacks of ENCODER and CRTC helpers

2015-08-16 Thread Inki Dae
This patch fixes NULL pointer access issues to ENCODER and CRTC drivers. Vendor specific DRM KMS drivers may not set their helper callbacks to ENCODER dn CRTC drivers. In this case, that will incur NULL pointer access when modeset is tried. So this patch makes sure to check if the callbacks are