Received: by 2002:ac0:b08d:0:0:0:0:0 with SMTP id l13csp5030376imc; Mon, 25 Feb 2019 16:04:50 -0800 (PST) X-Google-Smtp-Source: AHgI3Iae5g9hyIz/GTrxSb9p8GfYbO4SeBCW/3Od5PGfZnhrvAHBtrNANPym/zbRJ6wUPZo7DXNJ X-Received: by 2002:a17:902:2aaa:: with SMTP id j39mr23587415plb.335.1551139490530; Mon, 25 Feb 2019 16:04:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551139490; cv=none; d=google.com; s=arc-20160816; b=QQJQkz834FX8iIQ5OqLytc3E0iY8CrmyWvuoHSfxfEDJnNGUo/QG76llzxudvaJ9M3 kw2R7/StHDCYBYbZ5/2/v9JpTdf4hKfYCTB5VtrKZ+swXTbNEZ8cSdfruLoXi1Q4GoeF gTchmviiKGN03hQPKWsYMVABcx5mJXM1EEkPV88V9Ze8wainUZ/hofB3yVi7dZXRrWQP gl+1PWxUOrvV7LXHAp0quvzvuc/jrpmq/y1wM4l1+OsSgbkS+dQWP75p2MN7EQy/hs+h 0QZUNtL0z5i6EjOYwOV0LJkwV8tdWb5e95ggFl0xBeC4bw8UYyDBT/9hzfJL96UHN0ZY onEw== 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=BBBvJ5O1lizmSG/RcyRUvgsbHkA/R9Bv19K+pXXW6dc=; b=ecwNVW1r+mYLCtCPyScma6MxJHZsTyZLStuM60V5iIkglN+UHZrGpcjVVij6pZszUl EhPk9g2TUReuZfHPqd+IjWkJaEL+oFUAuPaeyng2aBLJ1p1GWzoaDREfxojxzN1RX/Kr 826KMhRtPmui4sF87zNP2K0k2JEICh5yR5pyNpQphqqjiihwKm4RRW5VXrCxrSbJe/p2 bdh4Vc6UumPX24loFS1ZjOPKbivcnAtZ6mDZ0fCbZpGtX25cjoSVOfq1pRCqksYJwxGe U7zRB4PX/5xAKM9uC1RE3UiYqAsX9owj9VgJwXiPRpaWXMHcYetX2PJoW7C86u/KWwx3 cvfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=PQUfPwrH; 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 r17si10293722pgv.328.2019.02.25.16.04.35; Mon, 25 Feb 2019 16:04:50 -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=PQUfPwrH; 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 S1729149AbfBZACt (ORCPT + 99 others); Mon, 25 Feb 2019 19:02:49 -0500 Received: from mail-lf1-f68.google.com ([209.85.167.68]:45637 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727529AbfBZACt (ORCPT ); Mon, 25 Feb 2019 19:02:49 -0500 Received: by mail-lf1-f68.google.com with SMTP id h10so8241209lfc.12 for ; Mon, 25 Feb 2019 16:02:48 -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=BBBvJ5O1lizmSG/RcyRUvgsbHkA/R9Bv19K+pXXW6dc=; b=PQUfPwrHQX+Q5XqDAUVTooJpkVnxbAm0WClBt2lGerOGUm5e5PmWfkcbOyWTSnw4Go goAOdRvVF716J6oWY9S6DT4TKVWy/QUQBCzZ+Z3TwUPTmFSytAXu2VA6zcb21UYvdtMU fDt2I6QYCFDFF+McYhuoYtpdiw/s5i03jrbHo= 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=BBBvJ5O1lizmSG/RcyRUvgsbHkA/R9Bv19K+pXXW6dc=; b=f6uEZf1kW/VGCNlGoP6LG5vcpGlesbHrh++e8UIxKuE5jALMhH5yZnc9a7sBS/4F0h c6/2H1xlXJTWMg3sGJ4fcZd7hl1U6lsPgBZbiW+CX956VnQA8KJCWER+de4Uv25bxDM8 h9w8AQT+3gGAeBtx2SKOe/nLSnanUJHmk4eh2VBCsMeftExK/Rqu1Jgam/ZMxjPbqR9k R1RHdd9z78wVMjD1HmJrDMlgQNR9WpcLTYK7v1MKKymEbELfujDJ6e4WSN//h33v5Lis vlXJHPYhz56/CJBMvYgAMJA44yQsaYKvb2yVvjhCNfDUZqS89EZr2ek8PZYPeOAIf6iK w97g== X-Gm-Message-State: AHQUAuamHws+d6gs9WUgVwsMIYXQDaWpwwZ+lMvUwD2E5d01vsjsNEh2 tPDcqbvneF/GomVNFttYKbIguFex1dE= X-Received: by 2002:a19:ae0b:: with SMTP id f11mr12334829lfc.104.1551139367165; Mon, 25 Feb 2019 16:02:47 -0800 (PST) Received: from mail-lj1-f178.google.com (mail-lj1-f178.google.com. [209.85.208.178]) by smtp.gmail.com with ESMTPSA id g13sm2784259lfb.57.2019.02.25.16.02.47 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Feb 2019 16:02:47 -0800 (PST) Received: by mail-lj1-f178.google.com with SMTP id v10so9125618lji.3 for ; Mon, 25 Feb 2019 16:02:47 -0800 (PST) X-Received: by 2002:a2e:9ad1:: with SMTP id p17mr11648555ljj.30.1551138951645; Mon, 25 Feb 2019 15:55:51 -0800 (PST) MIME-Version: 1.0 References: <1546318276-18993-1-git-send-email-yong.wu@mediatek.com> <1546318276-18993-8-git-send-email-yong.wu@mediatek.com> In-Reply-To: <1546318276-18993-8-git-send-email-yong.wu@mediatek.com> From: Evan Green Date: Mon, 25 Feb 2019 15:55:15 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 07/13] media: mtk-mdp: 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 , Minghsiu Tsai 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 mdp device call the pm_runtime_get_sync, > the smi-larb's pm_runtime_get_sync also be called automatically. > > CC: Minghsiu Tsai > Signed-off-by: Yong Wu Reviewed-by: Evan Green