]> www.infradead.org Git - users/jedix/linux-maple.git/commit
docs: backlight: Clarify `actual_brightness`
authorMario Limonciello <mario.limonciello@amd.com>
Tue, 15 Apr 2025 19:20:59 +0000 (14:20 -0500)
committerMario Limonciello <mario.limonciello@amd.com>
Mon, 5 May 2025 18:43:00 +0000 (13:43 -0500)
commit8ecd32b668238a7a79b2f44b66dae8ffb87ac763
tree146da1c7ef8c0de72b2eb3d049b44168f74e8cbe
parent50935044e58e563cdcfd556d62f27bc8744dd64e
docs: backlight: Clarify `actual_brightness`

Currently userspace software systemd treats `brightness` and
`actual_brightness` identically due to a bug found in an out of tree
driver.

This however causes problems for in-tree drivers that use brightness
to report user requested `brightness` and `actual_brightness` to report
what the hardware actually has programmed.

Clarify the documentation to match the behavior described in commit
6ca017658b1f9 ("[PATCH] backlight: Backlight Class Improvements").

Cc: Lee Jones <lee@kernel.org>
Cc: Lennart Poettering <lennart@poettering.net>
Cc: richard.purdie@linuxfoundation.org
Link: https://github.com/systemd/systemd/pull/36881
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Link: https://lore.kernel.org/r/20250415192101.2033518-1-superm1@kernel.org
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Documentation/ABI/stable/sysfs-class-backlight