Message ID | 1491043442-20626-8-git-send-email-jeffy.chen@rock-chips.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8D48F60351 for <patchwork-linux-rockchip@patchwork.kernel.org>; Sat, 1 Apr 2017 11:03:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7E92328615 for <patchwork-linux-rockchip@patchwork.kernel.org>; Sat, 1 Apr 2017 11:03:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 720E428617; Sat, 1 Apr 2017 11:03:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,URIBL_BLACK autolearn=no version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4310B28615 for <patchwork-linux-rockchip@patchwork.kernel.org>; Sat, 1 Apr 2017 11:03:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=qHrvmNWmwBjYy+qbRHMSEb3g78MAlyZIzSg5Cj1VLr0=; b=OuBVffImPRu44DCUWtpFsmRmbm p1waPxorA7CfUvFm/GuA5VbwYUwuAebhAxttB4MWUQh5Ju/vGN5WNoaYTS5DAKDDAI6hfNflH8+Hc BPh79aBMC09Awp9CrBOx4LIu0gQ+XNnO6WwEHFNZjZpqShF2n4k89ja+BtIeqdCjpKicaQ3YVwTqa 7f0y9O/QdAfhXc71KYO+HVezvMW0xv0dKMYu/7ZWAC9f43NjppYy4MGNvg4bdDo9spcp1vteiBQuL NsuXLwHfPu5ARP2Hjwpn47I0UPWZwSvTV0tzfT3twpHA4zowuSyzYE2PXmo5Q+X3UKXmD9bDF6xcd MPcMeOOQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cuGoV-0003Gc-5F; Sat, 01 Apr 2017 11:03:23 +0000 Received: from casper.infradead.org ([2001:770:15f::2]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cuGoL-00030j-W4; Sat, 01 Apr 2017 11:03:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=pN+6pB7qZE3gjKl6N9k5VLupAGxoIUzdsQR3WRlefj8=; b=R5Js6bv5kIG4GEvrkbvyv0+8X yuXm1pzpGcFKr0TGh/aXkkoZS70xQO0/EaQ6ssoO1LaGnrWFFDZlfLb2ozmgG2q/jEpJD1X7zheEW xyf+/daqKyJfS8NXnnb/cNI38D2j70h9836iPPRS38XJOphu/AA347i/aRk8XD8JWR2IS8IO76REj 6+y560Z9qpDOiOCxm7gmaP2Ofsv867ggA34FUdIkM0HX7qMsHkXvUgnaWe77M0vyg2L7q5dF9pUdN t5VSXs4Chl1riwGnhke4pxtJSYxfqxGYzHebP5bpprWrJ9oViPgMgOiFTfGCT+SL/nZ/ufSe9fq7c xTnttqCtQ==; Received: from regular1.263xmail.com ([211.150.99.130]) by casper.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cuGXS-0003bW-FQ; Sat, 01 Apr 2017 10:45:48 +0000 Received: from jeffy.chen?rock-chips.com (unknown [192.168.165.103]) by regular1.263xmail.com (Postfix) with ESMTP id 97D90AE9A; Sat, 1 Apr 2017 18:45:11 +0800 (CST) X-263anti-spam: KSV:0; X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-KSVirus-check: 0 X-ABS-CHECKED: 4 Received: from smtp.263.net (sg-smtp01.263.net [54.255.195.220]) by smtp.263.net (Postfix) with ESMTP id 9579A415; Sat, 1 Apr 2017 18:45:10 +0800 (CST) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.263.net (Postfix) with ESMTP id BF6E9DF30A; Sat, 1 Apr 2017 18:45:11 +0800 (CST) 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: <d486e409aed29e62bfbfce4eeb822fa3> X-ATTACHMENT-NUM: 0 X-SENDER: cjf@rock-chips.com X-DNS-TYPE: 0 Received: from localhost (unknown [103.29.142.67]) by smtp.263.net (Postfix) whith ESMTP id 31570JIVXK6; Sat, 01 Apr 2017 18:45:13 +0800 (CST) From: Jeffy Chen <jeffy.chen@rock-chips.com> To: linux-kernel@vger.kernel.org Subject: [PATCH 7/9] drm/rockchip: Force disable all crtc when unload Date: Sat, 1 Apr 2017 18:44:00 +0800 Message-Id: <1491043442-20626-8-git-send-email-jeffy.chen@rock-chips.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1491043442-20626-1-git-send-email-jeffy.chen@rock-chips.com> References: <1491043442-20626-1-git-send-email-jeffy.chen@rock-chips.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170401_114546_799564_4DEB1FDC X-CRM114-Status: UNSURE ( 4.85 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms <linux-rockchip.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-rockchip>, <mailto:linux-rockchip-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-rockchip/> List-Post: <mailto:linux-rockchip@lists.infradead.org> List-Help: <mailto:linux-rockchip-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-rockchip>, <mailto:linux-rockchip-request@lists.infradead.org?subject=subscribe> Cc: Jeffy Chen <jeffy.chen@rock-chips.com>, Heiko Stuebner <heiko@sntech.de>, David Airlie <airlied@linux.ie>, briannorris@chromium.org, dianders@chromium.org, dri-devel@lists.freedesktop.org, tfiga@chromium.org, linux-rockchip@lists.infradead.org, seanpaul@chromium.org, zyw@rock-chips.com, linux-arm-kernel@lists.infradead.org, mark.yao@rock-chips.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-rockchip" <linux-rockchip-bounces@lists.infradead.org> Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_drv.c b/drivers/gpu/drm/rockchip/rockchip_drm_drv.c index a5d83cb..5dbf011 100644 --- a/drivers/gpu/drm/rockchip/rockchip_drm_drv.c +++ b/drivers/gpu/drm/rockchip/rockchip_drm_drv.c @@ -246,6 +246,7 @@ static void rockchip_drm_unbind(struct device *dev) rockchip_drm_fbdev_fini(drm_dev); drm_kms_helper_poll_fini(drm_dev); + drm_crtc_force_disable_all(drm_dev); drm_vblank_cleanup(drm_dev); component_unbind_all(dev, drm_dev); drm_mode_config_cleanup(drm_dev);
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com> --- drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 1 + 1 file changed, 1 insertion(+)