Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2011940imu; Fri, 14 Dec 2018 04:29:38 -0800 (PST) X-Google-Smtp-Source: AFSGD/Uk7EB60ubBH6GtvOMP1A2A+VzgwB5llJkxQEQA+4rqTKdtWGnm61PXdY/QJp6d1xVleSxU X-Received: by 2002:a17:902:3181:: with SMTP id x1mr2718006plb.58.1544790578911; Fri, 14 Dec 2018 04:29:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544790578; cv=none; d=google.com; s=arc-20160816; b=PO5lCwpfDtssN2ARAowkB1ZivavDKv1kQh5T6JOkdvZ8+I2yWyJdKHbVjaI5ih+Z04 hNsOcflR9iSLOxvKFFG9cK0pHsTqDEuPMFO83uNZho3Hvuk9OIkCg0vQJtu1eKVyDqlP SfozcvlcTmfxbt7Ia4k4JsS1Rp51BTxpVMGQgKLyvDzjakBKQ47aQyO5NRpHeDx6C/U4 DB67Sds3DfU0t8lFhYQZJs/q+WbfzzRUjfCcTz/dIGZwPVaFNlCStOFKNgf71mkt+1Cv DKpAdf3euACWSOyzVT/HHqTr/qD0ni9F+HPl1bMQe76ohGk/RM/E9aQv5wGyG9HHxULM XJrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=jmdJ/NA9nPVJR2QikrVMfECRqgyb9ILMyUSvIDMtSjs=; b=E+qOWPkM/7UEklRdao7dYTr92nyysGx1wXrl3EuLqAWPJj/K81KionvVOdNzXueZ8g eyEzARAFmk7n1vXGA4OeRDfR9o+7IlD25Ha9x1EaWtlrFHPFon5CWSZGplEmVjZKD3A8 aWlKHFMmcBn3BLHOo4X/KGdkCZwyABUFxGXHUMdved9AaxRsjLIlt4NbKd0RucxATC9e UHb/HeIO5vixi+ukZqC+dXRTg8ykCradz5s1qFAgCTYLKS4Y9YGyviwAIDlLMKl9BVkV vlb9U4is+9UI8RtIXZO4aFHndYMlr4/hqKNn5yYoEfwVpeFOb0ygv5+VfwmuyhZ3O+N4 6tbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b="faF3/U2n"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q34si990807pgk.35.2018.12.14.04.29.24; Fri, 14 Dec 2018 04:29:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b="faF3/U2n"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730955AbeLNMKn (ORCPT + 99 others); Fri, 14 Dec 2018 07:10:43 -0500 Received: from mailout2.w1.samsung.com ([210.118.77.12]:35249 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731599AbeLNMKk (ORCPT ); Fri, 14 Dec 2018 07:10:40 -0500 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20181214121038euoutp02429bb3b16eaad5f62bebf6dcf509787e~wMc82hXME0903709037euoutp02Q for ; Fri, 14 Dec 2018 12:10:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20181214121038euoutp02429bb3b16eaad5f62bebf6dcf509787e~wMc82hXME0903709037euoutp02Q DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1544789438; bh=jmdJ/NA9nPVJR2QikrVMfECRqgyb9ILMyUSvIDMtSjs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=faF3/U2nBIfZJYNPieAO1iSWdvzDsq8JAaXjFiS+BF3qU4vHB1H6i6QPCVSgXG9Q3 TvXOUcm2zEZIcEDdKOEgmS1uil8YzCMP32qXxQBEJPZZiIZiL/0y5f0s+J6rovRSnB J4k8exsmttYPF0YrKYQTcKkRJ/IxLSZkUo2YquEE= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20181214121037eucas1p238e32d7786d5613b2486f19bc3f9538c~wMc8EmS6Z2115021150eucas1p2w; Fri, 14 Dec 2018 12:10:37 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id A1.E6.04806.DBD931C5; Fri, 14 Dec 2018 12:10:37 +0000 (GMT) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20181214121036eucas1p13237f995477f1a630c16fb452ba94598~wMc7PuHea1069310693eucas1p1g; Fri, 14 Dec 2018 12:10:36 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20181214121036eusmtrp2c7d8bd9319d1a5d896040a86386bb93e~wMc6-4jeo1165211652eusmtrp2i; Fri, 14 Dec 2018 12:10:36 +0000 (GMT) X-AuditID: cbfec7f5-367ff700000012c6-7c-5c139dbdb0b5 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 4E.CC.04284.CBD931C5; Fri, 14 Dec 2018 12:10:36 +0000 (GMT) Received: from AMDC2034.DIGITAL.local (unknown [106.120.51.41]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20181214121035eusmtip24abcd4c141378a135392b8689b974885~wMc6R8Tqn3233032330eusmtip2w; Fri, 14 Dec 2018 12:10:35 +0000 (GMT) From: Christoph Manszewski To: dri-devel@lists.freedesktop.org Cc: Christoph Manszewski , Inki Dae , Joonyoung Shim , Seung-Woo Kim , Kyungmin Park , David Airlie , Kukjin Kim , Krzysztof Kozlowski , Maarten Lankhorst , Maxime Ripard , Sean Paul , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Bartlomiej Zolnierkiewicz , Marek Szyprowski , Andrzej Hajda Subject: [PATCH 4/6] drm/exynos: plane: Minor cleanup Date: Fri, 14 Dec 2018 13:10:19 +0100 Message-Id: <1544789421-5265-5-git-send-email-c.manszewski@samsung.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1544789421-5265-1-git-send-email-c.manszewski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0WSWUwTURSGvZ2l02rNOCXxBo2aKiaYCCiYXKNRTIzOIxr1QRu1wgSItECn 4BaVxQUqIEKCKIogi6TI0lpBqihWtCyhlagEaVAUY1gE1FKigAvtgL5955z/P//JzaUwppnw paI1Ok6rUcUoSCle9+KnfW3jTbkyqPURhXqq7QTKtLeKkDG/hkC2h2UAvXaPkSjnfTaOBt51 4uhy/zCGHI5aMepI+SJGpv4uAr2y3CBRvuOxCFU194pR8bf7OOobfAJQb24zQPm5g2Qowxbe PcWaDOkkWz/RR7CFrbvY95dsIvZe6VnWZukRs1lmA2BdpmVhkv3SzRFcTHQipw3cclgalfpy hIxLmn+8rTAPJIHbEj2QUJAOgRfeFhF6IKUYugLAxpwSIBTjAN6ssuBC4QJwYKKfnLPU52bM Wu4AOFX1SvTPUvEx3asi6Q3Q2fvdyz70SvjrisG7F6MtBBztnxR5BvIZ0Vili/AwTvvBzqkf M32KktE7YVMLENKWwbf2dMzDEpqF5ZZS7x5IvxPDikyjWB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tO/Zz 8w7GSxuDDzEKcDAq8fAemCIUI8SaWFZcmXuIUYKDWUmEN6xVOEaINyWxsiq1KD++qDQntfgQ oynQTROZpUST84ERnlcSb2hqaG5haWhubG5sZqEkznveoDJKSCA9sSQ1OzW1ILUIpo+Jg1Oq gTFEtO2m0Ltd/pPj1FTCJV/u2VkpqiLCcyDC0+ze7nXbwo00U+Z572txvjuXYf5How87mL4r /d049fULxXOHJcSfyqU9376SVWe35p/Pgpm2V3mtPjzl5Lj4YOPTgJfrrim9PpP8u0M+47+z QKtq25a2w4yTc+KCV55aecfZQYznndC3hz28862UWIozEg21mIuKEwGSfg/KuAIAAA== X-CMS-MailID: 20181214121036eucas1p13237f995477f1a630c16fb452ba94598 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20181214121036eucas1p13237f995477f1a630c16fb452ba94598 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20181214121036eucas1p13237f995477f1a630c16fb452ba94598 References: <1544789421-5265-1-git-send-email-c.manszewski@samsung.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use available drm_plane pointer, for consistency. Signed-off-by: Christoph Manszewski --- drivers/gpu/drm/exynos/exynos_drm_plane.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_plane.c b/drivers/gpu/drm/exynos/exynos_drm_plane.c index df0508e0e49e..cf352d980eee 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_plane.c +++ b/drivers/gpu/drm/exynos/exynos_drm_plane.c @@ -303,7 +303,7 @@ int exynos_plane_init(struct drm_device *dev, BIT(DRM_MODE_BLEND_COVERAGE); struct drm_plane *plane = &exynos_plane->base; - err = drm_universal_plane_init(dev, &exynos_plane->base, + err = drm_universal_plane_init(dev, plane, 1 << dev->mode_config.num_crtc, &exynos_plane_funcs, config->pixel_formats, @@ -314,12 +314,12 @@ int exynos_plane_init(struct drm_device *dev, return err; } - drm_plane_helper_add(&exynos_plane->base, &plane_helper_funcs); + drm_plane_helper_add(plane, &plane_helper_funcs); exynos_plane->index = index; exynos_plane->config = config; - exynos_plane_attach_zpos_property(&exynos_plane->base, config->zpos, + exynos_plane_attach_zpos_property(plane, config->zpos, !(config->capabilities & EXYNOS_DRM_PLANE_CAP_ZPOS)); if (config->capabilities & EXYNOS_DRM_PLANE_CAP_PIX_BLEND) -- 2.7.4