diff options
| author | Eryk Brol <eryk.brol@amd.com> | 2020-08-27 15:45:06 -0400 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2020-09-15 17:52:41 -0400 |
| commit | 6b29bb37373bfdcc851b2c907f6a9049427b1661 (patch) | |
| tree | 411f0174e023691edd1bed61ecb2f2d8e06b0ac1 /lib/timerqueue.c | |
| parent | 0749ddeb7d6c87e04446c068c03b097d4aa19173 (diff) | |
drm/amd/display: Add trigger connector unplug
[why]
We need a virtual tool that would emulate a physical
connector unplug to usermode, while connector is
still physically plugged in.
[how]
Added a new option to debugfs entry "trigger_hotplug".
It emulates hotplug irq handling scenario by clearing
DC and DM connector states.
It can be triggered with the following command:
echo 0 > /sys/kernel/debug/dri/0/DP-X/trigger_hotplug
Signed-off-by: Eryk Brol <eryk.brol@amd.com>
Signed-off-by: Mikita Lipski <mikita.lipski@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions
