Message ID | 20190320130707.25161-16-a.hajda@samsung.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <dri-devel-bounces@lists.freedesktop.org> 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 8057815AC for <patchwork-dri-devel@patchwork.kernel.org>; Wed, 20 Mar 2019 13:08:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 651E129928 for <patchwork-dri-devel@patchwork.kernel.org>; Wed, 20 Mar 2019 13:08:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 59269299B6; Wed, 20 Mar 2019 13:08:09 +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 180CE2996A for <patchwork-dri-devel@patchwork.kernel.org>; Wed, 20 Mar 2019 13:08:09 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8229289E5F; Wed, 20 Mar 2019 13:08:05 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) by gabe.freedesktop.org (Postfix) with ESMTPS id 744EF89DBF for <dri-devel@lists.freedesktop.org>; Wed, 20 Mar 2019 13:07:20 +0000 (UTC) Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190320130719euoutp02c52dfa136eadc42463c097604bc0befc~NrJ2ZVWhk1534915349euoutp02D; Wed, 20 Mar 2019 13:07:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190320130719euoutp02c52dfa136eadc42463c097604bc0befc~NrJ2ZVWhk1534915349euoutp02D Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190320130719eucas1p2da9f31c8a639272c2dd0cce203e96f68~NrJ2D6seO1479814798eucas1p2T; Wed, 20 Mar 2019 13:07:19 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 8D.35.04441.60B329C5; Wed, 20 Mar 2019 13:07:18 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190320130718eucas1p15d440d88365fa5ea213f592b97e6f226~NrJ1WXXIs2312123121eucas1p10; Wed, 20 Mar 2019 13:07:18 +0000 (GMT) X-AuditID: cbfec7f2-5e3ff70000001159-b4-5c923b0675cb Received: from eusync1.samsung.com ( [203.254.199.211]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id CB.DA.04128.60B329C5; Wed, 20 Mar 2019 13:07:18 +0000 (GMT) Received: from AMDC3748.DIGITAL.local ([106.120.43.17]) by eusync1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0POO004P71RZN460@eusync1.samsung.com>; Wed, 20 Mar 2019 13:07:18 +0000 (GMT) From: Andrzej Hajda <a.hajda@samsung.com> To: Inki Dae <inki.dae@samsung.com> Subject: [PATCH v2 RESEND 15/24] drm/exynos: add plane update/disable callbacks for planes Date: Wed, 20 Mar 2019 14:06:58 +0100 Message-id: <20190320130707.25161-16-a.hajda@samsung.com> X-Mailer: git-send-email 2.17.1 In-reply-to: <20190320130707.25161-1-a.hajda@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprJIsWRmVeSWpSXmKPExsWy7djP87ps1pNiDI4vMrK4te4cq8XGGetZ La58fc9mMen+BBaL8+c3sFvMOL+PyWLtkbvsDuwem1Z1snnc7z7O5NG3ZRWjx+dNcgEsUVw2 Kak5mWWpRfp2CVwZm18/ZCk4zVlxsv0HawPjRI4uRk4OCQETiUN7p7GB2EICKxglnr+u7GLk ArI/M0o8WnycDabo2oz5bBCJZYwSS99eZ4Jw/jNKrDnRxgxSxSagKfF3802wDhEBZYlV+9rZ QYqYBX4zSkxfvo0dJCEsECOx+tJ2FhCbRUBVYsuCGWANvAKWErfuN7FArJOXWL3hANhQTqD4 wzn/wQZJCPxllXjxdR3UTS4SVxo/Q9kyEpcnd0M110vcX9HCDNHQwSixdcNOZoiEtcTh4xdZ QWxmAT6JSdumA8U5gOK8Eh1tQhAlHhJLl8+G+rOHUaLpyj7GCYwSCxgZVjGKp5YW56anFhvm pZbrFSfmFpfmpesl5+duYgRG2Ol/xz/tYPx6KekQowAHoxIPb8ObCTFCrIllxZW5hxglOJiV RHgjlCbFCPGmJFZWpRblxxeV5qQWH2KU5mBREuetZngQLSSQnliSmp2aWpBaBJNl4uCUamDc /z78ilvl8pVxh06fjhcuy6jRvvvY7p191kVr112Fv5Laql78L4g3C83Pt/Ba7hV5tut8VrM+ p36u8S3V+zf/X2w1uFC6cleB1nuDvV8l3t5WnJLM8pQxnN3ggtvJfYsEP9/UnfOs1PX0o+qz /393pST9n36dmaWh/5GMa0Bx3NzVqozLsu4rsRRnJBpqMRcVJwIAESQN/KwCAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpiluLIzCtJLcpLzFFi42I5/e/4ZV0260kxBhPuclncWneO1WLjjPWs Fle+vmezmHR/AovF+fMb2C1mnN/HZLH2yF12B3aPTas62Tzudx9n8ujbsorR4/MmuQCWKC6b lNSczLLUIn27BK6Mza8fshSc5qw42f6DtYFxIkcXIyeHhICJxLUZ89m6GLk4hASWMErMaFrE DuE0Mkn8nfSEDaSKTUBT4u/mm2C2iICyxKp97WBFzAK/GSU+z/jK3MXIwSEsECPxeqEUSA2L gKrElgUzwOp5BSwlbt1vYoHYJi+xesMBZhCbEyj+cM5/dhBbSMBCYvGJu4wTGHkWMDKsYhRJ LS3OTc8tNtIrTswtLs1L10vOz93ECAyZbcd+btnB2PUu+BCjAAejEg9vxdMJMUKsiWXFlbmH GCU4mJVEeCOUJsUI8aYkVlalFuXHF5XmpBYfYpTmYFES5z1vUBklJJCeWJKanZpakFoEk2Xi 4JRqYFy+ump5URgTT1OuOfu6DctKpzZ+uaq+MKDCJVsi7MZyF2Ghzt49i1e6dBX4ftvP53ma 47ff3oK3rtI6czLbZKvPzYnt52yV0Sj12mSWs8i2QKDrTT6vlugzBWZLox18Ui8XH7lTf7n7 sWqMb53xDdbexY5d01WOXtqZ5mKyeFah3rvVR9O0lFiKMxINtZiLihMBlIGpdBUCAAA= X-CMS-MailID: 20190320130718eucas1p15d440d88365fa5ea213f592b97e6f226 CMS-TYPE: 201P X-CMS-RootMailID: 20190320130718eucas1p15d440d88365fa5ea213f592b97e6f226 References: <20190320130707.25161-1-a.hajda@samsung.com> <CGME20190320130718eucas1p15d440d88365fa5ea213f592b97e6f226@eucas1p1.samsung.com> X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1553087239; bh=ga2SLg3yv9wsqZ8MVIaXNymZsZ9/UV+lZIuI9VL5Rsg=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=oRb8Kg94biEVx8/kulfPlzvd4YZqGO1mayh/3XwSna0PN8z5NF7l2NggOXqVT2mv4 knNYIwDR0aaA7NVpRlq2jQInSgwYZXhPy9pUk0qLvQGoT/cWhdKCUpuce8b48mwIs5 LHJ7dwPcge3fT1m1D/26Qkp3lzhXVI7H5hh2A+Vs= X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Cc: linux-samsung-soc@vger.kernel.org, Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>, Krzysztof Kozlowski <krzk@kernel.org>, dri-devel@lists.freedesktop.org, Marek Szyprowski <m.szyprowski@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
[v2,RESEND,01/24] drm/exynos: remove exynos_drm_plane.h header
|
expand
|
diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.h b/drivers/gpu/drm/exynos/exynos_drm_drv.h index 6643db865500..5d06e796dc80 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_drv.h +++ b/drivers/gpu/drm/exynos/exynos_drm_drv.h @@ -76,6 +76,12 @@ to_exynos_plane_state(struct drm_plane_state *state) #define EXYNOS_DRM_PLANE_CAP_PIX_BLEND (1 << 4) #define EXYNOS_DRM_PLANE_CAP_WIN_BLEND (1 << 5) +struct exynos_drm_plane; +struct exynos_drm_plane_ops { + void (*update_plane)(struct exynos_drm_plane *plane); + void (*disable_plane)(struct exynos_drm_plane *plane); +}; + /* * Exynos drm common overlay structure. * @@ -89,6 +95,7 @@ to_exynos_plane_state(struct drm_plane_state *state) struct exynos_drm_plane { struct drm_plane base; + const struct exynos_drm_plane_ops *ops; unsigned int index; unsigned int capabilities; };
Display controllers in Exynos beside native planes/windows can use external planes provided by other IPs - GSCALER, FIMD, VPP. To add support to them we will need plane specific callbacks. Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> --- drivers/gpu/drm/exynos/exynos_drm_drv.h | 7 +++++++ 1 file changed, 7 insertions(+)