<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body>
<div style="font-family: Aptos, -apple-system, HelveticaNeue, sans-serif;font-size: 12pt">
<div dir="ltr" style="font-family: Aptos, Aptos_MSFontService, -apple-system, Roboto, Arial, Helvetica, sans-serif; font-size: 12pt;">
Hello,</div>
<div dir="ltr" style="font-family: Aptos, Aptos_MSFontService, -apple-system, Roboto, Arial, Helvetica, sans-serif; font-size: 12pt;">
<br>
</div>
<div dir="ltr" style="font-family: Aptos, Aptos_MSFontService, -apple-system, Roboto, Arial, Helvetica, sans-serif; font-size: 12pt;">
What actually is this OETF? Is it power 1/2.4? Or reversed BT.1886?</div>
<div dir="ltr" style="font-family: Aptos, Aptos_MSFontService, -apple-system, Roboto, Arial, Helvetica, sans-serif; font-size: 12pt;">
<br>
</div>
<div dir="ltr" style="font-family: Aptos, Aptos_MSFontService, -apple-system, Roboto, Arial, Helvetica, sans-serif; font-size: 12pt;">
Best regards,</div>
<div dir="ltr" style="font-family: Aptos, Aptos_MSFontService, -apple-system, Roboto, Arial, Helvetica, sans-serif; font-size: 12pt;">
Shengyu </div>
</div>
<div id="ms-outlook-mobile-body-separator-line" style="font-family: Aptos, -apple-system, HelveticaNeue, sans-serif;font-size: 12pt" dir="auto">
<br>
</div>
<div id="ms-outlook-mobile-signature" style="font-family: Aptos, -apple-system, HelveticaNeue, sans-serif;font-size: 12pt">
<div></div>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>发件人:</b> amd-gfx <amd-gfx-bounces@lists.freedesktop.org> 代表 Alex Hung <alex.hung@amd.com><br>
<b>发送时间:</b> Friday, August 15, 2025 11:50:20 AM<br>
<b>收件人:</b> dri-devel@lists.freedesktop.org <dri-devel@lists.freedesktop.org>; amd-gfx@lists.freedesktop.org <amd-gfx@lists.freedesktop.org><br>
<b>抄送:</b> wayland-devel@lists.freedesktop.org <wayland-devel@lists.freedesktop.org>; harry.wentland@amd.com <harry.wentland@amd.com>; alex.hung@amd.com <alex.hung@amd.com>; leo.liu@amd.com <leo.liu@amd.com>; ville.syrjala@linux.intel.com <ville.syrjala@linux.intel.com>;
 pekka.paalanen@collabora.com <pekka.paalanen@collabora.com>; contact@emersion.fr <contact@emersion.fr>; mwen@igalia.com <mwen@igalia.com>; jadahl@redhat.com <jadahl@redhat.com>; sebastian.wick@redhat.com <sebastian.wick@redhat.com>; shashank.sharma@amd.com
 <shashank.sharma@amd.com>; agoins@nvidia.com <agoins@nvidia.com>; joshua@froggi.es <joshua@froggi.es>; mdaenzer@redhat.com <mdaenzer@redhat.com>; aleixpol@kde.org <aleixpol@kde.org>; xaver.hugl@gmail.com <xaver.hugl@gmail.com>; victoria@system76.com <victoria@system76.com>;
 daniel@ffwll.ch <daniel@ffwll.ch>; uma.shankar@intel.com <uma.shankar@intel.com>; quic_naseer@quicinc.com <quic_naseer@quicinc.com>; quic_cbraga@quicinc.com <quic_cbraga@quicinc.com>; quic_abhinavk@quicinc.com <quic_abhinavk@quicinc.com>; marcan@marcan.st
 <marcan@marcan.st>; Liviu.Dudau@arm.com <Liviu.Dudau@arm.com>; sashamcintosh@google.com <sashamcintosh@google.com>; chaitanya.kumar.borah@intel.com <chaitanya.kumar.borah@intel.com>; louis.chauvet@bootlin.com <louis.chauvet@bootlin.com>; mcanal@igalia.com
 <mcanal@igalia.com>; nfraprado@collabora.com <nfraprado@collabora.com>; Daniel Stone <daniels@collabora.com><br>
