Commit 68f3c04
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>1 parent 895b613 commit 68f3c04
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5060 | 5060 | | |
5061 | 5061 | | |
5062 | 5062 | | |
5063 | | - | |
| 5063 | + | |
5064 | 5064 | | |
| 5065 | + | |
| 5066 | + | |
| 5067 | + | |
5065 | 5068 | | |
5066 | 5069 | | |
5067 | 5070 | | |
| |||
0 commit comments