]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Add a new dcdebugmask to allow turning off brightness curve
authorMario Limonciello <mario.limonciello@amd.com>
Fri, 28 Feb 2025 18:51:45 +0000 (12:51 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 5 Mar 2025 15:42:57 +0000 (10:42 -0500)
commit36d63ce5dbc0dc37b5af90f6b7c3b92ab26403b7
tree66513da55e0a27a43e2159ea0f0e5029e3f1d3dd
parent578df37b1b6a5bc41602cdab3d982072e5688222
drm/amd/display: Add a new dcdebugmask to allow turning off brightness curve

Upgrading the kernel may cause some systems that were previously not using
a firmware specified brightness curve to use one.

In the event of problems with this curve (for example an interpolation
error) add a new dcdebugmask value that can be used to turn it off.  Also
add an info message to show that custom brightness curves are currently in
use.

Reviewed-by: Alex Hung <alex.hung@amd.com>
Link: https://lore.kernel.org/r/20250228185145.186319-6-mario.limonciello@amd.com
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
drivers/gpu/drm/amd/include/amd_shared.h