projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32e6be6
)
nouveau: pass object handle not pointer to GPU...
author
Ben Skeggs
<skeggsb@gmail.com>
Mon, 10 Nov 2008 04:58:03 +0000
(15:58 +1100)
committer
Ben Skeggs
<skeggsb@gmail.com>
Mon, 10 Nov 2008 04:58:03 +0000
(15:58 +1100)
src/gallium/winsys/drm/nouveau/nv04_surface.c
patch
|
blob
|
history
diff --git
a/src/gallium/winsys/drm/nouveau/nv04_surface.c
b/src/gallium/winsys/drm/nouveau/nv04_surface.c
index 5bf89e1952e4dc9ac068c196bf095f911016c5de..d08955de718f4c677a5303f35e982aa1d3834956 100644
(file)
--- a/
src/gallium/winsys/drm/nouveau/nv04_surface.c
+++ b/
src/gallium/winsys/drm/nouveau/nv04_surface.c
@@
-386,7
+386,7
@@
nouveau_surface_channel_create_nv04(struct nouveau_channel_context *nvc)
BEGIN_RING(chan, nvc->NvSIFM, NV04_SCALED_IMAGE_FROM_MEMORY_DMA_IMAGE, 1);
OUT_RING (chan, nvc->channel->vram->handle);
BEGIN_RING(chan, nvc->NvSIFM, NV04_SCALED_IMAGE_FROM_MEMORY_SURFACE, 1);
- OUT_RING (chan, nvc->NvSwzSurf);
+ OUT_RING (chan, nvc->NvSwzSurf
->handle
);
BEGIN_RING(chan, nvc->NvSIFM, NV04_SCALED_IMAGE_FROM_MEMORY_PATTERN, 1);
OUT_RING (chan, 0);
BEGIN_RING(chan, nvc->NvSIFM, NV04_SCALED_IMAGE_FROM_MEMORY_ROP, 1);