Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2014337imu; Fri, 14 Dec 2018 04:31:43 -0800 (PST) X-Google-Smtp-Source: AFSGD/W+hXJXBaQypJXrHU/CU84sO6IVUZtBHUCR5tLiv1DhdfRFuAaJ4/vFGJruXf1hVjwLqgNp X-Received: by 2002:a63:5664:: with SMTP id g36mr2510343pgm.313.1544790703189; Fri, 14 Dec 2018 04:31:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544790703; cv=none; d=google.com; s=arc-20160816; b=XH+X367mrgaqLMuyMiaEtQNjvmfhsscJCtdnnAoKTBI5DLWZesPE7Sao/zXzy60+e3 +LUaUPWxH3JSrRRJWEAlnGm32V0S/F4IAkrMDoAw21RsXdrW3K27jRlmXITPariHyNQV 39AfWX/uBLIRUaIxO6g2L7eoUDEAvV0/2uKjYW166cYLrI1skh5XgbIbfERNkRvYNJWn SPKbrrsyRWrHHM/dcF6xSyYySzf9gi8cZc0RdzQdeyraPqMFyV5vUn7YHfDSi15n781A LycYjeg3VJDtK9l21T+1lXmQH9bvzEoSJ/9HDMChvjtEBu/V+cok/yxOpwxXybFCOxp2 6vQw== 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=oWzjGiqLNxmljmmSxzuyHA7ENwD0Nk3aYeIIDQ8SbEI=; b=zb7lN65y7Xv+04u7G9dMEY31FkdJuWFE6B42/K3MAf9XRZEBBJqsP1w9JI9A/bp7mv SVfjWiu+pLVNhgK0V7QifaLE4WROdFFpMWyWGUJUZ2Qdlnz2GyYYJUNS8vSamOxTRCF6 hY9iTkpIyEn1/j0B0wdPPLEPn5cxegk3FOvg2cJfjirHbsL5C4Yu/9ZQV8IffbF47M+j VLSfh/zwCqZfdFRhqB3QN5hSs+LmTwWLKSSDe/BiB3ftVBBDckAm8Q02yNJwmZAHFvHg swmov3uLGrC+44jcIdmd4LnupwhELIqNT0IgLLgkeACG96MZfGwSoHD5zd8Zrzn3Twxd nf1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=oREBpMVy; 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 l30si4018976plg.113.2018.12.14.04.31.27; Fri, 14 Dec 2018 04:31:43 -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=oREBpMVy; 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 S1731730AbeLNM3V (ORCPT + 99 others); Fri, 14 Dec 2018 07:29:21 -0500 Received: from mailout2.w1.samsung.com ([210.118.77.12]:35198 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731097AbeLNMKg (ORCPT ); Fri, 14 Dec 2018 07:10:36 -0500 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20181214121034euoutp02a12fe43e0182fb032b0454e1642b7f3d~wMc5xDuuw0904709047euoutp02G for ; Fri, 14 Dec 2018 12:10:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20181214121034euoutp02a12fe43e0182fb032b0454e1642b7f3d~wMc5xDuuw0904709047euoutp02G DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1544789434; bh=oWzjGiqLNxmljmmSxzuyHA7ENwD0Nk3aYeIIDQ8SbEI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oREBpMVyW3v1GKTMVVpuzsqsTrmLH+kZlxKJ6uzaQSZ4kwlHOZWxOiPiNCF2ADut3 wiGHwbo0X0wV8oFwRCRy1vm9kOOIu8XE2zxAz9XczraaEB39JqMNODmzsSk8bmG0l5 vjjbV05TPDtgC/FkXenHt64EoMf8DhBH8+Qr9ZN0= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20181214121033eucas1p285a93be22fde9770583d2a2af6f307a9~wMc42asHR1566115661eucas1p2s; Fri, 14 Dec 2018 12:10:33 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 95.7D.04294.9BD931C5; Fri, 14 Dec 2018 12:10:33 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20181214121032eucas1p24af580721ebd6f86a4f9ddf701957ab6~wMc3_KReu1556815568eucas1p2h; Fri, 14 Dec 2018 12:10:32 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20181214121032eusmtrp1fb5b974b3259c515c3b73cd7d2114a9a~wMc3uCJlG2638626386eusmtrp1T; Fri, 14 Dec 2018 12:10:32 +0000 (GMT) X-AuditID: cbfec7f4-84fff700000010c6-19-5c139db971ce Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 00.91.04128.8BD931C5; Fri, 14 Dec 2018 12:10:32 +0000 (GMT) Received: from AMDC2034.DIGITAL.local (unknown [106.120.51.41]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20181214121031eusmtip293d22b98bffcd885ff2210de090bdb53~wMc27XV0T0091800918eusmtip2i; Fri, 14 Dec 2018 12:10:31 +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 1/6] include/drm: color_mgmt: Add enum labels Date: Fri, 14 Dec 2018 13:10:16 +0100 Message-Id: <1544789421-5265-2-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: H4sIAAAAAAAAA0VSa0hTYRj22zk7O85mx6Pph4biysAiNSn5QpMUwUN/rH4UlaRLD27kjU3N W2ReKk3zBilas6A0rTTX1FyZJMs5yokXZC1MQxQvpeQ0ylRyO1r/nvd5n+d93vfjIzFay3cl ZYkprDxREi8mhHh772/Dwc77jpF+uXV7kanZwEclBj0PtVa38JHu9WOARlYWCVQxXoajmS+D OCqdnMfQwMALAerP/SZAqslRPhrW3CNQ9cBbHnquHROghz/acDQx2w3QWKUWoOrKWeI4zSif ZTGqpkKC6fg5wWeU+lPM+G0dj3n56Bqj05gEzB11E2DMKveTtueFQbFsvCyNlfsGRwul76uM WLKeSDf/KiBywCi/CNiSkDoM/4zrQBEQkjT1BMDm6kmcK5YBNBcs8iwqmjIDWJPnvO1YGMwR cHwDgIbysH+Ghto63NIgqCPw89gSYcFO1B64Xt5kjcAoDR8uTK5apzpSx+DUx3qrCKe84Ju+ JetOIiocds73C7g0d/jJUIhZsC3FwHrNI+sgSJkE0PRVz+NEYbB1rZvgsCOc06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KvHwHpgiFCPEmlhWXJl7iFGCg1lJhDesVThGiDclsbIqtSg/vqg0J7X4EKMp 0FETmaVEk/OBMZ5XEm9oamhuYWlobmxubGahJM573qAySkggPbEkNTs1tSC1CKaPiYNTqoFx XpOEfuM/U5YXsZW6reVMpy44+H2/uii8Om/Sm67q5PCehtwNDRKbvRbflet/miizca/yWh6+ 981LHEO+qq150ia9nN0vJH7eRseXca/X6rZM6rx0keeo/TZG98bdR47ty8jc1yj+1/q68wqV 33N5bbv8Tp/OXjG7/PPTrtC/uV0yxY0dYSeUWIozEg21mIuKEwHnrVeluQIAAA== X-CMS-MailID: 20181214121032eucas1p24af580721ebd6f86a4f9ddf701957ab6 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20181214121032eucas1p24af580721ebd6f86a4f9ddf701957ab6 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20181214121032eucas1p24af580721ebd6f86a4f9ddf701957ab6 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 Range setting makes sense for YCbCr and RGB buffers. Current drm_color_range enum labels suggest use with YCbCr buffers. Create enum labels without colorspace specification. Signed-off-by: Christoph Manszewski --- include/drm/drm_color_mgmt.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/drm/drm_color_mgmt.h b/include/drm/drm_color_mgmt.h index 90ef9996d9a4..52f6d5221a0d 100644 --- a/include/drm/drm_color_mgmt.h +++ b/include/drm/drm_color_mgmt.h @@ -62,6 +62,8 @@ enum drm_color_range { DRM_COLOR_YCBCR_LIMITED_RANGE, DRM_COLOR_YCBCR_FULL_RANGE, DRM_COLOR_RANGE_MAX, + DRM_COLOR_LIMITED_RANGE = DRM_COLOR_YCBCR_LIMITED_RANGE, + DRM_COLOR_FULL_RANGE = DRM_COLOR_YCBCR_FULL_RANGE, }; int drm_plane_create_color_properties(struct drm_plane *plane, -- 2.7.4