mirror-linux/drivers/gpu/drm/amd/display/amdgpu_dm
Mario Limonciello 1c09386201 drm/amd/display: Fix programming backlight on OLED panels
commit 38077562e0 ("drm/amd/display: Implement new
backlight_level_params structure") adjusted DC core to require
the backlight type to be programmed in the dc link when changing
brightness.  This isn't initialized in amdgpu_dm for OLED panels
though which broke brightness.

Explicitly initialize when aux support is enabled.

Reported-and-tested-by: Luke Jones <luke@ljones.dev>
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3792
Fixes: 38077562e0 ("drm/amd/display: Implement new backlight_level_params structure")
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Link: https://lore.kernel.org/r/20241128032200.2085398-1-superm1@kernel.org
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-12-02 18:34:48 -05:00
..
Makefile
amdgpu_dm.c drm/amd/display: Fix programming backlight on OLED panels 2024-12-02 18:34:48 -05:00
amdgpu_dm.h drm/amd/display: Change some variable name of psr 2024-11-08 11:45:29 -05:00
amdgpu_dm_color.c
amdgpu_dm_crc.c
amdgpu_dm_crc.h
amdgpu_dm_crtc.c drm/amd/display: Fix Panel Replay not update screen correctly 2024-11-08 11:45:30 -05:00
amdgpu_dm_crtc.h
amdgpu_dm_debugfs.c drm/amd/display: Removed unused assignments and variables 2024-10-01 17:38:03 -04:00
amdgpu_dm_debugfs.h
amdgpu_dm_hdcp.c
amdgpu_dm_hdcp.h
amdgpu_dm_helpers.c drm/amd: Sanity check the ACPI EDID 2024-12-02 18:34:43 -05:00
amdgpu_dm_irq.c
amdgpu_dm_irq.h
amdgpu_dm_irq_params.h drm/amd/display: Change some variable name of psr 2024-11-08 11:45:29 -05:00
amdgpu_dm_mst_types.c drm/amd/display: switch amdgpu_dm_connector to use struct drm_edid 2024-10-07 14:32:08 -04:00
amdgpu_dm_mst_types.h drm/amd/display: Fix MST BW calculation Regression 2024-08-13 10:48:07 -04:00
amdgpu_dm_plane.c drm/amdgpu: explicitely set the AMDGPU_GEM_CREATE_VRAM_CONTIGUOUS flag 2024-09-18 16:15:09 -04:00
amdgpu_dm_plane.h
amdgpu_dm_pp_smu.c
amdgpu_dm_psr.c drm/amd/display: Fix possible overflow in integer multiplication 2024-07-01 16:06:53 -04:00
amdgpu_dm_psr.h
amdgpu_dm_replay.c
amdgpu_dm_replay.h
amdgpu_dm_services.c
amdgpu_dm_trace.h tracing/treewide: Remove second parameter of __assign_str() 2024-05-22 20:14:47 -04:00
amdgpu_dm_wb.c drm/amdgpu: explicitely set the AMDGPU_GEM_CREATE_VRAM_CONTIGUOUS flag 2024-09-18 16:15:09 -04:00
amdgpu_dm_wb.h
dc_fpu.c drm/amd/display: use ARCH_HAS_KERNEL_FPU_SUPPORT 2024-05-19 14:36:19 -07:00
dc_fpu.h