mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Leorize <leorize+oss@disroot.org>
To: linux-kernel@vger.kernel.org
Cc: "Harry Wentland" <harry.wentland@amd.com>,
	"Leo Li" <sunpeng.li@amd.com>,
	"Rodrigo Siqueira" <siqueira@igalia.com>,
	"Alex Deucher" <alexander.deucher@amd.com>,
	"Christian König" <christian.koenig@amd.com>,
	"David Airlie" <airlied@gmail.com>,
	"Simona Vetter" <simona@ffwll.ch>,
	amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org,
	Leorize <leorize+oss@disroot.org>
Subject: [PATCH 0/1] fixing dull colors in HDR for Polaris GPUs
Date: Mon, 18 May 2026 20:06:18 -0700	[thread overview]
Message-ID: <20260519030624.51613-1-leorize+oss@disroot.org> (raw)

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


             reply	other threads:[~2026-05-19  3:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-19  3:06 Leorize [this message]
2026-05-19  3:06 ` [PATCH 1/1] drm/amd/display: set MSA MISC1 bit 6 when using VSC SDP for DCE 11.x Leorize
2026-05-26 14:52   ` Alex Deucher
2026-06-19  2:03     ` Leorize
2026-06-19 13:30       ` Alex Deucher

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=20260519030624.51613-1-leorize+oss@disroot.org \
    --to=leorize+oss@disroot.org \
    --cc=airlied@gmail.com \
    --cc=alexander.deucher@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=christian.koenig@amd.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=harry.wentland@amd.com \
    --cc=linux-kernel@vger.kernel.org \
    --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®