projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ac607e
)
drm/nouveau: fix ENG_RUNLIST register address
author
Alexandre Courbot
<
[email protected]
>
Fri, 7 Feb 2014 13:22:57 +0000
(22:22 +0900)
committer
Ben Skeggs
<
[email protected]
>
Tue, 18 Feb 2014 00:36:58 +0000
(10:36 +1000)
Address of the ENG_RUNLIST register should be 0x002284 + (engine * 8),
not 0x002284 + (engine * 4).
Signed-off-by: Alexandre Courbot <
[email protected]
>
Signed-off-by: Ben Skeggs <
[email protected]
>
drivers/gpu/drm/nouveau/core/engine/fifo/nve0.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/core/engine/fifo/nve0.c
b/drivers/gpu/drm/nouveau/core/engine/fifo/nve0.c
index 9a850fe19515fe2ddcd513c3497c7d87c86cba8a..54c1b5b471cdfa5682a83587a1d490455d6828c1 100644
(file)
--- a/
drivers/gpu/drm/nouveau/core/engine/fifo/nve0.c
+++ b/
drivers/gpu/drm/nouveau/core/engine/fifo/nve0.c
@@
-112,7
+112,7
@@
nve0_fifo_runlist_update(struct nve0_fifo_priv *priv, u32 engine)
nv_wr32(priv, 0x002270, cur->addr >> 12);
nv_wr32(priv, 0x002274, (engine << 20) | (p >> 3));
- if (!nv_wait(priv, 0x002284 + (engine *
4
), 0x00100000, 0x00000000))
+ if (!nv_wait(priv, 0x002284 + (engine *
8
), 0x00100000, 0x00000000))
nv_error(priv, "runlist %d update timeout\n", engine);
mutex_unlock(&nv_subdev(priv)->mutex);
}