]> git.baikalelectronics.ru Git - kernel.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)
commite004af92ae490194b5842c89dd2318c6cdafc3d5
tree9a6f39cbf15fbc7f4b45379c628f207590641b12
parent6fc171f0b4e65a02bf714b410fe44916c39cfbb5
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