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 <[email protected]>
Reviewed-by: Mario Limonciello (AMD) <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
(cherry picked from commit 3f79739)
Cc: [email protected]1 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