projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38bdcfc
)
drm/nouveau/gr/gf100: select a stream master to fixup tfb offset queries
author
Ben Skeggs
<bskeggs@redhat.com>
Fri, 22 Apr 2016 00:05:21 +0000
(10:05 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Fri, 22 Apr 2016 00:08:05 +0000
(10:08 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
b/drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
index
c56a886
..
b2de290
100644
(file)
--- a/
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
+++ b/
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
@@
-1832,6
+1832,8
@@
gf100_gr_init(struct gf100_gr *gr)
gf100_gr_mmio(gr, gr->func->mmio);
+ nvkm_mask(device, TPC_UNIT(0, 0, 0x05c), 0x00000001, 0x00000001);
+
memcpy(tpcnr, gr->tpc_nr, sizeof(gr->tpc_nr));
for (i = 0, gpc = -1; i < gr->tpc_total; i++) {
do {