drm/nouveau/drm/nv04-nv40/instmem: protect access to priv->heap by mutex
authorKamil Dudka <kdudka@redhat.com>
Wed, 15 Jul 2015 20:57:43 +0000 (22:57 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 27 Jul 2015 08:56:07 +0000 (18:56 +1000)
commit7512223b1ece29a5968ed8b67ccb891d21b7834b
tree9339bcec52eaf99df199e9470082cbf9c670a178
parentac8c79304280da6ef05c348a9da03ab04898b994
drm/nouveau/drm/nv04-nv40/instmem: protect access to priv->heap by mutex

This fixes the list_del corruption reported
at <https://bugzilla.redhat.com/1205985>.

Signed-off-by: Kamil Dudka <kdudka@redhat.com>
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv04.c