Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753531AbdDLI4g (ORCPT ); Wed, 12 Apr 2017 04:56:36 -0400 Received: from regular1.263xmail.com ([211.150.99.137]:46612 "EHLO regular1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751992AbdDLI4e (ORCPT ); Wed, 12 Apr 2017 04:56:34 -0400 X-263anti-spam: KSV:0; X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-KSVirus-check: 0 X-ABS-CHECKED: 4 X-RL-SENDER: jeffy.chen@rock-chips.com X-FST-TO: linux-kernel@vger.kernel.org X-SENDER-IP: 103.29.142.67 X-LOGIN-NAME: jeffy.chen@rock-chips.com X-UNIQUE-TAG: X-ATTACHMENT-NUM: 0 X-DNS-TYPE: 0 From: Jeffy Chen To: linux-kernel@vger.kernel.org Cc: briannorris@chromium.org, dianders@chromium.org, tfiga@chromium.org, seanpaul@chromium.org, zyw@rock-chips.com, marcheu@chromium.org, mark.yao@rock-chips.com, hshi@chromium.org, Jeffy Chen , Daniel Vetter , Jani Nikula , dri-devel@lists.freedesktop.org, Chris Wilson , David Airlie , Tom Gundersen , Dave Airlie Subject: [PATCH v9 0/1] drm: rockchip: Fix rockchip drm unbind crash error Date: Wed, 12 Apr 2017 16:56:20 +0800 Message-Id: <1491987381-32533-1-git-send-email-jeffy.chen@rock-chips.com> X-Mailer: git-send-email 2.1.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 747 Lines: 33 Verified on rk3399 chromebook kevin(with cros 4.4 kernel), no more crashes during unbind/bind drm with/out ui service running. Changes in v9: Move drm_device_set_plug_state into drm_drv.c . Changes in v8: Fix hang when unregistering drm dev with open_count 0. Changes in v7: Add drm_device_set_plug_state helper. Changes in v6: Reuse unplug status. Changes in v5: Fix wrong git account. Changes in v2: Fix some commit messages. Jeffy Chen (1): drm: Unplug drm device when unregistering it drivers/gpu/drm/drm_drv.c | 26 ++++++++++---------------- drivers/gpu/drm/udl/udl_drv.c | 2 +- include/drm/drmP.h | 6 ------ include/drm/drm_drv.h | 1 - 4 files changed, 11 insertions(+), 24 deletions(-) -- 2.1.4