linux/drivers/gpu/drm/rockchip
Enric Balletbo i Serra 4eda776c3c drm/rockchip: psr: do not dereference encoder before it is null checked.
'encoder' is dereferenced before it is null sanity checked, hence we
potentially have a null pointer dereference bug. Instead, initialise
drm_drv from encoder->dev->dev_private after we are sure 'encoder' is
not null.

Fixes: 5182c1a556 ("drm/rockchip: add an common abstracted PSR driver")
Cc: stable@vger.kernel.org
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20181013105654.11827-1-enric.balletbo@collabora.com
2018-10-16 14:57:06 +02:00
..
analogix_dp-rockchip.c drm/rockchip: psr: Sanitize semantics of allow/inhibit API 2018-04-24 08:34:52 +02:00
cdn-dp-core.c drm: drop _mode_ from drm_mode_connector_attach_encoder 2018-07-13 18:40:27 +02:00
cdn-dp-core.h drm/rockchip: cdn-dp: retry to check sink count 2017-02-05 16:30:04 +08:00
cdn-dp-reg.c drm/rockchip: cnd-dp: adjust spdif register setting 2018-06-16 14:57:56 +02:00
cdn-dp-reg.h drm/rockchip: cdn-dp: Correct PHY register address 2017-03-13 15:59:26 -04:00
dw_hdmi-rockchip.c drm/rockchip: dw_hdmi: add dw-hdmi support for the rk3328 2018-09-28 12:33:05 +02:00
dw-mipi-dsi.c drm: drop _mode_ from drm_mode_connector_attach_encoder 2018-07-13 18:40:27 +02:00
inno_hdmi.c drm: drop _mode_ from drm_mode_connector_attach_encoder 2018-07-13 18:40:27 +02:00
inno_hdmi.h drm/rockchip: hdmi: add Innosilicon HDMI support 2016-02-18 13:56:43 +08:00
Kconfig drm/rockchip: Add support for Rockchip Soc RGB output interface 2018-09-05 12:24:36 +02:00
Makefile drm/rockchip: Add support for Rockchip Soc RGB output interface 2018-09-05 12:24:36 +02:00
rockchip_drm_drv.c drm/rockchip: Allow driver to be shutdown on reboot/kexec 2018-09-10 10:52:27 +02:00
rockchip_drm_drv.h drm/rockchip: add function to check if endpoint is a subdriver 2018-09-05 12:24:25 +02:00
rockchip_drm_fb.c drm/rockchip: rockchip_drm_fb -> drm_framebuffer 2018-05-18 16:02:05 +01:00
rockchip_drm_fb.h drm/rockchip: rockchip_drm_fb -> drm_framebuffer 2018-05-18 16:02:05 +01:00
rockchip_drm_fbdev.c drm/rockchip: Replace dev_* with DRM_DEV_* 2017-09-18 09:50:44 +08:00
rockchip_drm_fbdev.h drm/rockchip: respect CONFIG_DRM_FBDEV_EMULATION 2016-01-22 08:45:31 +08:00
rockchip_drm_gem.c drm/rockchip: fixup comment for gem_free_object_unlocked 2018-03-28 17:07:36 +02:00
rockchip_drm_gem.h drm/rockchip: support prime import sg table 2018-02-18 11:16:40 +01:00
rockchip_drm_psr.c drm/rockchip: psr: do not dereference encoder before it is null checked. 2018-10-16 14:57:06 +02:00
rockchip_drm_psr.h drm/rockchip: psr: Remove flush by CRTC 2018-04-24 08:34:54 +02:00
rockchip_drm_vop.c drm/rockchip: Add support for Rockchip Soc RGB output interface 2018-09-05 12:24:36 +02:00
rockchip_drm_vop.h drm/rockchip: Add support for Rockchip Soc RGB output interface 2018-09-05 12:24:36 +02:00
rockchip_lvds.c drm: drop _mode_ from drm_mode_connector_attach_encoder 2018-07-13 18:40:27 +02:00
rockchip_lvds.h drm/rockchip: Add support for Rockchip Soc LVDS 2017-09-08 14:57:26 +08:00
rockchip_rgb.c drm/rockchip: Add support for Rockchip Soc RGB output interface 2018-09-05 12:24:36 +02:00
rockchip_rgb.h drm/rockchip: rgb: add stub functions when rgb encoder is disabled 2018-09-05 15:43:14 -04:00
rockchip_vop_reg.c drm/rockchip: vop: add rk3188 hs_start interrupt as dsp_hold equivalent 2018-09-27 11:39:32 +02:00
rockchip_vop_reg.h drm/rockchip: vop: add rk3188 vop definitions 2018-09-05 12:25:48 +02:00