projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
310ff41
)
drm/nvc0/fifo: fix typos in unload_context
author
Ben Skeggs
<bskeggs@redhat.com>
Tue, 24 May 2011 01:54:42 +0000
(11:54 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Thu, 23 Jun 2011 05:57:03 +0000
(15:57 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvc0_fifo.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nvc0_fifo.c
b/drivers/gpu/drm/nouveau/nvc0_fifo.c
index
fb4f594
..
6f9f341
100644
(file)
--- a/
drivers/gpu/drm/nouveau/nvc0_fifo.c
+++ b/
drivers/gpu/drm/nouveau/nvc0_fifo.c
@@
-210,10
+210,10
@@
nvc0_fifo_unload_context(struct drm_device *dev)
int i;
for (i = 0; i < 128; i++) {
- if (!(nv_rd32(dev, 0x003004 + (i *
4
)) & 1))
+ if (!(nv_rd32(dev, 0x003004 + (i *
8
)) & 1))
continue;
- nv_mask(dev, 0x003004 + (i *
4
), 0x00000001, 0x00000000);
+ nv_mask(dev, 0x003004 + (i *
8
), 0x00000001, 0x00000000);
nv_wr32(dev, 0x002634, i);
if (!nv_wait(dev, 0x002634, 0xffffffff, i)) {
NV_INFO(dev, "PFIFO: kick ch %d failed: 0x%08x\n",