linux/drivers/gpu/drm/amd/display/dc
Michael Mityushkin f0c5f9ebbc drm/amd/display: Apply correct panel mode when reinitializing hardware
[Why]
When link training during engine recovery, ASSR might fail causing panel
mode to be reset to default. This should not happen for eDP as it
will prevent the panel from turning back on.

[How]
Added dp_panel_mode to struct dc_link to remember previously applied
panel mode. Do not reset panel mode to default while performing link
training if previously used panel mode = eDP.

Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Michael Mityushkin <michael.mityushkin@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2023-04-18 16:28:53 -04:00
..
basics
bios drm/amd/display: refactor dmub commands into single function 2023-04-18 16:28:52 -04:00
clk_mgr drm/amd/display: refactor dmub commands into single function 2023-04-18 16:28:52 -04:00
core drm/amd/display: Add FAMS validation before trying to use it 2023-04-18 16:28:52 -04:00
dce drm/amd/display: refactor dmub commands into single function 2023-04-18 16:28:52 -04:00
dce60 drm/amd/display/dc/dce60/Makefile: Fix previous attempt to silence known override-init warnings 2023-03-22 00:48:00 -04:00
dce80 drm/amd/display: prevent memory leak 2022-10-27 15:12:08 -04:00
dce100
dce110 drm/amd/display: convert link.h functions to function pointer style 2023-03-14 15:35:03 -04:00
dce112
dce120 drm/amd/dc/dce120: Fix audio register mapping, stop triggering KASAN 2022-11-23 09:47:13 -05:00
dcn10 drm/amd/display: set variables aperture_default_system and context0_default_system storage-class-specifier to static 2023-04-11 18:03:44 -04:00
dcn20 drm/amd/display: Correct output color space during HW reinitialize 2023-04-18 16:28:53 -04:00
dcn21 drm/amd/display: refactor dmub commands into single function 2023-04-18 16:28:52 -04:00
dcn30 drm/amd/display: Add FAMS validation before trying to use it 2023-04-18 16:28:52 -04:00
dcn31 drm/amd/display: Correct output color space during HW reinitialize 2023-04-18 16:28:53 -04:00
dcn32 drm/amd/display: Enable FPO + Vactive 2023-04-18 16:28:53 -04:00
dcn201 drm/amd/display: remove legacy fields of dc_plane_cap struct 2023-03-08 14:05:31 -05:00
dcn301 drm/amd/display: Set MPC_SPLIT_DYNAMIC for DCN301 2023-03-22 01:00:19 -04:00
dcn302 drm/amd/display: convert link.h functions to function pointer style 2023-03-14 15:35:03 -04:00
dcn303 drm/amd/display: convert link.h functions to function pointer style 2023-03-14 15:35:03 -04:00
dcn314 drm/amd/display: Correct output color space during HW reinitialize 2023-04-18 16:28:53 -04:00
dcn315 drm/amd/display: remove legacy fields of dc_plane_cap struct 2023-03-08 14:05:31 -05:00
dcn316 drm/amd/display: remove legacy fields of dc_plane_cap struct 2023-03-08 14:05:31 -05:00
dcn321 drm/amd/display: Enable FPO + Vactive 2023-04-18 16:28:53 -04:00
dml drm/amd/display: Set watermarks set D equal to A 2023-04-18 16:28:53 -04:00
dsc drm/amd/display: DSC policy override when ODM combine is forced 2023-04-18 16:28:52 -04:00
gpio drm/amd/display: fix mapping to non-allocated address 2023-01-17 15:40:44 -05:00
hdcp drm/amd/display: Drop CONFIG_DRM_AMD_DC_HDCP 2023-03-07 14:22:39 -05:00
inc drm/amd/display: Refactor ABM feature 2023-04-18 16:28:51 -04:00
irq drm/amd/display: Turn global functions into static 2023-02-15 22:24:30 -05:00
link drm/amd/display: Apply correct panel mode when reinitializing hardware 2023-04-18 16:28:53 -04:00
virtual drm/amd/display: make virtual_disable_link_output static 2022-10-11 11:32:59 -04:00
dc_bios_types.h drm/amd/display: Skip backlight control delay on external powered links 2023-01-17 15:40:28 -05:00
dc_ddc_types.h drm/amd/display: move public dc link function implementation to dc_link_exports 2023-02-14 16:06:28 -05:00
dc_dmub_srv.c drm/amd/display: drain dmub inbox if queue is full 2023-04-18 16:28:52 -04:00
dc_dmub_srv.h drm/amd/display: refactor dmub commands into single function 2023-04-18 16:28:52 -04:00
dc_dp_types.h drm/amd/display: Adding support for VESA SCR 2023-04-18 16:28:52 -04:00
dc_dsc.h drm/amd/display: DSC policy override when ODM combine is forced 2023-04-18 16:28:52 -04:00
dc_edid_parser.c
dc_edid_parser.h
dc_hdmi_types.h drm/amd/display/dc/dc_hdmi_types: Move string definition to the only file it's used in 2023-03-22 00:47:59 -04:00
dc_helper.c drm/amd/display: refactor dmub commands into single function 2023-04-18 16:28:52 -04:00
dc_hw_types.h drm/amd/display: Rename DCN config to FP 2023-03-07 14:22:40 -05:00
dc_stat.h
dc_stream.h drm/amd/display: add extra dc odm debug options 2023-04-18 16:28:53 -04:00
dc_trace.h drm/amd/display: Add events log to trace OPTC lock and unlock 2022-10-24 14:36:06 -04:00
dc_types.h drm/amd/display: update max streams per surface 2023-04-18 16:28:52 -04:00
dc.h drm/amd/display: Apply correct panel mode when reinitializing hardware 2023-04-18 16:28:53 -04:00
dm_cp_psp.h
dm_event_log.h
dm_helpers.h drm/amd/display: Enable Freesync over PCon 2023-01-31 14:00:44 -05:00
dm_pp_smu.h
dm_services_types.h drm/amd/display: refactor dmub commands into single function 2023-04-18 16:28:52 -04:00
dm_services.h drm/amd/display: refactor dmub commands into single function 2023-04-18 16:28:52 -04:00
irq_types.h
Makefile drm/amd/display: Rename DCN config to FP 2023-03-07 14:22:40 -05:00
os_types.h drm/amd/display: Rename DCN config to FP 2023-03-07 14:22:40 -05:00