]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/nouveau: Implement weak channel references.
authorFrancisco Jerez <currojerez@riseup.net>
Mon, 18 Oct 2010 01:55:48 +0000 (03:55 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 3 Dec 2010 05:06:42 +0000 (15:06 +1000)
commitf091a3d403065416b7d27221bbeb956481132ffd
tree9a6f39cbf15fbc7f4b45379c628f207590641b12
parent36c952e8b3bad911ef13111058f0a5c4b361027e
drm/nouveau: Implement weak channel references.

nouveau_channel_ref() takes a "weak" channel reference that doesn't
prevent the hardware channel resources from being released, it just
keeps the channel data structure alive.

Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_channel.c
drivers/gpu/drm/nouveau/nouveau_drv.h