diff options
author | 2020-08-10 14:08:11 -0400 | |
---|---|---|
committer | 2020-08-26 16:40:18 -0400 | |
commit | 6f77b2ac628073f647041a92b36c824ae3aef16e (patch) | |
tree | ab34fe0680ed15ac75f14c90dac359a6e111eba7 /drivers/gpu/drm/amd/amdgpu/vi.c | |
parent | drm/amd/display: Add debugfs for connector's FEC & DSC capabilities (diff) | |
download | linux-rng-6f77b2ac628073f647041a92b36c824ae3aef16e.tar.xz linux-rng-6f77b2ac628073f647041a92b36c824ae3aef16e.zip |
drm/amd/display: Add connector HPD trigger debugfs entry
[why]
Need a tool to retrigger a virtual hotplug for testing purposes with
force redetection in both DC and DM.
[how]
Emulate handle_hpd_irq for connector as if usermode would trigger
a hotplug. Perform DC link discovery, DM connector update, and
DM force atomic commit.
In order to trigger HPD on the connector user needs to echo 1 into
"trigger_hotplug" debugfs entry on its respective connector.
Signed-off-by: Eryk Brol <eryk.brol@amd.com>
Signed-off-by: Mikita Lipski <mikita.lipski@amd.com>
Reviewed-by: Mikita Lipski <Mikita.Lipski@amd.com>
Acked-by: Eryk Brol <eryk.brol@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/vi.c')
0 files changed, 0 insertions, 0 deletions