linux_dsm_epyc7002/drivers/gpu/drm/rcar-du
Laurent Pinchart 4fcd01d0f3 drm: rcar-du: Fix NULL encoder pointer dereference
The DRM connector's encoder pointer is managed internally by the DRM
core and set to NULL when the DRM connector is disconnected from the
CRTC it was attached to. This results in a NULL pointer dereference in
the HDMI connector functions when trying to call the associated slave
encoder's operations.

Fix this by retrieving the slave encoder pointer from the R-Car
connector structure instead of the DRM connector structure.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2014-12-03 08:28:48 +10:00
..
Kconfig drm: rcar-du: Add HDMI encoder and connector support 2014-11-26 20:09:38 +02:00
Makefile drm: rcar-du: Add HDMI encoder and connector support 2014-11-26 20:09:38 +02:00
rcar_du_crtc.c drm: rcar-du: fix error return code 2014-11-26 20:09:30 +02:00
rcar_du_crtc.h drm: rcar-du: Remove platform data support 2014-11-26 20:09:36 +02:00
rcar_du_drv.c drm: rcar-du: Remove platform data support 2014-11-26 20:09:36 +02:00
rcar_du_drv.h drm: rcar-du: Remove platform data support 2014-11-26 20:09:36 +02:00
rcar_du_encoder.c drm: rcar-du: Add HDMI encoder and connector support 2014-11-26 20:09:38 +02:00
rcar_du_encoder.h drm: rcar-du: Add HDMI encoder and connector support 2014-11-26 20:09:38 +02:00
rcar_du_group.c drm/rcar-du: Update copyright notice 2014-09-15 11:34:06 +03:00
rcar_du_group.h drm/rcar-du: Update copyright notice 2014-09-15 11:34:06 +03:00
rcar_du_hdmicon.c drm: rcar-du: Fix NULL encoder pointer dereference 2014-12-03 08:28:48 +10:00
rcar_du_hdmicon.h drm: rcar-du: Add HDMI encoder and connector support 2014-11-26 20:09:38 +02:00
rcar_du_hdmienc.c drm: rcar-du: Add HDMI encoder and connector support 2014-11-26 20:09:38 +02:00
rcar_du_hdmienc.h drm: rcar-du: Add HDMI encoder and connector support 2014-11-26 20:09:38 +02:00
rcar_du_kms.c drm: rcar-du: Add HDMI encoder and connector support 2014-11-26 20:09:38 +02:00
rcar_du_kms.h drm/rcar-du: Update copyright notice 2014-09-15 11:34:06 +03:00
rcar_du_lvdscon.c drm: rcar-du: Replace direct DRM encoder access with cast macro 2014-11-26 20:09:37 +02:00
rcar_du_lvdscon.h drm: rcar-du: Remove platform data support 2014-11-26 20:09:36 +02:00
rcar_du_lvdsenc.c drm/rcar-du: Update copyright notice 2014-09-15 11:34:06 +03:00
rcar_du_lvdsenc.h drm: rcar-du: Remove platform data support 2014-11-26 20:09:36 +02:00
rcar_du_plane.c drm/rcar-du: Update copyright notice 2014-09-15 11:34:06 +03:00
rcar_du_plane.h drm/rcar-du: Update copyright notice 2014-09-15 11:34:06 +03:00
rcar_du_regs.h drm/rcar-du: Add support for multiple groups 2013-08-09 23:17:50 +02:00
rcar_du_vgacon.c drm: rcar-du: Replace direct DRM encoder access with cast macro 2014-11-26 20:09:37 +02:00
rcar_du_vgacon.h drm/rcar-du: Update copyright notice 2014-09-15 11:34:06 +03:00
rcar_lvds_regs.h drm/rcar-du: Add internal LVDS encoder support 2013-08-09 23:17:53 +02:00