drm/amd/display: add debugfs for allow_edp_hotplug_detection
authorHersen Wu <hersenxs.wu@amd.com>
Thu, 25 May 2023 13:00:29 +0000 (09:00 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Jun 2023 14:44:05 +0000 (10:44 -0400)
commitee83c930974d4afb5fec3db638a8341b5d1cd3fa
tree13cba4067cb605606972d4b5a1905df43d327706
parent7a0e005c7957931689a327b2a4e7333a19f13f95
drm/amd/display: add debugfs for allow_edp_hotplug_detection

[Why] within dc_link_detect, edp edid is read only for the first time
and saved. edid will not be read after the first time read. to run edp
edid read test, need read edp edid for each dc_link_detect. dc->config
flag allow_edp_hotplug_detection could be used for edp edid test.

[How] add debugfs for dc->config.allow_edp_hotplug_detection

Acked-by: Stylon Wang <stylon.wang@amd.com>
Signed-off-by: Hersen Wu <hersenxs.wu@amd.com>
Reviewed-by: Aurabindo Pillai <aurabindo.pillai@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