drm/nouveau: Allocate a per-channel instance of NV_SW.
authorFrancisco Jerez <currojerez@riseup.net>
Sat, 26 Dec 2009 01:42:45 +0000 (02:42 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Sun, 10 Jan 2010 23:06:37 +0000 (09:06 +1000)
commitf03a314b4671407c4ff69a2d85e72413e8064c48
treebe9db286225f6bce82cdbe776e4c5444413157fa
parenta510604df9444a2a1bdecafc048749e0f35816b5
drm/nouveau: Allocate a per-channel instance of NV_SW.

It will be useful for various synchronization purposes, mostly stolen
from "[PATCH] drm/nv50: synchronize user channel after buffer object
move on kernel channel" by Maarten Maathuis.

Signed-off-by: Francisco Jerez <currojerez@riseup.net>
drivers/gpu/drm/nouveau/nouveau_channel.c
drivers/gpu/drm/nouveau/nouveau_dma.c
drivers/gpu/drm/nouveau/nouveau_dma.h
drivers/gpu/drm/nouveau/nouveau_drv.h
drivers/gpu/drm/nouveau/nouveau_object.c
drivers/gpu/drm/nouveau/nv04_fbcon.c