Received: by 2002:ac0:8845:0:0:0:0:0 with SMTP id g63csp9908img; Mon, 25 Feb 2019 16:24:34 -0800 (PST) X-Google-Smtp-Source: AHgI3IYmV49Uc3ZteEoqAIeGF+pjS6Kak5mgsrvFRvAhr9YxgqMR0EmRtGZFOi2NChLWuN7W4eh8 X-Received: by 2002:a63:68ca:: with SMTP id d193mr21477663pgc.53.1551140674384; Mon, 25 Feb 2019 16:24:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551140674; cv=none; d=google.com; s=arc-20160816; b=S6F3aGl+JPG27oBNMiv53MwpbZCcfgIoziyGNE9sIAzJvsv1oH1NN0TlB3JqpHAf6/ ToKSYWHGZDuOVYn1D9L6gNmVB/Svb/NlY7+pcEx/Goc+UIKuyNVajHibqCFF+FM1z6ur omOBDIrRVED4kKnuS/Gf4z7M9nBX1kOKWMdM5QekJZmtvkJTFBBA70d3WngDsY9Q0Hml /c+XofzUeIVDMOPn1KYEB+8G/Ft6vrMPPfHipW6u9xxXEbB9giwz5zH3CLEK5tbzycF4 CV/jORCTBU7M15IsPnCNumbGYEWZIGqgCsJFv5G41bNpBBqQt9dAFUKH9zXfP2OaEq5m gTKw== 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=R9fHDYu7/K0cxYsKBhkgbdvY8kvR2QORwgRSe5slh5k=; b=hbMXiIIqnCbUP3XTo+76OHheAcw3lC/jMEug6YOh5s7pkD4sHt2+0VuVyc39eqkMBj HI933L1U5d2xS5RJqHCWADIMZwfa1iZzmc64G9gn5wFD53jmTTBXp7WfnAd/WmddRJrL rHMFiNL02QaI6Us9VdYGgFgqqqAm4rkg3wDJRLeLmbvpSaOILJEL0lyXSJe5g04cazWh cuMzh3nc5Ic3iIchgvdi/Akh3w71CPZalNzp2c6/UsdWXHebmaOxU01RRY35+cSIct13 JqfEFR13okp49t6vMaHQ1M8EhTGL8/nplo9yZGGEmfQmNb8YRb9tAzviwWdSYEjOxzN7 07QQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=cHp5Y6XM; 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 y19si11395184pfc.229.2019.02.25.16.24.19; Mon, 25 Feb 2019 16:24:34 -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=cHp5Y6XM; 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 S1729442AbfBZAX0 (ORCPT + 99 others); Mon, 25 Feb 2019 19:23:26 -0500 Received: from mail-lf1-f67.google.com ([209.85.167.67]:39315 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729122AbfBZAXZ (ORCPT ); Mon, 25 Feb 2019 19:23:25 -0500 Received: by mail-lf1-f67.google.com with SMTP id m11so8298389lfc.6 for ; Mon, 25 Feb 2019 16:23:23 -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=R9fHDYu7/K0cxYsKBhkgbdvY8kvR2QORwgRSe5slh5k=; b=cHp5Y6XMmnVy/s/bjXsqT/7Q2JuFKTBrroRWUUnR9bfI7jozMY6TrEPaWzh7X1WuPh EKCkHnqlqQCGHRabdiKlXklvMa1rnGu7wSlz5sFySPzR6pdsZMGtwmQMEAyb1EgHlT0Q x2zZHPMEYO7N3Zzq/PN+95pCmAVMrK3otSyfc= 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=R9fHDYu7/K0cxYsKBhkgbdvY8kvR2QORwgRSe5slh5k=; b=DPkvA6McG+q7jp/WVV3xB3HFftlz1FnDqZEzHl9k5A5+M521MkWhiEpsX7p2ntznmj h/lHHm9mPxbOAzMT/9zNv22yXVzyoE6VcM2N2KqXHZkUuDjA0lZJGcZVwDzgMnZIEyi1 mEfVj1lNOEYwfD5BgMsuwgiNt/xhFpxLS44GaYJKbGLB8TEV4N2eH1YMnD766LTU9IBp eGe00Q3yXS1iKUYmmFwW5HHGVfcNUD/8UtBi28cpmHZbSFb9ppwb6USBJfgwGfn3A9vp r2ozg9/1rYNvEYIXnYCUbGhVbYIK1GU4uA+Vnnpc3hfQefUfgYR7wVFGPwP7KAi2Eeg1 B0/Q== X-Gm-Message-State: AHQUAuZnefoE9C3xHVBTy0WenA5gquOcnh7FeRyTW15/gch7eZhaDgid IIJ4vCgI6UQkc3NgL05Ew7NlJPTHZqs= X-Received: by 2002:a19:40c2:: with SMTP id n185mr4979533lfa.67.1551140603002; Mon, 25 Feb 2019 16:23:23 -0800 (PST) Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com. [209.85.208.179]) by smtp.gmail.com with ESMTPSA id v1sm544770lfg.13.2019.02.25.16.23.22 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Feb 2019 16:23:22 -0800 (PST) Received: by mail-lj1-f179.google.com with SMTP id w6so9136936ljd.7 for ; Mon, 25 Feb 2019 16:23:22 -0800 (PST) X-Received: by 2002:a2e:9f0b:: with SMTP id u11mr12182408ljk.64.1551138970199; Mon, 25 Feb 2019 15:56:10 -0800 (PST) MIME-Version: 1.0 References: <1546318276-18993-1-git-send-email-yong.wu@mediatek.com> <1546318276-18993-9-git-send-email-yong.wu@mediatek.com> In-Reply-To: <1546318276-18993-9-git-send-email-yong.wu@mediatek.com> From: Evan Green Date: Mon, 25 Feb 2019 15:55:34 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 08/13] media: mtk-vcodec: 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 , Tiffany Lin 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 vcodec device call the pm_runtime_get_sync, > the smi-larb's pm_runtime_get_sync also be called automatically. > > CC: Tiffany Lin > Signed-off-by: Yong Wu Reviewed-by: Evan Green