Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7151634ybi; Mon, 8 Jul 2019 15:41:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqwbXWEXjHPcHHzHnnKL2+5T/o9Pc7Ltcb74xvJrIT0sdJQczvdrKDE+/E4SMe0EpJLNyrte X-Received: by 2002:a17:90a:36a7:: with SMTP id t36mr28230959pjb.34.1562625677756; Mon, 08 Jul 2019 15:41:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562625677; cv=none; d=google.com; s=arc-20160816; b=q+V/91ALXh1cNACMqUs+3jidrW/3VTO4NPY2dgr8bQ8ODACUdQfdV6CuzC6VFlBZ+N ChVe/DPODuIeGuwexVM4ZTvoCMS/JrPbfi61g0+1TmCXjFnezizjFhDRALY3YbXZcNYM aih9x4OW2FOf1eOQmOkI3j2pMTnVKDsDSarpNjgU+ETE3m475yQpBwBCye3jWRm6t6rj 6+jmD6VDR9DLsT3xy6C8o2CvTmBiG9v9Q3YOxoFnRkBWBi1IhuLXImzsq2MQ023oHNnL XKsNHW5+B8cqbtHdtFd0p8xkh0wIEK+5ZCnBsjr2imTPsfeQueeJFfVIodKGEF1F74Mx /2ng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=HBdpqW5EmJYc0N3CdpGCnGjsVfsaI+/tqW9pmbG7jkE=; b=Jl8CH0jdycWDEhd35aGQt5RZM8Ky5j2s9ppA85RdawlX4OsVC4YpeM7bRgfOPpwIaY xt2KzLhPpSmrTpWc6lYvKJAwsGEJXeYJGkST1Wp1SFmByszvysVZYycL8fRZMpFzIMtY jALaHUN9AHfjBhzv1hL7sA7KFU+i9O/dBqf+1QJ1Ar32oXBnPnaIXnUkQSCMwnEKzEoV OlS9fqhEOgAWAx4SA+qLryIgKD+XLViKrDLUz5TRg5x/Qy87Eck6myeDOVh622fQT0Zx Kkp9W4P4Kou5E78afzjWHDw8F/gE+J7XR+wFK8hSCQSFT07NytOjo5FPOczlAnM6f7/v jOBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="Bi22uf/P"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d38si19831741pla.287.2019.07.08.15.41.03; Mon, 08 Jul 2019 15:41:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="Bi22uf/P"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388043AbfGHPht (ORCPT + 99 others); Mon, 8 Jul 2019 11:37:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:60888 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389730AbfGHPbZ (ORCPT ); Mon, 8 Jul 2019 11:31:25 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 39931216F4; Mon, 8 Jul 2019 15:31:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1562599884; bh=B3BWwCuukbc3fMSFs7l/VP/ypQsliVWsYqplb8DYBWU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Bi22uf/P+knrg3Cura0AHXOWLJKZGocY3naQIS7fYD7NVc34Oc6OHCPU6yoLZ0gCD 6On4LdOS3clRXTpvrsQsCFRV3U6a42IL8mBa5WGNuqzYis4LftvRRRBD7eYUMJVMgb C6rEJ4OvM3nIV2qzw5IxH01Hy39j3voMtN2U7gJk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Hsin-Yi Wang , CK Hu , Sasha Levin Subject: [PATCH 5.1 21/96] drm/mediatek: call drm_atomic_helper_shutdown() when unbinding driver Date: Mon, 8 Jul 2019 17:12:53 +0200 Message-Id: <20190708150527.588499671@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190708150526.234572443@linuxfoundation.org> References: <20190708150526.234572443@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [ Upstream commit cf49b24ffa62766f8f04cd1c4cf17b75d29b240a ] shutdown all CRTC when unbinding drm driver. Fixes: 119f5173628a ("drm/mediatek: Add DRM Driver for Mediatek SoC MT8173.") Signed-off-by: Hsin-Yi Wang Signed-off-by: CK Hu Signed-off-by: Sasha Levin --- drivers/gpu/drm/mediatek/mtk_drm_drv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_drv.c b/drivers/gpu/drm/mediatek/mtk_drm_drv.c index e7362bdafa82..8718d123ccaa 100644 --- a/drivers/gpu/drm/mediatek/mtk_drm_drv.c +++ b/drivers/gpu/drm/mediatek/mtk_drm_drv.c @@ -311,6 +311,7 @@ err_config_cleanup: static void mtk_drm_kms_deinit(struct drm_device *drm) { drm_kms_helper_poll_fini(drm); + drm_atomic_helper_shutdown(drm); component_unbind_all(drm->dev, drm); drm_mode_config_cleanup(drm); -- 2.20.1