[PATCH v2 0/2] drm/amd/display: follow-up bug fixes for LUT segmentation

Melissa Wen posted 2 patches 1 month, 1 week ago
.../amd/display/dc/dcn30/dcn30_cm_common.c    | 34 ++++++-------------
.../amd/display/dc/hwss/dcn30/dcn30_hwseq.c   | 10 +++---
2 files changed, 14 insertions(+), 30 deletions(-)
[PATCH v2 0/2] drm/amd/display: follow-up bug fixes for LUT segmentation
Posted by Melissa Wen 1 month, 1 week ago
Extend halving distribution to all curves/custom-LUT in a
encode-to-linear operation, not just PQ/SRGB. This fixes IGT kms_colorop
test failures after [1]. Also use the CM3 degamma helper which
translates curves into hw points for DCN30, DCN301, DCN31, and DCN314
not just DCN32+, as the banding issue is present all of them.

[1] https://lore.kernel.org/amd-gfx/20260623160112.1636801-1-mwen@igalia.com/

v1: https://lore.kernel.org/amd-gfx/20260819161106.27702-1-mwen@igalia.com/
Changes:
- Clearly state which DCN versions are affected and the reference commit
  (Alex H.)

Melissa


Melissa Wen (2):
  drm/amd/display: use halving distribution for all encode-to-linear
    curves
  drm/amd/display: use translate_curve_to_degamma_hw_format on DCN30

 .../amd/display/dc/dcn30/dcn30_cm_common.c    | 34 ++++++-------------
 .../amd/display/dc/hwss/dcn30/dcn30_hwseq.c   | 10 +++---
 2 files changed, 14 insertions(+), 30 deletions(-)

-- 
2.53.0
Re: [PATCH v2 0/2] drm/amd/display: follow-up bug fixes for LUT segmentation
Posted by Alex Hung 1 month ago
Weekly promotion tests found no regression.

This series is
Reviewed-by: Alex Hung <alex.hung@amd.com>

On 8/20/26 03:26, Melissa Wen wrote:
> Extend halving distribution to all curves/custom-LUT in a
> encode-to-linear operation, not just PQ/SRGB. This fixes IGT kms_colorop
> test failures after [1]. Also use the CM3 degamma helper which
> translates curves into hw points for DCN30, DCN301, DCN31, and DCN314
> not just DCN32+, as the banding issue is present all of them.
> 
> [1] https://lore.kernel.org/amd-gfx/20260623160112.1636801-1-mwen@igalia.com/
> 
> v1: https://lore.kernel.org/amd-gfx/20260819161106.27702-1-mwen@igalia.com/
> Changes:
> - Clearly state which DCN versions are affected and the reference commit
>    (Alex H.)
> 
> Melissa
> 
> 
> Melissa Wen (2):
>    drm/amd/display: use halving distribution for all encode-to-linear
>      curves
>    drm/amd/display: use translate_curve_to_degamma_hw_format on DCN30
> 
>   .../amd/display/dc/dcn30/dcn30_cm_common.c    | 34 ++++++-------------
>   .../amd/display/dc/hwss/dcn30/dcn30_hwseq.c   | 10 +++---
>   2 files changed, 14 insertions(+), 30 deletions(-)
>