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

Jeffy Chen jeffy.chen at rock-chips.com
Wed Apr 12 02:55:28 UTC 2017


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 at chromium.org>'s comments.
Update commit message.

Changes in v6:
Address Daniel Vetter <daniel at ffwll.ch>'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




More information about the dri-devel mailing list