Message ID | 20190301122055.7135-12-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 95C011515 for <patchwork-linux-samsung-soc@patchwork.kernel.org>; Fri, 1 Mar 2019 12:21:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 85C982D900 for <patchwork-linux-samsung-soc@patchwork.kernel.org>; Fri, 1 Mar 2019 12:21:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7A0C32D931; Fri, 1 Mar 2019 12:21:13 +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 292FE2D964 for <patchwork-linux-samsung-soc@patchwork.kernel.org>; Fri, 1 Mar 2019 12:21:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388161AbfCAMVM (ORCPT <rfc822;patchwork-linux-samsung-soc@patchwork.kernel.org>); Fri, 1 Mar 2019 07:21:12 -0500 Received: from mailout2.w1.samsung.com ([210.118.77.12]:39167 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388156AbfCAMVM (ORCPT <rfc822;linux-samsung-soc@vger.kernel.org>); Fri, 1 Mar 2019 07:21:12 -0500 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190301122111euoutp0200ac5bf5e9e172d6fd66e599bbd3e08f~H1RJSJLGo2151021510euoutp026; Fri, 1 Mar 2019 12:21:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190301122111euoutp0200ac5bf5e9e172d6fd66e599bbd3e08f~H1RJSJLGo2151021510euoutp026 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1551442871; bh=qmmEzu6FVJs+Gsjerof7TDemZM9DzvAQr1WXPMY40Ec=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=UEYe+tIfNHkBg6dxymyserfX2T7HQPlOBqV7LofhU7BY/eYHPCWDsdxJnQ8xWQJUj dZhH5c8C2SxeyTc8RXj8gA/A+34stH+jYjKyyz/93FQ6Yf+0irkrAf9zIOt1b//Ag9 gCXYSqvVkxRlhdkL1mqMMF2RQHgpg3Bcv9T48QV8= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190301122110eucas1p211da63d4eddbd3eb93c87f0390ae5dd9~H1RIwzgym1653116531eucas1p2m; Fri, 1 Mar 2019 12:21:10 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 52.5B.04806.6B3297C5; Fri, 1 Mar 2019 12:21:10 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190301122110eucas1p2506e2cc528823cb2276d757ad49cc396~H1RIJx8C22978329783eucas1p2p; Fri, 1 Mar 2019 12:21:10 +0000 (GMT) X-AuditID: cbfec7f5-367ff700000012c6-86-5c7923b6d30f Received: from eusync3.samsung.com ( [203.254.199.213]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id C6.6C.04128.6B3297C5; Fri, 1 Mar 2019 12:21:10 +0000 (GMT) Received: from AMDC3748.DIGITAL.local ([106.120.43.17]) by eusync3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0PNO007ENSZ56Z20@eusync3.samsung.com>; Fri, 01 Mar 2019 12:21:10 +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 Subject: [PATCH 11/23] drm/exynos/vidi: remove encoder_to_vidi helper Date: Fri, 01 Mar 2019 13:20:43 +0100 Message-id: <20190301122055.7135-12-a.hajda@samsung.com> X-Mailer: git-send-email 2.17.1 In-reply-to: <20190301122055.7135-1-a.hajda@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuplkeLIzCtJLcpLzFFi42LZduznOd1typUxBr8XyVvcWneO1WLjjPWs Fle+vmezmHR/AovFjPP7mCzWHrnL7sDmcb/7OJNH35ZVjB6fN8kFMEdx2aSk5mSWpRbp2yVw Zfx9GFXwm6Ni3oQrrA2MZ9i7GDk5JARMJOb+/8gEYgsJrGCUOPqSuYuRC8j+zCgx+dx0Jpii vcv/skAkljFK3GiawQjR8Z9R4vs+exCbTUBT4u/mm2wgtoiAssSqfe3sIA3MApcYJV6f7AZr EBZwlVhwcDULiM0ioCrxccN2sAZeAQuJJ9vfQZ0kL7F6wwFmEJsTKH5wJcQgCYGXrBJdG1tY IYpcJBYe6II6T0bi8uRuFgi7XqJp5hVmiIYORokTi5ezQSSsJQ4fvwjWzCzAJzFp23SgIg6g OK9ER5sQRImHxPvrk9kh3uxmlJi1aR7zBEaJBYwMqxjFU0uLc9NTi43zUsv1ihNzi0vz0vWS 83M3MQIj6fS/4193MO77k3SIUYCDUYmHd8fr8hgh1sSy4srcQ4wSHMxKIrx8DJUxQrwpiZVV qUX58UWlOanFhxilOViUxHmrGR5ECwmkJ5akZqemFqQWwWSZODilGhjVn+xN5blm+l7snWlH utnx5/M/GJl41f/3e8BfWnx5waMNDPlSKmG+057nPdtwcdn7LfJae5R5vFku3ag61857Nzng 5oYr0c3eLKkZPuYLT4n+ehc171FgtDhPwQuD1btumT37XmC/QmHd6c3h2tutl9e4ml+qje9d 1z3L7oG6WiDv5+PPtlYqsRRnJBpqMRcVJwIAuTgzKqACAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrOJMWRmVeSWpSXmKPExsVy+t/xq7rblCtjDH7eYrG4te4cq8XGGetZ La58fc9mMen+BBaLGef3MVmsPXKX3YHN4373cSaPvi2rGD0+b5ILYI7isklJzcksSy3St0vg yvj7MKrgN0fFvAlXWBsYz7B3MXJySAiYSOxd/peli5GLQ0hgCaPEhH9NbBBOI5PEu/cvWECq 2AQ0Jf5uvskGYosIKEus2tfODlLELHCFUaL9WxfYKGEBV4kFB1eDNbAIqEp83LAdrIFXwELi yfZ3UOvkJVZvOMAMYnMCxQ+uBBnEAbTNXGLT6agJjDwLGBlWMYqklhbnpucWG+kVJ+YWl+al 6yXn525iBAbHtmM/t+xg7HoXfIhRgINRiYc34WV5jBBrYllxZe4hRgkOZiURXj6Gyhgh3pTE yqrUovz4otKc1OJDjNIcLErivOcNKqOEBNITS1KzU1MLUotgskwcnFINjCLx155kcz2O3vtA oOPn77ik7nnvsiKD31eonljZskt1oaGbq3LkvektzdeO6k11PXpTwf3Eccueysjbx7qOpGRf vXoi7rmv0VYbp2nrHQsE1kkwBu9f5Jr6gWV28hNZX/44YQ/JL6VlQhIdojMf2pf8mrxqafes WyUzm7qfzIn8lM/Fz6rYocRSnJFoqMVcVJwIAK911QcKAgAA X-CMS-MailID: 20190301122110eucas1p2506e2cc528823cb2276d757ad49cc396 CMS-TYPE: 201P X-CMS-RootMailID: 20190301122110eucas1p2506e2cc528823cb2276d757ad49cc396 References: <20190301122055.7135-1-a.hajda@samsung.com> <CGME20190301122110eucas1p2506e2cc528823cb2276d757ad49cc396@eucas1p2.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(-)