Received: by 2002:ac0:8845:0:0:0:0:0 with SMTP id g63csp12292img; Mon, 25 Feb 2019 16:28:34 -0800 (PST) X-Google-Smtp-Source: AHgI3Iauy+FlZakTGd4mCWl2XJhYsPC5U1X76wSFdxPjLAxTOAthNw8Xj0pCceu7f0AcGC5bK8cv X-Received: by 2002:a63:3446:: with SMTP id b67mr21681303pga.122.1551140913972; Mon, 25 Feb 2019 16:28:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551140913; cv=none; d=google.com; s=arc-20160816; b=BAdVNRM3lKqdEUVS3mJPML82FMO+lgsfkl8pP793J3UEElmotYcIWWT+8f6tMiLuwJ h5NmB3XIj6GBjj48jJN/YR7JCJkaszOhZzXPp6NpVvK4iduiOh1xDXpTNCjzmn0gWsWA YV90mbskaz9t0B6SU4l/iEFZej6O5X2Zdgz4Yhb7AVHo5VKYKXZ3LPA6fqYusiiAJly2 8mU+lSl7hKAcdRQtZifrX/OvxmfMc836H+jaOG5wyooh6dEbXaaJK/G2Bku/AAgc73ke KAl1/e9/FOoyixC3AUZ63Oj8fYkEA+mlUC0oU13O/2M+Yv8/NupRG0h2OdNBr4Pi3jAK A5Bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=THittGfJC8emYBhU0KhzGPQFIt3H4BeIZxF6YUUJJdg=; b=KrIT/6oWOvbv9JgbLXIkR0+GP5jxbMwzWUK3xNfVFOqGpT9h98sKgVSxNbB/gd9tCA kXP+p4a1gP9A9WWXekeaJs9UKYEfCUQRce/H+SwpbBG0EEkCxhGL1j+EKtyD5pS0p/kW Cqu26qmVJQrra/16ZZW0NmYf6OLOJuDFgG5z7dyP3K++S5BGRZ5kFTQdDtwVQstQMgRL GGCZe/ZglsGVXtEv9wIkRe7TDwnh/Ti+urZocOlA+OeZ0OehABcpU2zogFpEo+zdic91 36VZ5A/BxpNFfk8v3JbbvpQFIShq2+JjANhE9Uqt96+JhwCiix7xZa+l9GG8ZAhq4roX CLuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=M8xtLOf8; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j39si11200934plb.272.2019.02.25.16.28.18; Mon, 25 Feb 2019 16:28:33 -0800 (PST) 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=@chromium.org header.s=google header.b=M8xtLOf8; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729290AbfBZA1v (ORCPT + 99 others); Mon, 25 Feb 2019 19:27:51 -0500 Received: from mail-lj1-f195.google.com ([209.85.208.195]:38583 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728953AbfBZA1v (ORCPT ); Mon, 25 Feb 2019 19:27:51 -0500 Received: by mail-lj1-f195.google.com with SMTP id j19so9153000ljg.5 for ; Mon, 25 Feb 2019 16:27:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=THittGfJC8emYBhU0KhzGPQFIt3H4BeIZxF6YUUJJdg=; b=M8xtLOf819mKuTqGzIZh5FEWMHL4Oj6lRGxIbkhnnZ5YBEtr4X09H5aShqQUNddMw8 TchEUDsdfvInERbS1NqqA/0tOxlfQrr+sYSeZGaP9wn9qF1Ey1szZRF1y/S0JfadFtET bpXsK99UhMnPzhk989HhJmVDvQPeHn7zWDbM8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=THittGfJC8emYBhU0KhzGPQFIt3H4BeIZxF6YUUJJdg=; b=k38n+C3Bv43tY1mUoefE2zpSbs9Wv8T4pMMd1AMOeWrzG3XlqlSVNp8HC3kWdofnUz NKK+/maaOGrJslfqhLaaqbmxWZkiSaIx59bnvH2ykijkG9ChQRlK2wsJyRPl/pk0vdfD Y3MZqRpWwZ1j9iw5dvQmXEyJxBErm/k414ymHL5L8piq7mtacnEkvGidby17+a5P2rRt mT/9ldgvlFgRyp2LZ5UHhy4XRszObShxbRkAbVzMtpgB4M7EfJcmneU33SU153Pxlex1 RswHlFHJvJFCaLQR3WOGZTgZlRSN0FugdYxO8jtF9ZmaL6STbFEytrSL38Vem9jLD/8q Bwrw== X-Gm-Message-State: AHQUAuYSsnGKZ5hUex3EVx+9W+OpUSFl8a/QY50VBemEXMlMXULNvYUy crTWuCGQlgU4f/eCPjdD4jkBkBaeV4o= X-Received: by 2002:a2e:408:: with SMTP id 8mr11489547lje.15.1551140869042; Mon, 25 Feb 2019 16:27:49 -0800 (PST) Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com. [209.85.167.53]) by smtp.gmail.com with ESMTPSA id x64sm1839629lff.3.2019.02.25.16.27.48 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Feb 2019 16:27:48 -0800 (PST) Received: by mail-lf1-f53.google.com with SMTP id g2so8281735lfh.11 for ; Mon, 25 Feb 2019 16:27:48 -0800 (PST) X-Received: by 2002:a19:294d:: with SMTP id p74mr7312760lfp.101.1551138989171; Mon, 25 Feb 2019 15:56:29 -0800 (PST) MIME-Version: 1.0 References: <1546318276-18993-1-git-send-email-yong.wu@mediatek.com> <1546318276-18993-10-git-send-email-yong.wu@mediatek.com> In-Reply-To: <1546318276-18993-10-git-send-email-yong.wu@mediatek.com> From: Evan Green Date: Mon, 25 Feb 2019 15:55:51 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 09/13] drm/mediatek: Get rid of mtk_smi_larb_get/put To: Yong Wu Cc: Joerg Roedel , Greg Kroah-Hartman , Matthias Brugger , Rob Herring , Robin Murphy , Tomasz Figa , Will Deacon , linux-mediatek@lists.infradead.org, srv_heupstream@mediatek.com, "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , LKML , linux-arm-kernel@lists.infradead.org, iommu@lists.linux-foundation.org, Arnd Bergmann , yingjoe.chen@mediatek.com, youlin.pei@mediatek.com, Nicolas Boichat , CK Hu , Philipp Zabel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 31, 2018 at 8:52 PM Yong Wu wrote: > > MediaTek IOMMU has already added the device_link between the consumer > and smi-larb device. If the drm device call the pm_runtime_get_sync, > the smi-larb's pm_runtime_get_sync also be called automatically. > > CC: CK Hu > CC: Philipp Zabel > Signed-off-by: Yong Wu Nice cleanup. Reviewed-by: Evan Green