linux_dsm_epyc7002/drivers/gpu/drm/bridge/analogix
Jeffy Chen 37e0487788 drm: bridge: analogix: Destroy connector & encoder when unbinding
Normally we do this in drm_mode_config_cleanup. But:
1/ analogix dp's connector is allocated in bind, and freed after unbind.
So we need to destroy it in unbind to avoid further access.
2/ the drm bridge is attached in bind, and detached in encoder cleanup.
So we need to destroy encoder in unbind.

Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1491481885-13775-5-git-send-email-jeffy.chen@rock-chips.com
2017-04-07 13:28:32 -04:00
..
analogix_dp_core.c drm: bridge: analogix: Destroy connector & encoder when unbinding 2017-04-07 13:28:32 -04:00
analogix_dp_core.h drm/bridge: analogix_dp: Remove duplicated code 2016-09-24 11:56:34 +05:30
analogix_dp_reg.c drm/bridge: analogix_dp: return error if transfer none byte 2016-11-16 11:16:13 +05:30
analogix_dp_reg.h drm/bridge: analogix_dp: add the PSR function support 2016-08-23 11:44:33 -04:00
Kconfig drm: bridge: analogix/dp: split exynos dp driver to bridge directory 2016-04-05 10:11:48 +08:00
Makefile drm: bridge: analogix/dp: split exynos dp driver to bridge directory 2016-04-05 10:11:48 +08:00