From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from layka.disroot.org (layka.disroot.org [178.21.23.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D571B3290D5 for ; Tue, 19 May 2026 03:07:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.21.23.139 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779160049; cv=none; b=cLOnO91iymkf9AmSlXRdQeAzv4GW0ESV6G3qvylfcmL8NXo3rkn2cvdHXrVnpUkDnwN0gQbEhd/6Wt4pvOfaz8erLTLmHLjs034OQCXPLaN9aKV6TQJbTbbsliJG9PIziLhpCoEUEl1+T+kNOGbDjlCnp99S+/1gqj97/Bnahhk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779160049; c=relaxed/simple; bh=3Tis3fmi1HNGdfTbzRUoTnqezjx0ZMIVE+MHFCSkM4Q=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=VZRV2Me6GxMBQxsSo+ko/7amoAyzk1Gkefw+8Qldxp2i3U7yES38dknYYR2zk6KKOpXkQaEC4ZWyPecv2Vh90II5rrTtMVZXrDE7XbZ2PiHak3hv1TLvEsTb+a3bzhhnHi7PFukaJ0kKUgxK9M2drD39JZR1l42NcKE6GbzRfBo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=disroot.org; spf=pass smtp.mailfrom=disroot.org; dkim=pass (2048-bit key) header.d=disroot.org header.i=@disroot.org header.b=PGzfZMlU; arc=none smtp.client-ip=178.21.23.139 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=disroot.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=disroot.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=disroot.org header.i=@disroot.org header.b="PGzfZMlU" Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 250A52744A; Tue, 19 May 2026 05:07:19 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id hkjozB0zKrzE; Tue, 19 May 2026 05:07:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1779160038; bh=3Tis3fmi1HNGdfTbzRUoTnqezjx0ZMIVE+MHFCSkM4Q=; h=From:To:Cc:Subject:Date; b=PGzfZMlUIf8KgF3KSIp4QrsXeSdAJ6aVFjIuc8VI4vw6+zfPopMBDusImfTgwFzib KIE8yV1CVNfVUFZHrrG/iqMmg1Qmv5fsO3wYm6q80gG73EV92GJbuy4/hBR86koJ35 TD/T9t7GHKgFgpIv4eUmH3YFDGAaX+2Tz9ark464t7nMB6t/YwvU7WDeGgnpRb9ZKH SSElxfuTe8TafxnV3STCagJlq+H1SC0n8rmlcDHOJQOtUmj6fNkrAlMr6/V+SeSgyy vWUy+udL5zbj8aUTs+dLLxKTUnfWroSjfTSptjSJ3KL134qU2f3cVte+Jq8S6zq4dm amB//GCxqfcUw== From: Leorize To: linux-kernel@vger.kernel.org Cc: Harry Wentland , Leo Li , Rodrigo Siqueira , Alex Deucher , =?UTF-8?q?Christian=20K=C3=B6nig?= , David Airlie , Simona Vetter , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Leorize Subject: [PATCH 0/1] fixing dull colors in HDR for Polaris GPUs Date: Mon, 18 May 2026 20:06:18 -0700 Message-ID: <20260519030624.51613-1-leorize+oss@disroot.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi, Quite awhile ago I reported https://gitlab.freedesktop.org/drm/amd/-/work_items/4849 and it appears that I'm the only unlucky soul to have this particular GPU/Display combo. Having some time off I decided to put these new fangled LLMs (GPT-5.5) into the test, and it found the issue rather quickly: MISC1 bit 6 was not set, causing the display to prefer MSA colorimetry. In the case Windows was booted first, the Radeon driver there configured the sink correctly, and it would keep that state until the link is disconnected. The hypothesis was tested and verified by using `umr` to modify the `DP_MSA_MISC` register directly, following with a display power-cycle. The implementation was copied from the code path used for DCN-based GPUs, and extra register wiring was assisted by LLM. This is my very first patch into the kernel, and I don't have a lot of experience with GPUs, so guidance would be greatly appreciated. If possible, I would like this fix to go into the stable branch as well, so I don't have to wait until the next release to use my monitor :D -- Leorize Leorize (1): drm/amd/display: set MSA MISC1 bit 6 when using VSC SDP for DCE 11.x .../drm/amd/display/dc/dce/dce_stream_encoder.c | 15 ++++++++++++++- .../drm/amd/display/dc/dce/dce_stream_encoder.h | 3 ++- 2 files changed, 16 insertions(+), 2 deletions(-) -- 2.54.0