mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-08 03:28:05 +02:00
Oops, forgot to push the msleep() in the hotplug test. Wouldn't want to
spin in the kernel for a whole second w/o it...
This commit is contained in:
parent
9a39cb9b9a
commit
79b7a588bb
1 changed files with 1 additions and 0 deletions
|
|
@ -152,6 +152,7 @@ static bool intel_crt_detect_hotplug(struct drm_output *output)
|
|||
do {
|
||||
if (!(I915_READ(PORT_HOTPLUG_EN) & CRT_HOTPLUG_FORCE_DETECT))
|
||||
break;
|
||||
msleep(1);
|
||||
} while (time_after(timeout, jiffies));
|
||||
|
||||
if ((I915_READ(PORT_HOTPLUG_STAT) & CRT_HOTPLUG_MONITOR_MASK) ==
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue