]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/nouveau: Make fences take a weak channel reference.
authorFrancisco Jerez <currojerez@riseup.net>
Mon, 18 Oct 2010 01:56:14 +0000 (03:56 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 3 Dec 2010 05:06:43 +0000 (15:06 +1000)
commit2a6789ae5e8a6b25a0835834655205166a757a81
treeb519dacc6f1e5d0f85e2e57fd1fdecdbc60cbfee
parentf091a3d403065416b7d27221bbeb956481132ffd
drm/nouveau: Make fences take a weak channel reference.

Fences didn't increment the channel reference count, and the fenced
channel could go away at any time. Fixes a potential race in
nouveau_fence_update().

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