]> git.baikalelectronics.ru Git - kernel.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)
committerBen Skeggs <bskeggs@redhat.com>
Sun, 13 Jan 2013 08:07:40 +0000 (18:07 +1000)
commit1f4c99ced36d31330fe37b96be0abf40622e75d3
treea11c0c4cd657face804594e5335b965cc7b23755
parentff017a8151b7c987db15b03c7a9fe9b03dc07580
drm/nouveau: add locking around instobj list operations

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>
Cc: stable@vger.kernel.org
drivers/gpu/drm/nouveau/core/subdev/instmem/base.c