Message ID | 20190301122055.7135-17-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 073851515 for <patchwork-linux-samsung-soc@patchwork.kernel.org>; Fri, 1 Mar 2019 12:21:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EB9912097A for <patchwork-linux-samsung-soc@patchwork.kernel.org>; Fri, 1 Mar 2019 12:21:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DFFDE2D964; Fri, 1 Mar 2019 12:21:17 +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 8C8AF2097A for <patchwork-linux-samsung-soc@patchwork.kernel.org>; Fri, 1 Mar 2019 12:21:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388216AbfCAMVQ (ORCPT <rfc822;patchwork-linux-samsung-soc@patchwork.kernel.org>); Fri, 1 Mar 2019 07:21:16 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:36645 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388177AbfCAMVO (ORCPT <rfc822;linux-samsung-soc@vger.kernel.org>); Fri, 1 Mar 2019 07:21:14 -0500 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190301122113euoutp01dd2c0743ff0bb41bc216f7fde607e4a9~H1RLCVqPN1452714527euoutp01T; Fri, 1 Mar 2019 12:21:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190301122113euoutp01dd2c0743ff0bb41bc216f7fde607e4a9~H1RLCVqPN1452714527euoutp01T DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1551442873; bh=EDMDwUaiU6twXfERSDZPZXY/mOmWI2xG0PbTbogkuUA=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=gSGOiO+DlOmA/hyHJn9jNdto4sDckKZc2/bFShTAZX8g+nIiVXnQYk3DyL0QvRgq2 c97KyrDbP/Gj99uPcNzk6CCFBO1COFMIF6k8q8/nI8ltXCS2jDHlEwXzwTihbBsVsE oBsN7QGeuPVCjjhZjKQkgea/NI2XmVhGhC6NtOjI= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190301122112eucas1p285f16123d0c5624d7c539fdd83cdd0e3~H1RKnx80U2871928719eucas1p2d; Fri, 1 Mar 2019 12:21:12 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 33.5B.04806.8B3297C5; Fri, 1 Mar 2019 12:21:12 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190301122112eucas1p2c0099b31af68e2c72c07640ab994123a~H1RJ7Aqg02069220692eucas1p27; Fri, 1 Mar 2019 12:21:12 +0000 (GMT) X-AuditID: cbfec7f5-34dff700000012c6-8d-5c7923b88750 Received: from eusync3.samsung.com ( [203.254.199.213]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 38.6C.04128.7B3297C5; Fri, 1 Mar 2019 12:21:11 +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:11 +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 16/23] drm/exynos/gscaler: fix id assignement Date: Fri, 01 Mar 2019 13:20:48 +0100 Message-id: <20190301122055.7135-17-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+NgFupnkeLIzCtJLcpLzFFi42LZduznOd0dypUxBs8fy1rcWneO1WLjjPWs Fle+vmezmHR/AovFjPP7mCzWHrnL7sDmcb/7OJNH35ZVjB6fN8kFMEdx2aSk5mSWpRbp2yVw Zex8cpq5YAlrxd4pL9kaGPeydDFyckgImEj0zmxn7mLk4hASWMEoseRYOwuE85lR4uzH2QhV PW/ZIBLLGCUeXtnJBOH8Z5T4s/kfWBWbgKbE38032UBsEQFliVX72tlBipgFLjFKvD7ZzQiS EBawlZi84A4riM0ioCqx6OJ+dhCbV8BC4s3CyWwQ6+QlVm84wAxicwLFD66EGCQh8JZV4s35 PiaIIheJngWnoWwZicuTu6FurZdomnmFGaKhg1HixOLlUFOtJQ4fvwi2mVmAT2LStulARRxA cV6JjjYhiBIPidvzr4DNFBLoZpTYv09hAqPEAkaGVYziqaXFuempxcZ5qeV6xYm5xaV56XrJ +bmbGIHRdPrf8a87GPf9STrEKMDBqMTDu+N1eYwQa2JZcWXuIUYJDmYlEV4+hsoYId6UxMqq 1KL8+KLSnNTiQ4zSHCxK4rzVDA+ihQTSE0tSs1NTC1KLYLJMHJxSDYxdx9qCLk+UT+cs1v8+ 9b54qfM2uX0iky0eXVzaJdp0LueQAUOJ89eWAsFg381tyRYbd9vaNTiIrTtZ8pRNc6vdHxsx yZc3/z7cr/1GI06wYJ3wO6m1QgWGbGufzp02Qa+bJea2C1/V/BUBOjn+049GXRCIc3G05rux ctYqlbWn/88/3HKfI02JpTgj0VCLuag4EQDRPPEtogIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrBJMWRmVeSWpSXmKPExsVy+t/xq7rblStjDLbcNbO4te4cq8XGGetZ La58fc9mMen+BBaLGef3MVmsPXKX3YHN4373cSaPvi2rGD0+b5ILYI7isklJzcksSy3St0vg ytj55DRzwRLWir1TXrI1MO5l6WLk5JAQMJHo7XnL1sXIxSEksIRRYtv/uUwQTiOTxPXju9hB qtgENCX+br7JBmKLCChLrNrXzg5SxCxwhVGi/VsXWJGwgK3E5AV3WEFsFgFViUUX94PFeQUs JN4snMwGsU5eYvWGA8wgNidQ/OBKkEEcQNvMJTadjprAyLOAkWEVo0hqaXFuem6xkV5xYm5x aV66XnJ+7iZGYHhsO/Zzyw7GrnfBhxgFOBiVeHgTXpbHCLEmlhVX5h5ilOBgVhLh5WOojBHi TUmsrEotyo8vKs1JLT7EKM3BoiTOe96gMkpIID2xJDU7NbUgtQgmy8TBKdXAeDRqmoKg4erk mTl3wmdc8N0sdlFgf+6n1bEvj4lW8rX6Hbx0jm8b+2TGa6vsTJIyW+u0O0Ov7VK56vREMHlv kMvl1j0LI7omfTr6alt5Sv7ckvXLOt5tjnmWmu605YbRqeU/K78xbjR3D+nJ7eX9yhVsetC/ NevtBH0LqbzLvydqRc9/YdT2RomlOCPRUIu5qDgRAGO1ulcLAgAA X-CMS-MailID: 20190301122112eucas1p2c0099b31af68e2c72c07640ab994123a CMS-TYPE: 201P X-CMS-RootMailID: 20190301122112eucas1p2c0099b31af68e2c72c07640ab994123a References: <20190301122055.7135-1-a.hajda@samsung.com> <CGME20190301122112eucas1p2c0099b31af68e2c72c07640ab994123a@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_gsc.c b/drivers/gpu/drm/exynos/exynos_drm_gsc.c index f048d97fe9e2..8d5aa70c8ab8 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_gsc.c +++ b/drivers/gpu/drm/exynos/exynos_drm_gsc.c @@ -1287,7 +1287,7 @@ static int gsc_probe(struct platform_device *pdev) } /* context initailization */ - ctx->id = pdev->id; + ctx->id = of_alias_get_id(dev->of_node, "gsc"); platform_set_drvdata(pdev, ctx);
Id should be assigned based on OF alias. Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> --- drivers/gpu/drm/exynos/exynos_drm_gsc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)