Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 72eb364e authored by Abhinav Kumar's avatar Abhinav Kumar Committed by Gerrit - the friendly Code Review server
Browse files

drm: add BT2020 colorspace definitions for DP



Extend the colorspace property for Display Port to support BT2020
colorspaces in RGB and YCC modes.

Change-Id: I5a0ff36e8e7a93789bc5b1f4b86a1404d2857b8d
Signed-off-by: default avatarAbhinav Kumar <abhinavk@codeaurora.org>
parent d95c16d7
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -848,6 +848,10 @@ static const struct drm_prop_enum_list dp_colorspaces[] = {
	{ DRM_MODE_DP_COLORIMETRY_SRGB, "sRGB" },
	{ DRM_MODE_DP_COLORIMETRY_RGB_WIDE_GAMUT, "RGB Wide Gamut" },
	{ DRM_MODE_DP_COLORIMETRY_SCRGB, "scRGB" },
	/* Colorimetry based on ITU-R BT.2020 */
	{ DRM_MODE_COLORIMETRY_BT2020_RGB, "BT2020_RGB" },
	/* Colorimetry based on ITU-R BT.2020 */
	{ DRM_MODE_COLORIMETRY_BT2020_YCC, "BT2020_YCC" },
};

/**