Skip to content

Commit 8fbae40

Browse files
luozhijiaopsiff
authored andcommitted
drm/amdgpu: fix drm/amdgpu increase hpd filter disconnect delay
When we use "xset dpms force off" to turn off the monitor, some monitors may wrongly generating hotplug event on hdmi which wil wake up the screen unexpected. Increase hpd fliter disconnect delay can fix the issue. Signed-off-by: hongao <hongao@uniontech.com> Signed-off-by: luozhijia <luozhijia@uniontech.com> Signed-off-by: WangYuli <wangyuli@uniontech.com>
1 parent b4fe27d commit 8fbae40

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • drivers/gpu/drm/amd/display/dc/link/protocols

drivers/gpu/drm/amd/display/dc/link/protocols/link_hpd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ bool program_hpd_filter(const struct dc_link *link)
189189
case SIGNAL_TYPE_HDMI_TYPE_A:
190190
/* Program hpd filter */
191191
delay_on_connect_in_ms = 500;
192-
delay_on_disconnect_in_ms = 100;
192+
delay_on_disconnect_in_ms = 700;
193193
break;
194194
case SIGNAL_TYPE_DISPLAY_PORT:
195195
case SIGNAL_TYPE_DISPLAY_PORT_MST:

0 commit comments

Comments
 (0)