linux/drivers/gpu/drm/amd/display/amdgpu_dm
Alex Deucher 9da4f9964a 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: 1454642960 ("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
2026-03-24 13:53:46 -04:00
..
Makefile drm/amd/display: Add support for sRGB EOTF in DEGAM block 2025-11-26 23:03:34 +01:00
amdgpu_dm.c drm/amd/display: check if ext_caps is valid in BL setup 2026-03-24 13:53:46 -04:00
amdgpu_dm.h drm/amd/display: Do not skip unrelated mode changes in DSC validation 2026-03-23 14:38:56 -04:00
amdgpu_dm_color.c drm/amd/display: Use mpc.preblend flag to indicate 3D LUT 2026-03-02 17:12:58 -05:00
amdgpu_dm_colorop.c drm/amd/display: Fix gamma 2.2 colorop TFs 2026-03-17 12:08:46 -04:00
amdgpu_dm_colorop.h drm/amd/display: Add support for sRGB EOTF in BLND block 2025-11-26 23:03:34 +01:00
amdgpu_dm_crc.c Convert remaining multi-line kmalloc_obj/flex GFP_KERNEL uses 2026-02-22 08:26:33 -08:00
amdgpu_dm_crc.h drm/amd/display: Add missing SPDX license identifier 2025-07-28 16:40:30 -04:00
amdgpu_dm_crtc.c drm/amd/display: Enable DEGAMMA and reject COLOR_PIPELINE+DEGAMMA_LUT 2026-03-02 17:13:13 -05:00
amdgpu_dm_crtc.h drm/amd/display: Disable replay and psr while VRR is enabled 2025-01-06 14:44:27 -05:00
amdgpu_dm_debugfs.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
amdgpu_dm_debugfs.h drm/amd/display: Add missing SPDX license identifier 2025-07-28 16:40:30 -04:00
amdgpu_dm_hdcp.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
amdgpu_dm_hdcp.h drm/amd/display: Add missing SPDX license identifier 2025-07-28 16:40:30 -04:00
amdgpu_dm_helpers.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
amdgpu_dm_irq.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
amdgpu_dm_irq.h drm/amd/display: Add missing SPDX license identifier 2025-07-28 16:40:30 -04:00
amdgpu_dm_irq_params.h drm/amd/display: Add CRC 32-bit mode support for DCN3.6+ 2026-02-03 16:43:12 -05:00
amdgpu_dm_mst_types.c drm/amd/display: Do not skip unrelated mode changes in DSC validation 2026-03-23 14:38:56 -04:00
amdgpu_dm_mst_types.h drm/amd/display: Fix pbn_div Calculation Error 2025-09-05 17:38:41 -04:00
amdgpu_dm_plane.c drm/amd/display: Enable DEGAMMA and reject COLOR_PIPELINE+DEGAMMA_LUT 2026-03-02 17:13:13 -05:00
amdgpu_dm_plane.h drm: Pass pixel_format+modifier to .get_format_info() 2025-07-16 19:59:59 +03:00
amdgpu_dm_pp_smu.c drm/amd/display: Add pixel_clock to amd_pp_display_configuration 2025-09-15 16:52:41 -04:00
amdgpu_dm_psr.c drm/amd/display: Disable SR feature on eDP1 by default 2026-02-19 12:16:10 -05:00
amdgpu_dm_psr.h drm/amd/display: Add missing SPDX license identifier 2025-07-28 16:40:30 -04:00
amdgpu_dm_quirks.c drm/amd/display: Restructure DMI quirks 2025-05-13 09:30:52 -04:00
amdgpu_dm_replay.c drm/amd/display: disable replay when crc source is enabled 2026-01-10 14:21:53 -05:00
amdgpu_dm_replay.h drm/amd/display: Add missing SPDX license identifier 2025-07-28 16:40:30 -04:00
amdgpu_dm_services.c drm/amd/display: Refactor SMU tracing 2025-09-23 10:31:51 -04:00
amdgpu_dm_trace.h drm/amd/display: Add missing SPDX license identifier 2025-07-28 16:40:30 -04:00
amdgpu_dm_wb.c drm/amd/display: Adjust all dev_*() messages to drm_*() 2025-04-07 18:01:07 -04:00
amdgpu_dm_wb.h drm/amd/display: Create amdgpu_dm_wb_connector 2023-12-06 15:22:35 -05:00
dc_fpu.c drm/amd/display: use ARCH_HAS_KERNEL_FPU_SUPPORT 2024-05-19 14:36:19 -07:00
dc_fpu.h drm/amd/display: Permit DC_FP_START/END only in non-FP compilation units 2025-12-08 13:56:37 -05:00