Applied. Thanks! Alex
On Fri, Mar 13, 2026 at 10:44 AM Harry Wentland <[email protected]> wrote: > > > > On 2026-03-11 17:18, Alex Hung wrote: > > Use GAMMA22 for degamma/blend and GAMMA22_INV for shaper so > > curves match the color pipeline. > > > > Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/5016 > > Tested-by: Xaver Hugl <[email protected]> > > Signed-off-by: Alex Hung <[email protected]> > > Reviewed-by: Harry Wentland <[email protected]> > > Harry > > > --- > > drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_colorop.c | 6 +++--- > > 1 file changed, 3 insertions(+), 3 deletions(-) > > > > diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_colorop.c > > b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_colorop.c > > index d59ba82d3d7c..aa4658867e55 100644 > > --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_colorop.c > > +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_colorop.c > > @@ -37,19 +37,19 @@ const u64 amdgpu_dm_supported_degam_tfs = > > BIT(DRM_COLOROP_1D_CURVE_SRGB_EOTF) | > > BIT(DRM_COLOROP_1D_CURVE_PQ_125_EOTF) | > > BIT(DRM_COLOROP_1D_CURVE_BT2020_INV_OETF) | > > - BIT(DRM_COLOROP_1D_CURVE_GAMMA22_INV); > > + BIT(DRM_COLOROP_1D_CURVE_GAMMA22); > > > > const u64 amdgpu_dm_supported_shaper_tfs = > > BIT(DRM_COLOROP_1D_CURVE_SRGB_INV_EOTF) | > > BIT(DRM_COLOROP_1D_CURVE_PQ_125_INV_EOTF) | > > BIT(DRM_COLOROP_1D_CURVE_BT2020_OETF) | > > - BIT(DRM_COLOROP_1D_CURVE_GAMMA22); > > + BIT(DRM_COLOROP_1D_CURVE_GAMMA22_INV); > > > > const u64 amdgpu_dm_supported_blnd_tfs = > > BIT(DRM_COLOROP_1D_CURVE_SRGB_EOTF) | > > BIT(DRM_COLOROP_1D_CURVE_PQ_125_EOTF) | > > BIT(DRM_COLOROP_1D_CURVE_BT2020_INV_OETF) | > > - BIT(DRM_COLOROP_1D_CURVE_GAMMA22_INV); > > + BIT(DRM_COLOROP_1D_CURVE_GAMMA22); > > > > #define MAX_COLOR_PIPELINE_OPS 10 > > >
