projects
/
profile
/
ivi
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a39cb9
)
Oops, forgot to push the msleep() in the hotplug test. Wouldn't want to
author
Jesse Barnes
<jbarnes@hobbes.virtuousgeek.org>
Thu, 12 Apr 2007 21:57:07 +0000
(14:57 -0700)
committer
Jesse Barnes
<jbarnes@hobbes.virtuousgeek.org>
Thu, 12 Apr 2007 21:57:07 +0000
(14:57 -0700)
spin in the kernel for a whole second w/o it...
linux-core/intel_crt.c
patch
|
blob
|
history
diff --git
a/linux-core/intel_crt.c
b/linux-core/intel_crt.c
index
86eaff5
..
cdfb314
100644
(file)
--- a/
linux-core/intel_crt.c
+++ b/
linux-core/intel_crt.c
@@
-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) ==