Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3654232imu; Fri, 30 Nov 2018 04:03:42 -0800 (PST) X-Google-Smtp-Source: AFSGD/UHtFD8mUjZwhSx7YV1XOA3wGWtbGBjRNeRBNBtmK6Yf3vSNhGuCg1ipm3W4n5aI7qlb13G X-Received: by 2002:a62:5dd1:: with SMTP id n78mr5258546pfj.58.1543579422810; Fri, 30 Nov 2018 04:03:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543579422; cv=none; d=google.com; s=arc-20160816; b=kmYu/BZ7njbR7zzAbpyBo3B1pLc5kEcZzAQ8TUichqAc4x2VP0bdb0vCnVT1Qdz/Y9 ED1nbUM7nW1kEhX02bLJ82sBrE3WdtmTK3IusU0RtLHaNGLZX8k6v/fuffY+KYZ4iBmn gY6JJ/kv26zwTPSIERon1GqaNknqXSwCWbGg75+2FpXWXblm9dhYaILS3p6dDcaJWHqc Nxv6myPWEe4yYk0/U3kcHdjaS9B9P3yxxP36zTZkd/syy5r65WaFzG/DOQ+KdIlXWuC/ xHEvIQ09wUS/obffWmGwmr+sapV6I7uQ3XxaCcdhYN2K841E9x0te6JpLwijNCE3Ed0o mcrA== 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:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=T2MiV17vS2dmZrOS2d+3fgYnSblTGhl/1yalx2OTBh4=; b=igVlo6gsheKmEabhfQTjVIg92kr2lJg8LwJ7xEtKvnWS2wc5FBrqBi2G78dDBw66lN uFROzjYaejVesUVgNTXkWSp+eEaIeRigIH/jOacNqKkerLDE2T4o1ckbg9SQzKbxyM0i ILUOVch/Ell7aBrk0iZyH7n3cV7Gd4Kl/RRtheU9DajbNqMyx5rNfGudUxQtt4MSMq3n 1JF/NNFhXjkmPzP9sEXHcnzmJ96VhmS38zQKSMJyXNpFhGxRUkTVBaDc7eLnCXaiRl0y ZQ1gN+q9nmm3HEdHeMCB6mOzfwM3g3ZycCbuBVtGoeQyysyf/KRbf0HSKPdL+R6Hyyn/ Ti2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=jaRLARYx; 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 p26si5528707pli.225.2018.11.30.04.03.18; Fri, 30 Nov 2018 04:03:42 -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=jaRLARYx; 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 S1726910AbeK3XLc (ORCPT + 99 others); Fri, 30 Nov 2018 18:11:32 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:57787 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726558AbeK3XLc (ORCPT ); Fri, 30 Nov 2018 18:11:32 -0500 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20181130120227euoutp01906c70d4cfe0519079661e7e2b923111~r5T0JaFyA1464514645euoutp01L for ; Fri, 30 Nov 2018 12:02:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20181130120227euoutp01906c70d4cfe0519079661e7e2b923111~r5T0JaFyA1464514645euoutp01L DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1543579347; bh=T2MiV17vS2dmZrOS2d+3fgYnSblTGhl/1yalx2OTBh4=; h=From:To:Cc:Subject:Date:References:From; b=jaRLARYxA8rghhq8e6vCczMhlUZLs+Jbi6PZoYvmnZgUa0r/IZ2kuuswX0FvGJT+V BUfTfy7U9G5s7ybGn5GWdvAH5UxptgP2Gn4zcVyzKg04icW5PCn/Zn1Ps6kYiEsrJN vgkf/zxt74obCUS6ZUPEDPwMLNP9fO8/8chZ7h3U= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20181130120226eucas1p2b9747261151e28e7d4ff5439d916b3e7~r5TzV7rMT0421404214eucas1p2i; Fri, 30 Nov 2018 12:02:26 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 83.6B.04294.2D6210C5; Fri, 30 Nov 2018 12:02:26 +0000 (GMT) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20181130120225eucas1p2563258e9ede809b9d82af135e1442d80~r5TykCopl0229702297eucas1p2s; Fri, 30 Nov 2018 12:02:25 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20181130120225eusmtrp2c6d79296e5587d00c30ecd70ad558f2c~r5TyUZb562249222492eusmtrp2Y; Fri, 30 Nov 2018 12:02:25 +0000 (GMT) X-AuditID: cbfec7f4-835ff700000010c6-8c-5c0126d2e9cf Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 5F.91.04128.1D6210C5; Fri, 30 Nov 2018 12:02:25 +0000 (GMT) Received: from AMDC2034.DIGITAL.local (unknown [106.120.51.41]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20181130120224eusmtip28a24c17544f05ebf5bdc6179eedcc53f~r5TxoT6F13144931449eusmtip2b; Fri, 30 Nov 2018 12:02:24 +0000 (GMT) From: Christoph Manszewski To: dri-devel@lists.freedesktop.org Cc: Christoph Manszewski , Maarten Lankhorst , Maxime Ripard , Sean Paul , David Airlie , Inki Dae , Joonyoung Shim , Seung-Woo Kim , Kyungmin Park , Kukjin Kim , Krzysztof Kozlowski , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH 0/2] drm: Create and use helper function Date: Fri, 30 Nov 2018 13:02:10 +0100 Message-Id: <1543579332-16609-1-git-send-email-c.manszewski@samsung.com> X-Mailer: git-send-email 2.7.4 X-Brightmail-Tracker: H4sIAAAAAAAAA0VSa0hTYRj2O7cdR6vTFPzS8sdEQSEvZXRIiUJ/HDCiKPqRhs08XsjNsaOW CXnFdN4voGiZpqUu05zT0rDygsuWihXiXdMf3pKRm4aamvOk/Xue530ufPCRqLgatyXD5VGs Ui6NkBBCrKVnfeDkVycQ4G6ssKOz+nsRWvfuOaC/rxoIOn8qF6PnJwcxOmd2CaUHBl4L6L6k nwJaMzuE09/aHhN08cB7hK741YzR0wsfAD1R0A3o4oIF4sIRpqwujtGo0wnmzdo0zpT1XmWm MnQI01QVz+jaRgVMtlYNGKPG/orlTaF3MBsRHsMq3c7fFoZVjVTiilf4/ZSiwASQjamAJQkp T1gzlwFUQEiKqRoAU8YnBDwxAVibl4nzxAjg8kfTQaRpfRPlD9UAjvT0EQeRtfSqPRdBnYFj EyuEGVtTDnArT703glJ1GEwca9ntJUkriobJn+PNHoxyhCZ9C2LGIoqBXa39CL9mD0f60/fW IKUWwNWsL3tZSPlC/cYx3mMFF3VaAY+Pw53WpwjvTwZw1DSE8yQXwI6Xqn9v8IKa4UXEXIRS zrChzY2XL0LVbL6A7z8Mh5ePmmV0F+a3FKG8LIJpqWLe7QSXtFpif3beuAp4zEC98RNq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1WWSRbFuurHZWcsjllAVl ZqaJv3XNTOz9tkz+qnVIxN4mO2bVldkW+vu+Tm5nZFg9w/Tqqew0o4lh3U3TT5z5afVLRX5X 9J9962Ser+BI8L+47tEUV6O5XmkmTpd128R+zsg7l7BheY3cRoWZpQ91tmkZKrEUZyQaajEX FScCALI6ZoOQAgAA X-CMS-MailID: 20181130120225eucas1p2563258e9ede809b9d82af135e1442d80 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20181130120225eucas1p2563258e9ede809b9d82af135e1442d80 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20181130120225eucas1p2563258e9ede809b9d82af135e1442d80 References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, This patch series implements a generic helper function, to determine the default color space format. I've tried to do it in analogy to an already existing function, but I'am not sure if it is done the right way. Patch 1 implements the mentioned function Patch 2 makes use of it in exynos_mixer.c Regards, Chris Christoph Manszewski (2): drm/edid: Add colorimetry helper function drm/exynos: mixer: Use colorimetry helper function drivers/gpu/drm/drm_edid.c | 12 ++++++++++++ drivers/gpu/drm/exynos/exynos_mixer.c | 3 ++- include/drm/drm_edid.h | 2 ++ 3 files changed, 16 insertions(+), 1 deletion(-) -- 2.7.4