OSDN Git Service

nouveau: bind the 3D engine to subchannel 7 and add RING_3D
authorLuca Barbieri <luca@luca-barbieri.com>
Tue, 23 Feb 2010 10:06:31 +0000 (11:06 +0100)
committerLuca Barbieri <luca@luca-barbieri.com>
Mon, 12 Apr 2010 10:13:15 +0000 (12:13 +0200)
commite0af5c9b5457d560ab075118881de01e0277ed14
treeb3ffc3090c9b2b6a211bc663c6d24f9741195a44
parent507dc546c3da415036521fcf91e76af88c2cbf69
nouveau: bind the 3D engine to subchannel 7 and add RING_3D

RING_3D creates a method start for subchannel 7.

Bind the 3D engine to a fixed subchannel to make it work

This is much faster than the old BEGIN_RING, since we don't need
to waste cycles trying to "autobind" stuff, when a fast static binding
is perfectly good.

Subchannel 7 is chosen because the kernel takes up the lowest ones.
src/gallium/drivers/nouveau/nouveau_screen.h
src/gallium/drivers/nv50/nv50_screen.c
src/gallium/drivers/nvfx/nvfx_screen.c