<b>主题:</b> [PATCH V11 31/47] drm/colorop: add BT2020/BT709 OETF and Inverse OETF</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">From: Harry Wentland <harry.wentland@amd.com><br>
<br>
The BT.709 and BT.2020 OETFs are the same, the only difference<br>
being that the BT.2020 variant is defined with more precision<br>
for 10 and 12-bit per color encodings.<br>
<br>
Both are used as encoding functions for video content, and are<br>
therefore defined as OETF (opto-electronic transfer function)<br>
instead of as EOTF (electro-optical transfer function).<br>
<br>
Signed-off-by: Alex Hung <alex.hung@amd.com><br>
Signed-off-by: Harry Wentland <harry.wentland@amd.com><br>
Reviewed-by: Daniel Stone <daniels@collabora.com><br>
Reviewed-by: Simon Ser <contact@emersion.fr><br>
---<br>
v9:<br>
 - Move DRM_COLOROP_1D_CURVE_BT2020_* from middle to end (Simon Ser)<br>
<br>
 drivers/gpu/drm/drm_colorop.c |  2 ++<br>
 include/drm/drm_colorop.h     | 23 +++++++++++++++++++++++<br>
 2 files changed, 25 insertions(+)<br>
<br>
diff --git a/drivers/gpu/drm/drm_colorop.c b/drivers/gpu/drm/drm_colorop.c<br>
index 5bb45963fa1f..c245a3ff45d3 100644<br>
--- a/drivers/gpu/drm/drm_colorop.c<br>
+++ b/drivers/gpu/drm/drm_colorop.c<br>
@@ -72,6 +72,8 @@ static const char * const colorop_curve_1d_type_names[] = {<br>
         [DRM_COLOROP_1D_CURVE_SRGB_INV_EOTF] = "sRGB Inverse EOTF",<br>
         [DRM_COLOROP_1D_CURVE_PQ_125_EOTF] = "PQ 125 EOTF",<br>
         [DRM_COLOROP_1D_CURVE_PQ_125_INV_EOTF] = "PQ 125 Inverse EOTF",<br>
+       [DRM_COLOROP_1D_CURVE_BT2020_INV_OETF] = "BT.2020 Inverse OETF",<br>
+       [DRM_COLOROP_1D_CURVE_BT2020_OETF] = "BT.2020 OETF",<br>
 };<br>
 <br>
 <br>
diff --git a/include/drm/drm_colorop.h b/include/drm/drm_colorop.h<br>
index a38c90f61dc6..c6d2b289e3cf 100644<br>
--- a/include/drm/drm_colorop.h<br>
+++ b/include/drm/drm_colorop.h<br>
@@ -83,6 +83,29 @@ enum drm_colorop_curve_1d_type {<br>
          */<br>
         DRM_COLOROP_1D_CURVE_PQ_125_INV_EOTF,<br>
 <br>
+       /**<br>
+        * @DRM_COLOROP_1D_CURVE_BT2020_INV_OETF:<br>
+        *<br>
+        * enum string "BT.2020 Inverse OETF"<br>
+        *<br>
+        * The inverse of &DRM_COLOROP_1D_CURVE_BT2020_OETF<br>
+        */<br>
+       DRM_COLOROP_1D_CURVE_BT2020_INV_OETF,<br>
+<br>
+       /**<br>
+        * @DRM_COLOROP_1D_CURVE_BT2020_OETF:<br>
+        *<br>
+        * enum string "BT.2020 OETF"<br>
+        *<br>
+        * The BT.2020/BT.709 transfer function. The BT.709 and BT.2020<br>
+        * transfer functions are the same, the only difference is that<br>
+        * BT.2020 is defined with more precision for 10 and 12-bit<br>
+        * encodings.<br>
+        *<br>
+        *<br>
+        */<br>
+       DRM_COLOROP_1D_CURVE_BT2020_OETF,<br>
+<br>
         /**<br>
          * @DRM_COLOROP_1D_CURVE_COUNT:<br>
          *<br>
-- <br>
2.43.0<br>
<br>
</div>
</span></font></div>
</body>
</html>