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)
committerDave Airlie <airlied@redhat.com>
Mon, 11 Jan 2010 04:41:11 +0000 (14:41 +1000)
commitca4362adb4c01807dfcf3f2b3152a7ee36f0d1ca
tree44129f4769ee7950d45bb1f6680418c265352b94
parent0a2d090f99c9686e5107ed59533fc4210a9a47d1
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