1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
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
..
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 drm/amd/display: Remove plane and stream pointers from dc scratch 2024-03-27 01:43:22 -04:00
amdgpu_dm_crc.c drm/amd/display: Skip writeback connector when we get amdgpu_dm_connector 2023-12-06 15:22:34 -05:00
amdgpu_dm_crc.h drm/amd/display: Fix in secure display context creation 2023-04-24 18:36:46 -04:00
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 drm/amd/display: add prefix to amdgpu_dm_crtc.h functions 2023-03-08 14:05:53 -05:00
amdgpu_dm_debugfs.c drm/amd/display: Removed unused assignments and variables 2024-10-01 17:38:03 -04:00
amdgpu_dm_debugfs.h drm/amd/display: Move connector debugfs to drm 2022-05-23 11:27:44 +03:00
amdgpu_dm_hdcp.c drm/amd/display: add amdgpu_dm support for DCN351 2024-03-04 15:59:08 -05:00
amdgpu_dm_hdcp.h drm/amd/display: phase2 enable mst hdcp multiple displays 2023-01-17 15:41:19 -05:00
amdgpu_dm_helpers.c drm/amd: Sanity check the ACPI EDID 2024-12-02 18:34:43 -05:00
amdgpu_dm_irq.c drm/amd/display: Disable ips before dc interrupt setting 2024-01-25 16:00:24 -05:00
amdgpu_dm_irq.h drm/amd/display: Support for DMUB AUX 2021-05-10 18:06:44 -04:00
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 drm/amd/display: Do cursor programming with rest of pipe 2024-04-30 09:51:30 -04:00
amdgpu_dm_pp_smu.c drm/amd/display: Clean up warnings in amdgpu_dm_pp_smu.c 2023-07-07 13:51:47 -04:00
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 drm/amd/display: Add periodic detection for IPS 2024-04-30 09:57:23 -04:00
amdgpu_dm_replay.c drm/amd/display: Add Replay capability and state in debugfs 2024-05-08 14:56:51 -04:00
amdgpu_dm_replay.h drm/amd/display: Add Replay capability and state in debugfs 2024-05-08 14:56:51 -04:00
amdgpu_dm_services.c drm/amd/display: Add dummy interface for tracing DCN32 SMU messages 2024-04-09 22:03:13 -04:00
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 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: Add DC_FP helper to check FPU state 2021-08-05 21:17:59 -04:00
Makefile drm/amd/display: Initialize writeback connector 2023-12-06 15:22:34 -05:00