From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from fanzine2.igalia.com (fanzine2.igalia.com [213.97.179.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3FD9C3E556C for ; Thu, 20 Aug 2026 09:33:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.97.179.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787218433; cv=none; b=NvAN3xMBCQRHqLy+d+mhV//oysHPoo/IfnVd3Zf/HxIFnWycimJfJO4HG38afrVGiGhwBABaSn9AAv0CM6jCjQiEJBmYzNi/yB4wtmkPHkG85E2uQRcLjBW4oXFzTAcI8hLnuNH/PtdoxtvcLBJA0+/6Ak2lK4TFCmK415TLLRY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787218433; c=relaxed/simple; bh=8pO7Xm0wYlixZ4NdLKTmPyjg8pKxusl4MdyBVTPrRoM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Z9j5Sgy6QXWDwENVn5/P7xxqdhvqXKKusQ/EHsTcdX2+I95H+SXc0In8juk0rl6UnTvQMnF3iUAfeBIkLIZFDKLg18cX9rCroFFu4ZQwa5hy25YtNFnrIAxOBlpYScp4v0KEoJiTkcprnl4NxilQ5Oh56hLooCdKTzOd4lF2eDU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=igalia.com; spf=pass smtp.mailfrom=igalia.com; dkim=pass (2048-bit key) header.d=igalia.com header.i=@igalia.com header.b=FUt91UTN; arc=none smtp.client-ip=213.97.179.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=igalia.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=igalia.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=igalia.com header.i=@igalia.com header.b="FUt91UTN" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject: Cc:To:From:From:Reply-To; bh=IfITr1cv/Wn05CCKMGP8wH+G0eWm/2PWJ1sVhPZF5E0=; b= FUt91UTNjSf6R8tnJWCIgh2y+DGYfwF8PAGEed5xP2ROY7+QtyGwuJ4hV5z/OcjLPUnlf/bZ77JNR RqjIJP/7HycIr714J/hi0V/vEbad9ebvBGxPgGFiOrM/+6iKCzZWie2iVbAN0SVqMSY+Fds0IFfMh 4TEKqDQyLsw00wcOMvlxjDm0HCTj8nW8UF32vP44YR0Xbc/9vglJMWR1Nprv1UwdrzHuXFndO/j1/ dWTHc0Me4Dh1Iz51xqsckXZ4jSOpDkKNJFIZ7QcfgXf9x/7woqYDhWoiUNtFkWbO2LhUOXixWuz61 JrQnCEvQRDZ+g/98HYXtG9DKQN/Ei7ntQg==; Received: from 154.red-79-147-121.dynamicip.rima-tde.net ([79.147.121.154] helo=killbill) by fanzine2.igalia.com with esmtpsa (Cipher TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim) id 1wwz9J-006WKe-Oi; Thu, 20 Aug 2026 11:33:25 +0200 From: Melissa Wen 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 , "'Dr . David Alan Gilbert'" , Bhawanpreet Lakha , Alex Hung , Aurabindo Pillai , Matthew Schwartz , 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 Message-ID: <20260820093324.10201-1-mwen@igalia.com> X-Mailer: git-send-email 2.53.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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