From patchwork Fri Jun 11 02:59:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inki Dae X-Patchwork-Id: 12314599 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-21.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, INCLUDES_PULL_REQUEST,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 618D3C48BDF for ; Fri, 11 Jun 2021 02:50:17 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1D6FF61222 for ; Fri, 11 Jun 2021 02:50:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1D6FF61222 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=samsung.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7E2426E525; Fri, 11 Jun 2021 02:50:16 +0000 (UTC) Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4FD7E6E525 for ; Fri, 11 Jun 2021 02:50:15 +0000 (UTC) Received: from epcas1p1.samsung.com (unknown [182.195.41.45]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20210611025013epoutp01fbb7df9613d05e88c05206fcbf3d9312~HZ1bDqVnU2925329253epoutp01- for ; Fri, 11 Jun 2021 02:50:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20210611025013epoutp01fbb7df9613d05e88c05206fcbf3d9312~HZ1bDqVnU2925329253epoutp01- DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1623379813; bh=76g/yp5nTxd62hNm4R1Rvvp7hkkQXghX9lgOEJeNmng=; h=From:To:Cc:Subject:Date:References:From; b=r30MhHmcniDV94ecXmggPZpc5E5xuvULQwAYVpKkweHfpjrJGhWtz06UrierObNvb QgifGB0qXDLnHUKHlS2SH7X81pFYohVnObShNNDox62yiL/IMza1tINzoLYyfOfKqb wDj26tESS4/bUlFpDLsZzzrEadVo+lcpDeWNZmsw= Received: from epsnrtp2.localdomain (unknown [182.195.42.163]) by epcas1p3.samsung.com (KnoxPortal) with ESMTP id 20210611025012epcas1p3ee7617f510ae6c5060faccddfe5d6b45~HZ1a3Ak7y2092120921epcas1p3Q; Fri, 11 Jun 2021 02:50:12 +0000 (GMT) Received: from epsmges1p2.samsung.com (unknown [182.195.40.156]) by epsnrtp2.localdomain (Postfix) with ESMTP id 4G1QLT0nM1z4x9Q4; Fri, 11 Jun 2021 02:50:09 +0000 (GMT) Received: from epcas1p4.samsung.com ( [182.195.41.48]) by epsmges1p2.samsung.com (Symantec Messaging Gateway) with SMTP id 5D.AB.09701.55FC2C06; Fri, 11 Jun 2021 11:49:57 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas1p1.samsung.com (KnoxPortal) with ESMTPA id 20210611024956epcas1p1c15767f446a585a62be9aec1482082c1~HZ1L8hyks2574525745epcas1p1c; Fri, 11 Jun 2021 02:49:56 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20210611024956epsmtrp121a31882d7fd4524889a26617e1e0839~HZ1L72Jlx3125131251epsmtrp1S; Fri, 11 Jun 2021 02:49:56 +0000 (GMT) X-AuditID: b6c32a36-647ff700000025e5-d2-60c2cf5549ca Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id 41.8B.08163.45FC2C06; Fri, 11 Jun 2021 11:49:56 +0900 (KST) Received: from localhost.localdomain (unknown [10.113.221.211]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20210611024956epsmtip1bba7829aba57f707622d822070c8824f~HZ1LwLMSn2571825718epsmtip1I; Fri, 11 Jun 2021 02:49:56 +0000 (GMT) From: Inki Dae To: airlied@linux.ie Subject: [GIT PULL] exynos-drm-next Date: Fri, 11 Jun 2021 11:59:39 +0900 Message-Id: <20210611025939.393282-1-inki.dae@samsung.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrMKsWRmVeSWpSXmKPExsWy7bCmgW7o+UMJBksWC1r0njvJZHHl63s2 ixnn9zE5MHts//aA1eN+93Emj8+b5AKYo7JtMlITU1KLFFLzkvNTMvPSbZW8g+Od403NDAx1 DS0tzJUU8hJzU22VXHwCdN0yc4AWKSmUJeaUAoUCEouLlfTtbIryS0tSFTLyi0tslVILUnIK LAv0ihNzi0vz0vWS83OtDA0MjEyBChOyMz6cm8NSME+wYlXTAvYGxtV8XYycHBICJhKbDs1l 6WLk4hAS2MEocebBQVYI5xOjxM4jB6Aynxklvu75wgzT0tDdzA6R2MUocXX/YyYI5wujxJTZ S1lBqtgEVCUmrrjPBmKLCIhIHF/2F8xmFnCT+LP0LAuILSygLLH7+j6wehag+iVtTxlBbF4B K4mzLfvZIbbJS8y89J0dIi4ocXLmExaIOfISzVtnM4MslhCYxy4xa9oDqPNcJD7PeA9lC0u8 Or4FapCUxMv+NnaIhmZGiYkzTjNBOB2MEncfX2eBqDKW2L90MlCCA2iFpsT6Xf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+KLS nNTiQ4zSHCxK4rwXuk7GCwmkJ5akZqemFqQWwWSZODilGphiuq9+Z9u5vXzyFMHKFZek389d svOB79XC5e/dzq1d+yovmKt87ub3wZt+3qsK4NyzeZLWx4MqCQ97dDYy5XH/+HnkNf+UnD3Z 28x+bN53t+Rhe2LOMcvomstbIubvcOvznx0sFvQ04Fzbr8V3J+7z5ey9rqgwZ1OuNJeerKJr cf4WrZmZ987b1Dgs7Mvaa7fs5LyD0959PWJ3+Pbe826bthpf7HY9f7elPT1K6Ql39sziSLU8 ++21DVGfDnHz7c450nDIYueSX66/rrC92lz8MS7ja7dtQu2TzSI7uCfZXnS+vDqZ8VaCs9Fp 82eTDjr4cogy/b7rfvdV9gSDpjWVTBJtOlKdzjvOJ1Q/0lN7oMRSnJFoqMVcVJwIAHxlz6ig AgAA X-CMS-MailID: 20210611024956epcas1p1c15767f446a585a62be9aec1482082c1 X-Msg-Generator: CA X-Sendblock-Type: SVC_REQ_APPROVE CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20210611024956epcas1p1c15767f446a585a62be9aec1482082c1 References: X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-samsung-soc@vger.kernel.org, dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi Dave, Just two cleanups to replace pm_runtime_get_sync() with pm_runtime_resume_and_get(). Please kinkdly let me know if there is any problem. Thanks, Inki Dae The following changes since commit c707b73f0cfb1acc94a20389aecde65e6385349b: Merge tag 'amd-drm-next-5.14-2021-06-09' of https://gitlab.freedesktop.org/agd5f/linux into drm-next (2021-06-10 13:47:13 +1000) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos tags/exynos-drm-next-for-v5.14 for you to fetch changes up to 445d3bed75de4082c7c7794030ac9a5b8bfde886: drm/exynos: use pm_runtime_resume_and_get() (2021-06-11 10:56:38 +0900) ---------------------------------------------------------------- Two cleanups - These patches make Exynos DRM driver to use pm_runtime_resume_and_get() function instead of m_runtime_get_sync() to deal with usage counter. pm_runtime_get_sync() increases the usage counter even when it failed, which could make callers to forget to decrease the usage counter. pm_runtime_resume_and_get() decreases the usage counter regardless of whether it failed or not. ---------------------------------------------------------------- Inki Dae (1): drm/exynos: use pm_runtime_resume_and_get() Tian Tao (1): drm/exynos: Use pm_runtime_resume_and_get() to replace open coding drivers/gpu/drm/exynos/exynos5433_drm_decon.c | 7 ++++++- drivers/gpu/drm/exynos/exynos7_drm_decon.c | 7 ++++++- drivers/gpu/drm/exynos/exynos_drm_dsi.c | 7 ++++++- drivers/gpu/drm/exynos/exynos_drm_fimc.c | 8 +++++++- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 25 ++++++++++++++++++++----- drivers/gpu/drm/exynos/exynos_drm_g2d.c | 9 ++++++++- drivers/gpu/drm/exynos/exynos_drm_gsc.c | 7 ++++++- drivers/gpu/drm/exynos/exynos_drm_mic.c | 6 ++---- drivers/gpu/drm/exynos/exynos_drm_rotator.c | 7 ++++++- drivers/gpu/drm/exynos/exynos_drm_scaler.c | 10 ++++++---- drivers/gpu/drm/exynos/exynos_hdmi.c | 8 +++++++- drivers/gpu/drm/exynos/exynos_mixer.c | 7 ++++++- 12 files changed, 86 insertions(+), 22 deletions(-)