OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b26e72f
)
drm/nvc0: fix incorrect TPC register setup
author
Ben Skeggs
<bskeggs@redhat.com>
Fri, 21 Jan 2011 01:15:16 +0000
(11:15 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Tue, 25 Jan 2011 01:04:39 +0000
(11:04 +1000)
Was hitting TPC+1's regs by accident, oops.
Reported-by: Christoph Bumiller <e0425955@student.tuwien.ac.at>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvc0_graph.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nvc0_graph.c
b/drivers/gpu/drm/nouveau/nvc0_graph.c
index
e6ea7d8
..
df393f0
100644
(file)
--- a/
drivers/gpu/drm/nouveau/nvc0_graph.c
+++ b/
drivers/gpu/drm/nouveau/nvc0_graph.c
@@
-512,8
+512,8
@@
nvc0_graph_init_gpc_1(struct drm_device *dev)
nv_wr32(dev, TP_UNIT(gpc, tp, 0x224), 0xc0000000);
nv_wr32(dev, TP_UNIT(gpc, tp, 0x48c), 0xc0000000);
nv_wr32(dev, TP_UNIT(gpc, tp, 0x084), 0xc0000000);
- nv_wr32(dev, TP_UNIT(gpc, tp, 0x
e
44), 0x001ffffe);
- nv_wr32(dev, TP_UNIT(gpc, tp, 0x
e
4c), 0x0000000f);
+ nv_wr32(dev, TP_UNIT(gpc, tp, 0x
6
44), 0x001ffffe);
+ nv_wr32(dev, TP_UNIT(gpc, tp, 0x
6
4c), 0x0000000f);
}
nv_wr32(dev, GPC_UNIT(gpc, 0x2c90), 0xffffffff);
nv_wr32(dev, GPC_UNIT(gpc, 0x2c94), 0xffffffff);