]> Gentwo Git Trees - linux/.git/commit
drm/amd/display: Indicate when custom brightness curves are in use
authorMario Limonciello <superm1@kernel.org>
Sun, 24 Aug 2025 20:20:58 +0000 (15:20 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 5 Sep 2025 21:38:41 +0000 (17:38 -0400)
commit68f3c044f37d9f50d67417fa8018d9cf16423458
tree138f1c1eebb0f243750530028b1767cca1fa54ad
parent895b61395eefd28376250778a741f11e12715a39
drm/amd/display: Indicate when custom brightness curves are in use

[Why]
There is a `scale` sysfs attribute that can be used to indicate when
non-linear brightness scaling is in use.  As Custom brightness curves
work by linear interpolation of points the scale is no longer linear.

[How]
Indicate non-linear scaling when custom brightness curves in use and
linear scaling otherwise.

Reviewed-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Mario Limonciello <superm1@kernel.org>
Signed-off-by: Wayne Lin <wayne.lin@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c