]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/nouveau: add locking around instobj list operations
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Sun, 2 Dec 2012 11:56:22 +0000 (12:56 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Jan 2013 16:46:38 +0000 (08:46 -0800)
commit7fbc316ddf55e429c1275c371f18bd186b9a2533
treeb79239cd53852f3e80c8bfd1ac973fe4dcd039a2
parent4d6438797e79e03b7d8e6a115c99e7f3b90bf4d1
drm/nouveau: add locking around instobj list operations

commit 4c4101d29fb6c63f78791d02c437702b11e1d4f0 upstream.

Fixes memory corruptions, oopses, etc. when multiple gpuobjs are
simultaneously created or destroyed.

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/nouveau/core/subdev/instmem/base.c