projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ca5828
)
drm/i915: clean up udelay usage
author
Arjan van de Ven
<arjan@linux.intel.com>
Mon, 23 Mar 2009 20:36:25 +0000
(13:36 -0700)
committer
Eric Anholt
<eric@anholt.net>
Wed, 1 Apr 2009 22:21:58 +0000
(15:21 -0700)
udelay() of 20 milliseconds really ought to just use mdelay(), that avoids
the various wrap scenarios and also is more readable
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_display.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/i915/intel_display.c
b/drivers/gpu/drm/i915/intel_display.c
index d9c50ff94d7633d2bb6d166e73793bad1eb6691b..0b33760b04cb13149e33e8171ed05536017c8bbd 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_display.c
+++ b/
drivers/gpu/drm/i915/intel_display.c
@@
-636,7
+636,7
@@
void
intel_wait_for_vblank(struct drm_device *dev)
{
/* Wait for 20ms, i.e. one cycle at 50hz. */
-
udelay(2000
0);
+
mdelay(2
0);
}
static int