Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2012512imu; Fri, 14 Dec 2018 04:30:10 -0800 (PST) X-Google-Smtp-Source: AFSGD/VIQ7a8YPj0OSeknHEq1Nul4tgD25FLikXuSQFBPPRrlfGFebcPCFheMoUCf57JJbSljxJl X-Received: by 2002:a63:dc0c:: with SMTP id s12mr2591055pgg.398.1544790610230; Fri, 14 Dec 2018 04:30:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544790610; cv=none; d=google.com; s=arc-20160816; b=eil6JXOq9AUFY2+uIvDkoemibJjPr7a/yK7Ld14xA9zUt/BHh6vDptkNS3DkM/sNZE Qgd8NfYNhWsomWx9xKweKtEBoCPDTE9oyChaVgrdKhlJBZuMiVPSyajPdQmG6yfT40E0 Tek6wmKdk2TAoPJjylvnYPA2tKcqvrL5ZpvJtTT9rmHOGzSdG+0bmsfzo8znoWs+4vpR XFOBQa5qk/kZKXa+DO8ALlelLA99Jfuu8Zh8XYIBfaFTFhaYzweI7HK/bYph1UMGbra/ 8ut/Ry3oM0g1U9mDgXy3xCmR+TggwVAPIhnvmqPAG5jCjTbt6+2eBgg05U2/vLeZmLOA QABg== 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=8bnkjwGTVLZ37CKTxSpN56zRX02HgRga5uA9mp1FyLU=; b=fD5WXkrbUBh1IPzD1tzRoaSc+EO3/tF+v+rx5n9IBx5R1CEO3VCUYFjoG4dpgawdX7 iDzbG/WHs/WAVpSHCzC44TTNWHoMP39YGVWjDC685CuajN6wIEefuxZXZGOz20upAgdq KNPXkundAEIof/ryLoZrlUKDAGu/JwN9XGvOpJ3vXrnCO9K1/RnP6Hh4FCY56rwkA/EA pd4ox2Bx5XL1Fv1PVk9izQgxIbSs3i5HvJs85sZM0xoU9HHXeCOsx1/+SXgMPd9Gq9Lu cijjPMMa66JNEndSjqmxpWaJpWynxoYjAON/nXqlnOLYZhAgaRcCJQucVbvquoIYkefO a6oQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=OdiNpZfS; 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 e7si3796847pgi.263.2018.12.14.04.29.55; Fri, 14 Dec 2018 04:30:10 -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=OdiNpZfS; 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 S1731925AbeLNM26 (ORCPT + 99 others); Fri, 14 Dec 2018 07:28:58 -0500 Received: from mailout2.w1.samsung.com ([210.118.77.12]:35233 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730506AbeLNMKj (ORCPT ); Fri, 14 Dec 2018 07:10:39 -0500 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20181214121037euoutp0232fb679b2aca0c686e88a6e395f661e6~wMc8GEvCn0903709037euoutp02O for ; Fri, 14 Dec 2018 12:10:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20181214121037euoutp0232fb679b2aca0c686e88a6e395f661e6~wMc8GEvCn0903709037euoutp02O DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1544789437; bh=8bnkjwGTVLZ37CKTxSpN56zRX02HgRga5uA9mp1FyLU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OdiNpZfSR3yA74NV1didImFsv6yuf95EfwPwyJUbNyjscRsjESZLBvVDUlSjaSdOO SDZ+QDTuiV+jLBUFpfyC/ijMmDwxFoeb4hg5v/oIbKxOfUcZtT9xSoEocZjsM6WqL0 QRev8YMuhHpGyw229eYYaZTGwThn8odno/9adASM= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20181214121036eucas1p2f97ace3bea4f416a36f5f81a65ca4501~wMc69wxkB1566115661eucas1p2w; Fri, 14 Dec 2018 12:10:36 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id ED.9B.04441.BBD931C5; Fri, 14 Dec 2018 12:10:35 +0000 (GMT) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20181214121035eucas1p11c9465bd3d5398c7d9c947c2e1844854~wMc6Nt3481060310603eucas1p1v; Fri, 14 Dec 2018 12:10:35 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20181214121035eusmtrp2c5247febf3a785ee094755a577de9564~wMc596Hlb1165911659eusmtrp2r; Fri, 14 Dec 2018 12:10:35 +0000 (GMT) X-AuditID: cbfec7f2-5e3ff70000001159-6d-5c139dbb483b Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 9C.CC.04284.BBD931C5; Fri, 14 Dec 2018 12:10:35 +0000 (GMT) Received: from AMDC2034.DIGITAL.local (unknown [106.120.51.41]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20181214121034eusmtip268a6ef2ac764e6d85719c2abd8b2bb16~wMc5NRC0P0092500925eusmtip2-; Fri, 14 Dec 2018 12:10:34 +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 3/6] drm/exynos: drm_drv: Extend exynos_drm_plane_config Date: Fri, 14 Dec 2018 13:10:18 +0100 Message-Id: <1544789421-5265-4-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: H4sIAAAAAAAAA0WSa0hTYRjHe3cuO44Wp6Phi4nRpCIpb1i8ZUlC1PkU9aUiR7X0oJJT29Q0 ySTRdJF5CZu11MxSZqlN0zlLc4jDLJeXRC1vmeC1vCYpaptH69vz/J/f//0/PLwUxjQSDlRw aASnCJWFSEgRXtn4x7y/5omt1H0p7xDqKWkh0L2WJgF6rS4lkKnmOUAd879IlNGfhqORvlYc 3R8ax5DZXCZEn25PCJFuqJNA7QYNidTmWgF61dArRE+n3+BoYLQOoN7MBoDUmaPkMYbNeRnL 6rQpJFv1e4Bgc5rOsP13TQK2vOAWazL0CNnUCi1gZ3VOp20uiI4EcCHBUZzCzeeyKKhcb8bC TcLourcaLB6UkypgQ0HaC5q+6QgVEFEMXQTgZGk9yTdzAE6V/RDyzSyAemMttmFpjf8s4AeF AFY/MBP/LLkFo8BKkfQB+LV3Zi3EjnaGy+laYIUw2kDAn0OLAuvAlmZhW8KzNQind8GSiSXc WovpkzC3dlHIxznB7paUtWgbC//CULD2EKR7hHA1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2IU4GBU4uE9MEUoRog1say4MvcQowQHs5IIb1ircIwQb0piZVVqUX58UWlOavEhRlOg oyYyS4km5wNjPK8k3tDU0NzC0tDc2NzYzEJJnPe8QWWUkEB6YklqdmpqQWoRTB8TB6dUA6OL e6g4U8d51Qfm+iF2Zd+nX1h5d+GjTbY7xWLXBt4+qL5w/+dXCfXaLJl/BRqrzptly6230Pna 0XWVax3vp4qyd2VWZ7auFbC/cP7vE8/7EiwvQp5zp4Tq5bZPzdTheqVbaWW0aYd0ufH3CUte b5YJvLhoWtE6Tc+d8hZtzf/1Dh/8/raCN1CJpTgj0VCLuag4EQDG0Q5XuQIAAA== X-CMS-MailID: 20181214121035eucas1p11c9465bd3d5398c7d9c947c2e1844854 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20181214121035eucas1p11c9465bd3d5398c7d9c947c2e1844854 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20181214121035eucas1p11c9465bd3d5398c7d9c947c2e1844854 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 Define new range capability and add range value to exynos_drm_plane_config. Signed-off-by: Christoph Manszewski --- drivers/gpu/drm/exynos/exynos_drm_drv.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.h b/drivers/gpu/drm/exynos/exynos_drm_drv.h index 5e61e707f955..1bc334d846c5 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_drv.h +++ b/drivers/gpu/drm/exynos/exynos_drm_drv.h @@ -94,6 +94,7 @@ struct exynos_drm_plane { #define EXYNOS_DRM_PLANE_CAP_TILE (1 << 3) #define EXYNOS_DRM_PLANE_CAP_PIX_BLEND (1 << 4) #define EXYNOS_DRM_PLANE_CAP_WIN_BLEND (1 << 5) +#define EXYNOS_DRM_PLANE_CAP_RANGE (1 << 6) /* * Exynos DRM plane configuration structure. @@ -111,6 +112,7 @@ struct exynos_drm_plane_config { const uint32_t *pixel_formats; unsigned int num_pixel_formats; unsigned int capabilities; + enum drm_color_range range; }; /* -- 2.7.4