projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57fcab6
)
drm/radeon/kms: use udelay for short delays
author
Dave Airlie
<airlied@redhat.com>
Sat, 30 Jan 2010 21:07:14 +0000
(07:07 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Mon, 8 Feb 2010 23:32:32 +0000
(09:32 +1000)
For usec delays use udelay instead of scheduling, this should
allow reclocking to happen faster.
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/atom.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/radeon/atom.c
b/drivers/gpu/drm/radeon/atom.c
index e3b44562d2654f7ab2c29da917d50a864db736ef..bd0c843872b2b8caf30eb48bd807ac7cee4db29b 100644
(file)
--- a/
drivers/gpu/drm/radeon/atom.c
+++ b/
drivers/gpu/drm/radeon/atom.c
@@
-640,7
+640,8
@@
static void atom_op_delay(atom_exec_context *ctx, int *ptr, int arg)
uint8_t count = U8((*ptr)++);
SDEBUG(" count: %d\n", count);
if (arg == ATOM_UNIT_MICROSEC)
- schedule_timeout_uninterruptible(usecs_to_jiffies(count));
+ udelay(count);
+ // schedule_timeout_uninterruptible(usecs_to_jiffies(count));
else
schedule_timeout_uninterruptible(msecs_to_jiffies(count));
}