summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2008-11-10 15:58:03 +1100
committerBen Skeggs <[email protected]>2008-11-10 15:58:03 +1100
commit66eacb3fed6bc1926e1925b164b7168a6e0a82d5 (patch)
treeccf1de6272e4957bdabbb2e69af3eb6a10dd7b04 /src/gallium/winsys
parent32e6be6362e44609d36c2fb20a4c858f57c908fb (diff)
nouveau: pass object handle not pointer to GPU...
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r--src/gallium/winsys/drm/nouveau/nv04_surface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/drm/nouveau/nv04_surface.c b/src/gallium/winsys/drm/nouveau/nv04_surface.c
index 5bf89e1952e..d08955de718 100644
--- 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);