Re: [V7 26/45] drm/amd/display: Add support for sRGB EOTF in DEGAM block

2025-02-13 Thread Leo Li
On 2024-12-19 23:33, Alex Hung wrote: Expose one 1D curve colorop with support for DRM_COLOROP_1D_CURVE_SRGB_EOTF and program HW to perform the sRGB transform when the colorop is not in bypass. With this change the following IGT test passes: kms_colorop --run plane-XR30-XR30-srgb_eotf The co

Re: [V7 34/45] drm/amd/display: add shaper and blend colorops for 1D Curve Custom LUT

2025-02-13 Thread Leo Li
On 2024-12-19 23:33, Alex Hung wrote: This patch adds colorops for custom 1D LUTs in the SHAPER and BLND HW blocks. With this change the following IGT tests pass: kms_colorop --run plane-XR30-XR30-srgb_inv_eotf_lut kms_colorop --run plane-XR30-XR30-srgb_inv_eotf_lut-srgb_eotf_lut The color p

Re: [V7 35/45] drm/amd/display: add 3x4 matrix colorop

2025-02-13 Thread Leo Li
On 2024-12-19 23:33, Alex Hung wrote: This adds support for a 3x4 color transformation matrix. With this change the following IGT tests pass: kms_colorop --run plane-XR30-XR30-ctm_3x4_50_desat kms_colorop --run plane-XR30-XR30-ctm_3x4_overdrive kms_colorop --run plane-XR30-XR30-ctm_3x4_oversa

Re: [V7 42/45] drm/amd/display: add 3D LUT colorop

2025-02-13 Thread Leo Li
On 2024-12-19 23:33, Alex Hung wrote: This adds support for a 3D LUT. The color pipeline now consists of the following colorops: 1. 1D curve colorop 2. Multiplier 3. 3x4 CTM 4. 1D curve colorop 5. 1D LUT 6. 3D LUT 7. 1D curve colorop 8. 1D LUT Signed-off-by: Alex Hung --- v7: - Simplify

Re: [V7 32/45] drm/amd/display: Add support for BT.709 and BT.2020 TFs

2025-02-13 Thread Leo Li
On 2024-12-19 23:33, Alex Hung wrote: From: Harry Wentland This adds support for the BT.709/BT.2020 transfer functions on all current 1D curve plane colorops, i.e., on DEGAM, SHAPER, and BLND blocks. With this change the following IGT subtests pass: kms_colorop --run plane-XR30-XR30-bt2020_