diff options
| author | Alex Deucher <alexander.deucher@amd.com> | 2026-03-20 12:33:48 -0400 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-03-24 13:53:46 -0400 |
| commit | 9da4f9964abcaeb6e19797d5e3b10faad338a786 (patch) | |
| tree | 0b972987e0680b657019976e2021f1c53805ed75 /include/linux | |
| parent | 7150850146ebfa4ca998f653f264b8df6f7f85be (diff) | |
drm/amd/display: check if ext_caps is valid in BL setup
LVDS connectors don't have extended backlight caps so check
if the pointer is valid before accessing it.
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/5012
Fixes: 1454642960b0 ("drm/amd: Re-introduce property to control adaptive backlight modulation")
Cc: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 3f797396d7f4eb9bb6eded184bbc6f033628a6f6)
Cc: stable@vger.kernel.org
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
