diff options
| author | Mario Limonciello (AMD) <superm1@kernel.org> | 2025-11-04 01:02:11 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2025-11-26 20:31:26 +0300 |
| commit | 81f4d4ba509522596143fd5d7dc2fc3495296b0a (patch) | |
| tree | 952037c75d9d2b8f90bd28ec3321321f1bb424f0 /net/unix/af_unix.c | |
| parent | 3ce62c189693e8ed7b3abe551802bbc67f3ace54 (diff) | |
| download | linux-81f4d4ba509522596143fd5d7dc2fc3495296b0a.tar.xz | |
drm/amd/display: Don't change brightness for disabled connectors
[WHY]
When a laptop lid is closed the connector is disabled but userspace
can still try to change brightness. This doesn't work because the
panel is turned off. It will eventually time out, but there is a lot
of stutter along the way.
[How]
Iterate all connectors to check whether the matching one for the backlight
index is enabled.
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4675
Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Ray Wu <ray.wu@amd.com>
Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit f6eeab30323d1174a4cc022e769d248fe8241304)
Cc: stable@vger.kernel.org
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
