From: Melissa Wen <mwen@igalia.com>
To: airlied@gmail.com, alexander.deucher@amd.com,
christian.koenig@amd.com, harry.wentland@amd.com,
mwen@igalia.com, simona@ffwll.ch, siqueira@igalia.com,
sunpeng.li@amd.com
Cc: Krunoslav Kovac <Krunoslav.Kovac@amd.com>,
"'Dr . David Alan Gilbert'" <linux@treblig.org>,
Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>,
Alex Hung <alex.hung@amd.com>,
Aurabindo Pillai <Aurabindo.Pillai@amd.com>,
Matthew Schwartz <matthew.schwartz@linux.dev>,
pekka.paalanen@collabora.com, robert.mader@posteo.de,
amd-gfx@lists.freedesktop.org, kernel-dev@igalia.com,
linux-kernel@vger.kernel.org
Subject: [PATCH v2 0/2] drm/amd/display: follow-up bug fixes for LUT segmentation
Date: Thu, 20 Aug 2026 11:26:36 +0200 [thread overview]
Message-ID: <20260820093324.10201-1-mwen@igalia.com> (raw)
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
next reply other threads:[~2026-08-20 9:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-20 9:26 Melissa Wen [this message]
2026-08-20 9:26 ` [PATCH v2 1/2] drm/amd/display: use halving distribution for all encode-to-linear curves Melissa Wen
2026-08-20 9:26 ` [PATCH v2 2/2] drm/amd/display: use translate_curve_to_degamma_hw_format on DCN30 Melissa Wen
2026-08-28 20:38 ` [PATCH v2 0/2] drm/amd/display: follow-up bug fixes for LUT segmentation Alex Hung
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260820093324.10201-1-mwen@igalia.com \
--to=mwen@igalia.com \
--cc=Aurabindo.Pillai@amd.com \
--cc=Bhawanpreet.Lakha@amd.com \
--cc=Krunoslav.Kovac@amd.com \
--cc=airlied@gmail.com \
--cc=alex.hung@amd.com \
--cc=alexander.deucher@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=christian.koenig@amd.com \
--cc=harry.wentland@amd.com \
--cc=kernel-dev@igalia.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@treblig.org \
--cc=matthew.schwartz@linux.dev \
--cc=pekka.paalanen@collabora.com \
--cc=robert.mader@posteo.de \
--cc=simona@ffwll.ch \
--cc=siqueira@igalia.com \
--cc=sunpeng.li@amd.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®