From patchwork Wed May 29 10:25:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hsin-Yi Wang X-Patchwork-Id: 10966839 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 629DD13AD for ; Wed, 29 May 2019 11:20:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 528F228569 for ; Wed, 29 May 2019 11:20:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 461E428415; Wed, 29 May 2019 11:20:39 +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=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id EA06F281B7 for ; Wed, 29 May 2019 11:20:38 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9F5A26E2CE; Wed, 29 May 2019 11:20:28 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) by gabe.freedesktop.org (Postfix) with ESMTPS id 66A426E0E2 for ; Wed, 29 May 2019 10:26:43 +0000 (UTC) Received: by mail-pf1-x444.google.com with SMTP id q17so1339058pfq.8 for ; Wed, 29 May 2019 03:26:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=xJTL67gH9xPtYyMqvCkT0yEzd1FL39jXNF6HUA35ERA=; b=dnGje+7vOn/THOx5TzLPZ+aneBdRw7st4pHMzojMHXnZpGXrJPywMLo5pG97xS1Ugz RIu4a2TxRfWxRPcimTbzuwQ80FkjtsXHPqSuAg22aFl4KBD4Pp0uCvFjyX1mmB9YyN0f ORna2hkBCTulsv5xm2w/edtUYmSDbkWimouv41jJNOUYPKMGxKKqonQxmy7fcoc/HNGl ytlrVRkqjm4QMhccJv9xyAnmywlyL9ZHz7Hc+W2zaVWLXeRwOVY2i1PNRh2lNTrXTyny m//TqzN/EY7FmtpEg7ppvjFVCn1oIm/0goNyCqiFbrY15OWGcTjyen68tBFcM02eZqTO zNyw== X-Gm-Message-State: APjAAAUkj5ynYff39QKC8wIxL+szTxXIn5hn6j5lkSV90lN8ESnM6mOT eIMKznpCUYHqSKqVeBOejLroLw== X-Google-Smtp-Source: APXvYqxd31GalQHglufXhJap16lK/DzJU5TFe0799jhvV8zXWwrroNs5HUHJZR1S0kMiTp9HOfNbhw== X-Received: by 2002:a62:14d6:: with SMTP id 205mr148943107pfu.4.1559125597639; Wed, 29 May 2019 03:26:37 -0700 (PDT) Received: from hsinyi-z840.tpe.corp.google.com ([2401:fa00:1:10:b852:bd51:9305:4261]) by smtp.gmail.com with ESMTPSA id e12sm18992183pfl.122.2019.05.29.03.26.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 29 May 2019 03:26:36 -0700 (PDT) From: Hsin-Yi Wang To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 0/4] fix mediatek drm, dis, and disp-* unbind/bind Date: Wed, 29 May 2019 18:25:51 +0800 Message-Id: <20190529102555.251579-1-hsinyi@chromium.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-Mailman-Approved-At: Wed, 29 May 2019 11:20:23 +0000 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=xJTL67gH9xPtYyMqvCkT0yEzd1FL39jXNF6HUA35ERA=; b=XZmEt/OOIdZyii8nBgo1yRd792hZgheTgotTZYs35weSjW2UgrlscLr8K8uZVXdqPC wjMTLrFRr7dFI+eNNyHZ3W50dHgdjhSbXuqOsmzCTHKob+R4NLkva0/xHzQFut5G1vB3 /Xa+6mwNyPTx7T0mE0amSv+SQqf+IlzMIifJA= X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Matthias Brugger , linux-mediatek@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP There are some errors when unbinding and rebinding mediatek drm, dsi, and disp-* drivers. This series is to fix those errors and warnings. Hsin-Yi Wang (4): drm: mediatek: fix unbind functions drm: mediatek: unbind components in mtk_drm_unbind() drm: mediatek: call drm_atomic_helper_shutdown() when unbinding driver drm: mediatek: clear num_pipes when unbind driver drivers/gpu/drm/mediatek/mtk_drm_drv.c | 8 +++----- drivers/gpu/drm/mediatek/mtk_dsi.c | 2 ++ 2 files changed, 5 insertions(+), 5 deletions(-)