From patchwork Wed Jul 25 08:02:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inki Dae X-Patchwork-Id: 10543657 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 3AC8D112E for ; Wed, 25 Jul 2018 08:02:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2F2BC1FFBE for ; Wed, 25 Jul 2018 08:02:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 22E3D23201; Wed, 25 Jul 2018 08:02:42 +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 C3CC81FFBE for ; Wed, 25 Jul 2018 08:02:41 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id CF8236E66E; Wed, 25 Jul 2018 08:02:39 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mailout3.samsung.com (mailout3.samsung.com [203.254.224.33]) by gabe.freedesktop.org (Postfix) with ESMTPS id 928546E66E for ; Wed, 25 Jul 2018 08:02:38 +0000 (UTC) Received: from epcas1p2.samsung.com (unknown [182.195.41.46]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20180725080236epoutp03d2d74ef7f92d67d3d295f9c2ae64f2bf~Ejd2bqutA0981509815epoutp03X; Wed, 25 Jul 2018 08:02:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20180725080236epoutp03d2d74ef7f92d67d3d295f9c2ae64f2bf~Ejd2bqutA0981509815epoutp03X Received: from epsmges1p5.samsung.com (unknown [182.195.40.153]) by epcas1p1.samsung.com (KnoxPortal) with ESMTP id 20180725080232epcas1p1793ac69358eb372b1c0c9cc6605035ae~EjdzRGlro0891108911epcas1p1q; Wed, 25 Jul 2018 08:02:32 +0000 (GMT) Received: from epcas1p1.samsung.com ( [182.195.41.45]) by epsmges1p5.samsung.com (Symantec Messaging Gateway) with SMTP id 4D.60.04144.59E285B5; Wed, 25 Jul 2018 17:02:29 +0900 (KST) Received: from epsmgms2p1new.samsung.com (unknown [182.195.42.142]) by epcas1p2.samsung.com (KnoxPortal) with ESMTP id 20180725080228epcas1p2cdab6ad94e69018ba6f30c5bc82191c3~EjdvlSyH_3050230502epcas1p2N; Wed, 25 Jul 2018 08:02:28 +0000 (GMT) X-AuditID: b6c32a39-bb5ff70000001030-28-5b582e953bf2 Received: from epmmp1.local.host ( [203.254.227.16]) by epsmgms2p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 99.EA.03704.49E285B5; Wed, 25 Jul 2018 17:02:28 +0900 (KST) Received: from daeinki-desktop.tn.corp.samsungelectronics.net ([10.113.62.206]) by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0PCE00FDMX04AF00@mmp1.samsung.com>; Wed, 25 Jul 2018 17:02:28 +0900 (KST) From: Inki Dae To: airlied@linux.ie Subject: [GIT PULL] exynos-drm-next Date: Wed, 25 Jul 2018 17:02:28 +0900 Message-id: <1532505748-10025-1-git-send-email-inki.dae@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrAIsWRmVeSWpSXmKPExsWy7b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PWxcjFISSwk1Fi+aFFjBDOZCaJtt4V7CBVbAKqEhNX3GcDsUUERCSO L/sLZjMLuEn8WXqWBcQWFlCW2H19HyuIzQJUv+/lOzCbV8BF4uHJJiaIbXISJ49NZp3AyLWA kWEVo2RqQXFuem6xUYFhXmq5XnFibnFpXrpecn7uJkagb7cd1urbwXh/SfwhRgEORiUeXg/H 8Ggh1sSy4srcQ4wSHMxKIrwuh4FCvCmJlVWpRfnxRaU5qcWHGKU5WJTEeW/nHYsUEkhPLEnN Tk0tSC2CyTJxcEo1MGZ0ioboTb7405x7/9sFxYVF75tWy337MFmpKb19TtTbb81rJXLrPWKK 5e/fFqrSn/neZV3hOc+Ei5uXPJnnO3FrlUTBjVfbtaZufCb068CKm7wGe8VkRJMXMiQ6L/w3 12jbhDMPJsmdajc8WBr5SnDq1UC7Dimzc/cmq5QETHPebHNu5661vyOUWIozEg21mIuKEwHU AKny6QEAAA== X-CMS-MailID: 20180725080228epcas1p2cdab6ad94e69018ba6f30c5bc82191c3 X-Msg-Generator: CA CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20180725080228epcas1p2cdab6ad94e69018ba6f30c5bc82191c3 References: 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: linux-samsung-soc@vger.kernel.org, dri-devel@lists.freedesktop.org MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Hi Dave, Two big cleanups to suspend/resume code and g2d driver including trivial one. Please kindly let me know if there is any problem. Thanks, Inki Dae The following changes since commit 2d3bda7071a713fa4ecf9d0acb7faede6d59100a: Merge tag 'exynos-drm-fixes-for-v4.18-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos into exynos-drm-next (2018-07-24 15:28:44 +0900) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos tags/exynos-drm-next-for-v4.19 for you to fetch changes up to 3f2b78d630b46c7921cb415be35f686e5293c3a4: drm/exynos/mixer: Remove unused local variable priv (2018-07-24 16:28:53 +0900) ---------------------------------------------------------------- Cleanups - Change g2d driver to component based driver . g2d driver was last customed sub driver so this patch series changes it to component based driver, which also makes gem handling to be more simplify. - Cleanup of Exynos DRM suspend/resume . Register exynos drm core suspend/resume functions to prepare/complete callbacks of dev_pm_ops instead of suspend/resume callbacks to ensure exynos_drm_suspend() is called before any suspend callback from the real devices to avoid some issues on boards with complex pipelines. . Also Add pm_runtime_furce_suspend/resume as SYSTEM_SLEEP_PM_OPS to ensure that resources of each devices will be released for the system PM suspend/resume cycle. - Remove local value not used. ---------------------------------------------------------------- Krzysztof Kozlowski (1): drm/exynos/mixer: Remove unused local variable priv Marek Szyprowski (6): drm/exynos: g2d: Convert to driver component API drm/exynos: gem: Simplify access to exynos GEM objects drm/exynos: Use common exynos_drm_gem_get()/put() functions for GEM lookup drm/exynos: Drop useless check from exynos_drm_{suspend,resume} drm/exynos: Suspend/resume display pipeline as early/late as possible drm/exynos: Ensure suspended runtime PM state during system suspend drivers/gpu/drm/exynos/Makefile | 2 +- drivers/gpu/drm/exynos/exynos5433_drm_decon.c | 2 + drivers/gpu/drm/exynos/exynos7_drm_decon.c | 2 + drivers/gpu/drm/exynos/exynos_dp.c | 3 + drivers/gpu/drm/exynos/exynos_drm_core.c | 119 ---------- drivers/gpu/drm/exynos/exynos_drm_drv.c | 29 +-- drivers/gpu/drm/exynos/exynos_drm_drv.h | 47 +--- drivers/gpu/drm/exynos/exynos_drm_dsi.c | 2 + drivers/gpu/drm/exynos/exynos_drm_fb.c | 10 +- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 2 + drivers/gpu/drm/exynos/exynos_drm_g2d.c | 300 ++++++++++---------------- drivers/gpu/drm/exynos/exynos_drm_g2d.h | 11 + drivers/gpu/drm/exynos/exynos_drm_gem.c | 58 +---- drivers/gpu/drm/exynos/exynos_drm_gem.h | 24 +-- drivers/gpu/drm/exynos/exynos_drm_ipp.c | 10 +- drivers/gpu/drm/exynos/exynos_drm_mic.c | 2 + drivers/gpu/drm/exynos/exynos_hdmi.c | 2 + drivers/gpu/drm/exynos/exynos_mixer.c | 4 +- 18 files changed, 179 insertions(+), 450 deletions(-) delete mode 100644 drivers/gpu/drm/exynos/exynos_drm_core.c