Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753129AbdDJKBF (ORCPT ); Mon, 10 Apr 2017 06:01:05 -0400 Received: from regular1.263xmail.com ([211.150.99.131]:51901 "EHLO regular1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752955AbdDJKBE (ORCPT ); Mon, 10 Apr 2017 06:01:04 -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: <1c99711ef2698547560ade6ccb1bcb7a> 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 , Patrik Jakobsson , Dave Airlie Subject: [PATCH v6 0/2] drm: rockchip: Fix rockchip drm unbind crash error Date: Mon, 10 Apr 2017 18:00:43 +0800 Message-Id: <1491818445-11409-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: 586 Lines: 25 Verified on rk3399 chromebook kevin, no more crashes during unbind/bind drm. Changes in v6: Address Daniel Vetter '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 mode config drivers/gpu/drm/drm_drv.c | 6 +++--- drivers/gpu/drm/drm_framebuffer.c | 5 +++++ drivers/gpu/drm/udl/udl_drv.c | 2 +- include/drm/drmP.h | 6 ++++++ 4 files changed, 15 insertions(+), 4 deletions(-) -- 2.1.4