@@ -246,6 +246,7 @@ int amdgpu_damage_clips = -1; /* auto */
246246int amdgpu_umsch_mm_fwlog ;
247247int amdgpu_rebar = -1 ; /* auto */
248248int amdgpu_user_queue = -1 ;
249+ uint amdgpu_hdmi_hpd_debounce_delay_ms ;
249250
250251DECLARE_DYNDBG_CLASSMAP (drm_debug_classes , DD_CLASS_TYPE_DISJOINT_BITS , 0 ,
251252 "DRM_UT_CORE" ,
@@ -1128,6 +1129,16 @@ module_param_named(rebar, amdgpu_rebar, int, 0444);
11281129MODULE_PARM_DESC (user_queue , "Enable user queues (-1 = auto (default), 0 = disable, 1 = enable, 2 = enable UQs and disable KQs)" );
11291130module_param_named (user_queue , amdgpu_user_queue , int , 0444 );
11301131
1132+ /*
1133+ * DOC: hdmi_hpd_debounce_delay_ms (uint)
1134+ * HDMI HPD disconnect debounce delay in milliseconds.
1135+ *
1136+ * Used to filter short disconnect->reconnect HPD toggles some HDMI sinks
1137+ * generate while entering/leaving power save. Set to 0 to disable by default.
1138+ */
1139+ MODULE_PARM_DESC (hdmi_hpd_debounce_delay_ms , "HDMI HPD disconnect debounce delay in milliseconds (0 to disable (by default), 1500 is common)" );
1140+ module_param_named (hdmi_hpd_debounce_delay_ms , amdgpu_hdmi_hpd_debounce_delay_ms , uint , 0644 );
1141+
11311142/* These devices are not supported by amdgpu.
11321143 * They are supported by the mach64, r128, radeon drivers
11331144 */
0 commit comments