drm/amd/display: Refactor PSR DPCD caps detection
authorPo Ting Chen <robin.chen@amd.com>
Mon, 7 Feb 2022 16:20:53 +0000 (00:20 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Feb 2022 19:22:03 +0000 (14:22 -0500)
commit3e6084aee08b108f5cc489be46c68ba56b13e52e
treeecec0531084a5d748f48c936ee4920f2ec366c5f
parent2e6e14c9e47dac61e341d4b8128184e3e0eb3568
drm/amd/display: Refactor PSR DPCD caps detection

[Why]
To move the PSR DPCD caps detection into detect_edp_sink_caps()

Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Solomon Chiu <solomon.chiu@amd.com>
Signed-off-by: Po Ting Chen <robin.chen@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_psr.c
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c
drivers/gpu/drm/amd/display/dc/dc.h
drivers/gpu/drm/amd/display/dc/dc_dp_types.h
drivers/gpu/drm/amd/display/include/ddc_service_types.h