mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] drm/amd/display: follow-up fixes for LUT segmentation
@ 2026-08-19 16:00 Melissa Wen
  2026-08-19 16:00 ` [PATCH 1/2] drm/amd/display: use halving distribution for all encode-to-linear curves Melissa Wen
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Melissa Wen @ 2026-08-19 16:00 UTC (permalink / raw)
  To: airlied, alexander.deucher, christian.koenig, harry.wentland,
	mwen, simona, siqueira, sunpeng.li
  Cc: Krunoslav Kovac, 'Dr . David Alan Gilbert',
	Bhawanpreet Lakha, Alex Hung, Aurabindo Pillai, Matthew Schwartz,
	pekka.paalanen, robert.mader, amd-gfx, kernel-dev, linux-kernel

Extend halving distribution for all curves/custom-LUT in a
encode-to-linear operation, not only PQ/SRGB. This fixes failures in IGT
kms_colorop test after [1]. Also use the CM3 degamma helper that
translates curves to hw points for DCN30-based family, not only DCN32,
since the banding issue is present on both.

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

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-08-20  9:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-19 16:00 [PATCH 0/2] drm/amd/display: follow-up fixes for LUT segmentation Melissa Wen
2026-08-19 16:00 ` [PATCH 1/2] drm/amd/display: use halving distribution for all encode-to-linear curves Melissa Wen
2026-08-19 19:03   ` Alex Hung
2026-08-19 16:00 ` [PATCH 2/2] drm/amd/display: use translate_curve_to_degamma_hw_format on DCN30 Melissa Wen
2026-08-19 19:04   ` Alex Hung
2026-08-19 19:07 ` [PATCH 0/2] drm/amd/display: follow-up fixes for LUT segmentation Alex Hung
2026-08-20  9:38   ` Melissa Wen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®