[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250824200202.1744335-1-lkml@antheas.dev>
Date: Sun, 24 Aug 2025 22:01:57 +0200
From: Antheas Kapenekakis <lkml@...heas.dev>
To: amd-gfx@...ts.freedesktop.org
Cc: dri-devel@...ts.freedesktop.org,
linux-kernel@...r.kernel.org,
philm@...jaro.org,
Alex Deucher <alexander.deucher@....com>,
Christian König <christian.koenig@....com>,
Mario Limonciello <mario.limonciello@....com>,
Antheas Kapenekakis <lkml@...heas.dev>
Subject: [PATCH v1 0/5] drm: panel-backlight-quirks: Do partial refactor and
apply OLED fix
This is an alternative to [1], since Phil found out there are still invalid
values. I made this series before the one I sent today, and I have to say
I tested it much less. Because I did not think it was very viable to
upstream. I was also not aware of [2] and [3] since they are not in a
public bug tracker such as amddrm and my issue there [4] remains closed.
I lower the cc'd here since this is a draft. But this could have some
viability. Especially since I can stop carrying the dodgy patches from
SteamOS so that the SD OLED has a 0 brightness min.
[1] https://lore.kernel.org/all/20250824085351.454619-2-lkml@antheas.dev/
[2] https://gitlab.manjaro.org/packages/core/linux616/-/blob/master/0001-drm-amd-display-Add-a-quirk-for-the-Zotac-Zone.patch
[3] https://gitlab.manjaro.org/packages/core/linux616/-/blob/master/0004-TEMPORARY-terrible-hack-for-zotac-screen-while-debug.patch
[4] https://gitlab.freedesktop.org/drm/amd/-/issues/3803
Antheas Kapenekakis (5):
drm: panel-backlight-quirks: Make ident optional
drm: panel-backlight-quirks: Convert brightness quirk to generic
structure
drm: panel-backlight-quirks: Add secondary DMI match
drm: panel-backlight-quirks: Add brightness mask quirk
drm: panel-backlight-quirks: Add Steam Decks
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 19 +++-
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 6 +
.../link/protocols/link_edp_panel_control.c | 2 +-
drivers/gpu/drm/drm_panel_backlight_quirks.c | 106 +++++++++++++-----
include/drm/drm_utils.h | 8 +-
5 files changed, 109 insertions(+), 32 deletions(-)
base-commit: c17b750b3ad9f45f2b6f7e6f7f4679844244f0b9
--
2.50.1
Powered by blists - more mailing lists