drm/amd/display: refactor ILR to make it work
authorSherry Wang <yao.wang1@amd.com>
Fri, 8 Sep 2023 06:45:00 +0000 (14:45 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 4 Oct 2023 22:41:45 +0000 (18:41 -0400)
commit6ec876472ff7edeaf2a07bf6afbff74d7f1dfa35
tree8191d53115838a32d5d2053b49f3b953b36e5dd7
parent984abb5384b0f8644fbad3bfe1f8fd4e29c418cf
drm/amd/display: refactor ILR to make it work

[Why]
Current ILR toggle is on/off as a part of panel
config for new function, which breaks original
ILR logic

[How]
Refactor ILR and take panel config into account

Reviewed-by: Anthony Koo <anthony.koo@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Sherry Wang <yao.wang1@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/link/link_detection.c
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.c
drivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.c
drivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.h