projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cb6d1a
)
drm/nvc0: don't un-bind every subchannel on init
author
Ben Skeggs
<bskeggs@redhat.com>
Thu, 30 Dec 2010 02:34:12 +0000
(12:34 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Thu, 30 Dec 2010 02:34:12 +0000
(12:34 +1000)
The initial values in the grctx are 0x0000 anyway, and re-binding them
all to 0x0000 destroys some init done by the nouveau drm.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
src/gallium/drivers/nvc0/nvc0_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nvc0/nvc0_screen.c
b/src/gallium/drivers/nvc0/nvc0_screen.c
index 0e80e2841a95ee6e567f8c7f3dc485d80c57f9ce..a5641ba90fb09b95db5e0f324923b33c043b9626 100644
(file)
--- a/
src/gallium/drivers/nvc0/nvc0_screen.c
+++ b/
src/gallium/drivers/nvc0/nvc0_screen.c
@@
-392,11
+392,6
@@
nvc0_screen_create(struct pipe_winsys *ws, struct nouveau_device *dev)
goto fail;
}
- for (i = 0; i < 8; ++i) {
- BEGIN_RING(chan, (i << 13) | (0x0000 >> 2), 1);
- OUT_RING (chan, 0x0000);
- }
-
ret = nouveau_grobj_alloc(chan, 0xbeef9039, NVC0_M2MF, &screen->m2mf);
if (ret)
FAIL_SCREEN_INIT("Error allocating PGRAPH context for M2MF: %d\n", ret);