diff options
author | Jeffy Chen <jeffy.chen@rock-chips.com> | 2017-04-06 20:31:17 +0800 |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2017-04-07 13:28:32 -0400 |
commit | 37e0487788468cc0dfef678f4d10339c28ad80e5 (patch) | |
tree | f841aaf8642dc25f6f609c4bf45d3e806cce209a /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
parent | ede2fdf6776ac0b1be0729d3ef9a553262a259d9 (diff) |
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
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions