[PATCH v8 0/2] drm: rockchip: Fix rockchip drm unbind crash error

From: Jeffy Chen
Date: Tue Apr 11 2017 - 22:56:26 EST



Verified on rk3399 chromebook kevin(with cros 4.4 kernel), no more crashes during unbind/bind drm with/out ui service running.

Changes in v8:
Fix hang when unregistering drm dev with open_count 0

Changes in v7:
Address Sean Paul <seanpaul@xxxxxxxxxxxx>'s comments.
Update commit message.

Changes in v6:
Address Daniel Vetter <daniel@xxxxxxxx>'s comments.

Changes in v5:
Fix wrong git account.

Changes in v2:
Fix some commit messages.

Jeffy Chen (2):
drm: Unplug drm device when unregistering it
drm: Prevent release fb after cleanup drm_mode_config

drivers/gpu/drm/drm_drv.c | 19 +++----------------
drivers/gpu/drm/drm_framebuffer.c | 5 +++++
drivers/gpu/drm/udl/udl_drv.c | 2 +-
include/drm/drmP.h | 5 +++--
include/drm/drm_drv.h | 1 -
5 files changed, 12 insertions(+), 20 deletions(-)

--
2.1.4