Message ID | 20190325071349.22600-14-a.hajda@samsung.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show
Return-Path: <linux-samsung-soc-owner@kernel.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 1AA8318E8 for <patchwork-linux-samsung-soc@patchwork.kernel.org>; Mon, 25 Mar 2019 07:14:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 02E8129246 for <patchwork-linux-samsung-soc@patchwork.kernel.org>; Mon, 25 Mar 2019 07:14:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EB4B22924B; Mon, 25 Mar 2019 07:14:02 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9E1F92924E for <patchwork-linux-samsung-soc@patchwork.kernel.org>; Mon, 25 Mar 2019 07:14:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729812AbfCYHOC (ORCPT <rfc822;patchwork-linux-samsung-soc@patchwork.kernel.org>); Mon, 25 Mar 2019 03:14:02 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:41924 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729800AbfCYHOC (ORCPT <rfc822;linux-samsung-soc@vger.kernel.org>); Mon, 25 Mar 2019 03:14:02 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190325071359euoutp01e7ed27a1e2ec7859398ee98f39c68152~PIjyDySjs0750607506euoutp01W; Mon, 25 Mar 2019 07:13:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190325071359euoutp01e7ed27a1e2ec7859398ee98f39c68152~PIjyDySjs0750607506euoutp01W DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1553498039; bh=qmmEzu6FVJs+Gsjerof7TDemZM9DzvAQr1WXPMY40Ec=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=kH03z+rxx+0c4/tMoUiaf6618WgKqG8psTL9+/oIqHOzh+0AD48cpPA472sfvxg93 xtFQ8i1aEDV47Guk/7o4NK7T92OtQe46EwRR6rMdW0TSc+QToKXIKH1bufhcfNe6HA O2dP6mBtMXYBeQAHGVcywU0IOb6ybGrnqKfzKrR0= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190325071359eucas1p2a94c208051bfc27a6e41e8f1e437ca10~PIjxtCJcs2649826498eucas1p2A; Mon, 25 Mar 2019 07:13:59 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 8D.4E.04377.7BF789C5; Mon, 25 Mar 2019 07:13:59 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190325071358eucas1p1e7f9aa715ac8f04b20fe6a64aa83700d~PIjxDN7MF1607216072eucas1p1r; Mon, 25 Mar 2019 07:13:58 +0000 (GMT) X-AuditID: cbfec7f4-113ff70000001119-d6-5c987fb71391 Received: from eusync3.samsung.com ( [203.254.199.213]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id D3.69.04146.6BF789C5; Mon, 25 Mar 2019 07:13:58 +0000 (GMT) Received: from AMDC3748.DIGITAL.local ([106.120.51.74]) by eusync3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0POW003QHUR43P00@eusync3.samsung.com>; Mon, 25 Mar 2019 07:13:58 +0000 (GMT) From: Andrzej Hajda <a.hajda@samsung.com> To: Inki Dae <inki.dae@samsung.com> Cc: Andrzej Hajda <a.hajda@samsung.com>, Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>, Marek Szyprowski <m.szyprowski@samsung.com>, dri-devel@lists.freedesktop.org, linux-samsung-soc@vger.kernel.org, Krzysztof Kozlowski <krzk@kernel.org> Subject: [PATCH v3 RESEND 13/24] drm/exynos/vidi: remove encoder_to_vidi helper Date: Mon, 25 Mar 2019 08:13:38 +0100 Message-id: <20190325071349.22600-14-a.hajda@samsung.com> X-Mailer: git-send-email 2.17.1 In-reply-to: <20190325071349.22600-1-a.hajda@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprBIsWRmVeSWpSXmKPExsWy7djPc7rb62fEGDyewGZxa905VouNM9az Wlz5+p7NYtL9CSwW589vYLeYcX4fk8XaI3fZHdg9Nq3qZPO4332cyaNvyypGj8+b5AJYorhs UlJzMstSi/TtErgy/j6MKvjNUTFvwhXWBsYz7F2MnBwSAiYSvyecYO5i5OIQEljBKPH50iRG COczo8Sl0x9YYKo2H17ABJFYxihxdvdBqKr/jBKrf60Eq2IT0JT4u/kmG4gtIqAssWpfOztI EbPAb0aJ6cu3gS0UFgiUeLBnMVgRi4CqxO8DnWDNvAKWEqf/HGGCWCcvsXrDAWYQmxMo/v/0 JWaI+E9WiS9/BSFsF4neR12MELaMRGfHQajeeon7K1rAHpIQ6GCU2LphJ1SztcTh4xdZQWxm AT6JSdumA8U5gOK8Eh1tQhAlHhJnnhxnhfish1Hi1LPvjBMYJRYwMqxiFE8tLc5NTy02ykst 1ytOzC0uzUvXS87P3cQIjK/T/45/2cG460/SIUYBDkYlHl6HPdNjhFgTy4orcw8xSnAwK4nw PhGdESPEm5JYWZValB9fVJqTWnyIUZqDRUmct5rhQbSQQHpiSWp2ampBahFMlomDU6qB0afo DtOuUoc1Bd/tj4kksV/d45uRf8djksfFy8LVDM6i8W8z2W131R/gtQzuCyks5FlbYyVkM98g ZKLT4YuSEW4cLmVxp3cJq4qaWh2547/+q6COZ8vjiGDvzvsvvvPZsW+dVndate1TELfwtMXr vlyd6MptKdaZpKPnEd3U+PoM29PvUfpKLMUZiYZazEXFiQDHdTXLqwIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpkluLIzCtJLcpLzFFi42I5/e/4Vd1t9TNiDHb/VbG4te4cq8XGGetZ La58fc9mMen+BBaL8+c3sFvMOL+PyWLtkbvsDuwem1Z1snnc7z7O5NG3ZRWjx+dNcgEsUVw2 Kak5mWWpRfp2CVwZfx9GFfzmqJg34QprA+MZ9i5GTg4JAROJzYcXMIHYQgJLGCVera7tYuQC shuZJLbuXw+WYBPQlPi7+SYbiC0ioCyxal87O0gRs8BvRonPM74ygySEBfwl/k9exQJiswio Svw+0Alm8wpYSpz+c4QJYpu8xOoNB8DqOYHi/09fYobYbCGxd1kj+wRGngWMDKsYRVJLi3PT c4sN9YoTc4tL89L1kvNzNzECA2bbsZ+bdzBe2hh8iFGAg1GJh9dhz/QYIdbEsuLK3EOMEhzM SiK8T0RnxAjxpiRWVqUW5ccXleakFh9ilOZgURLnPW9QGSUkkJ5YkpqdmlqQWgSTZeLglGpg DHG/N6n30QKP9SUKzOfklDNOvHr5a4uNfrlmhs1+vp6zbfHJe/2rbWqyhKo1mG76aNustzrU /yREo+amXZbpwTMesixSGgW7P1oYR5QeiE3tTZ+mFCIQ36ApWiRt4GAoeVxy241pGXbvevb+ zWs9e3p9aPdtKYEZW7pjVnxemzfL+eqJXGUlluKMREMt5qLiRABTXJylFAIAAA== X-CMS-MailID: 20190325071358eucas1p1e7f9aa715ac8f04b20fe6a64aa83700d CMS-TYPE: 201P X-CMS-RootMailID: 20190325071358eucas1p1e7f9aa715ac8f04b20fe6a64aa83700d References: <20190325071349.22600-1-a.hajda@samsung.com> <CGME20190325071358eucas1p1e7f9aa715ac8f04b20fe6a64aa83700d@eucas1p1.samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: <linux-samsung-soc.vger.kernel.org> X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
drm/exynos: add support for GSCALER planes on Exynos5433
|
expand
|
diff --git a/drivers/gpu/drm/exynos/exynos_drm_vidi.c b/drivers/gpu/drm/exynos/exynos_drm_vidi.c index 377aae5f7631..2579462aec70 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_vidi.c +++ b/drivers/gpu/drm/exynos/exynos_drm_vidi.c @@ -52,11 +52,6 @@ struct vidi_context { struct mutex lock; }; -static inline struct vidi_context *encoder_to_vidi(struct drm_encoder *e) -{ - return container_of(e, struct vidi_context, encoder); -} - #define to_vidi(ptr) container_of(ptr, struct vidi_context, ptr) static const char fake_edid_info[] = { @@ -331,7 +326,7 @@ static const struct drm_connector_helper_funcs vidi_connector_helper_funcs = { static int vidi_create_connector(struct drm_encoder *encoder) { - struct vidi_context *ctx = encoder_to_vidi(encoder); + struct vidi_context *ctx = to_vidi(encoder); struct drm_connector *connector = &ctx->connector; int ret;
It can be replaced by recently introduced to_vidi helper. Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> --- drivers/gpu/drm/exynos/exynos_drm_vidi.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)