Commit 9da4f99
committed
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: 1454642 ("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 3f79739)
Cc: stable@vger.kernel.org1 parent 7150850 commit 9da4f99
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5423 | 5423 | | |
5424 | 5424 | | |
5425 | 5425 | | |
5426 | | - | |
| 5426 | + | |
5427 | 5427 | | |
5428 | 5428 | | |
5429 | 5429 | | |
| |||
0 commit comments