diff options
author | Luca Barbieri <luca@luca-barbieri.com> | 2010-09-05 10:10:09 +0200 |
---|---|---|
committer | Luca Barbieri <luca@luca-barbieri.com> | 2010-09-05 17:52:26 +0200 |
commit | d46c5ce7b6a707b491a28345e3ee2adfce201632 (patch) | |
tree | 49bcdfa7790d50ec141e3b6c8dc42604fb3c8428 /src/gallium/drivers/nvfx/nvfx_surface.c | |
parent | 3bca263a92ab206d371e18ac65f6d36cadbc62a5 (diff) |
nvfx: switch to rules-ng-ng register headers
This is the new register generation toolkit in use by nouveau.
As far as I know, this is the best register description toolkit in
existence, and you should use it too for your hardware :)
Thanks to Marcin Kościelnicki for inventing it and performing
invaluable reverse engineering work of nVidia chips.
Diffstat (limited to 'src/gallium/drivers/nvfx/nvfx_surface.c')
-rw-r--r-- | src/gallium/drivers/nvfx/nvfx_surface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nvfx/nvfx_surface.c b/src/gallium/drivers/nvfx/nvfx_surface.c index e39f7f15a3..a6ce4cc15e 100644 --- a/src/gallium/drivers/nvfx/nvfx_surface.c +++ b/src/gallium/drivers/nvfx/nvfx_surface.c @@ -167,7 +167,7 @@ nvfx_get_blitter(struct pipe_context* pipe, int copy) { struct nouveau_channel* chan = nvfx->screen->base.channel; WAIT_RING(chan, 2); - OUT_RING(chan, RING_3D(NV34TCL_QUERY_ENABLE, 1)); + OUT_RING(chan, RING_3D(NV30_3D_QUERY_ENABLE, 1)); OUT_RING(chan, 0); } @@ -208,7 +208,7 @@ nvfx_put_blitter(struct pipe_context* pipe, struct blitter_context* blitter) { struct nouveau_channel* chan = nvfx->screen->base.channel; WAIT_RING(chan, 2); - OUT_RING(chan, RING_3D(NV34TCL_QUERY_ENABLE, 1)); + OUT_RING(chan, RING_3D(NV30_3D_QUERY_ENABLE, 1)); OUT_RING(chan, 1); } } |