dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/drivers/gpu/drm/nouveau/core
Aleksi Torhamo 43f789792e drm/nvc0/fb: fix crash when different mutex is used to protect same list
Fixes regression introduced in commit 861d2107
"drm/nouveau/fb: merge fb/vram and port to subdev interfaces"

nv50_fb_vram_{new,del} functions were changed to use
nouveau_subdev->mutex instead of the old nouveau_mm->mutex.
nvc0_fb_vram_new still uses the nouveau_mm->mutex, but nvc0 doesn't
have its own fb_vram_del function, using nv50_fb_vram_del instead.
Because of this, on nvc0 a different mutex ends up being used to protect
additions and deletions to the same list.

This patch is a -stable candidate for 3.7.

Signed-off-by: Aleksi Torhamo <aleksi@torhamo.net>
Reported-by: Roy Spliet <r.spliet@student.tudelft.nl>
Tested-by: Roy Spliet <r.spliet@student.tudelft.nl>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Cc: stable@vger.kernel.org
2013-01-13 18:07:46 +10:00
..
core drm/nouveau: fix nouveau_client allocation failure path 2013-01-13 18:07:44 +10:00
engine drm/nv50/disp: fix selection of bios script for analog outputs 2013-01-13 18:07:45 +10:00
include drm/nouveau/clock: fix support for more than 2 monitors on nve0 2013-01-13 18:07:46 +10:00
subdev drm/nvc0/fb: fix crash when different mutex is used to protect same list 2013-01-13 18:07:46 +10:00
os.h drm/nouveau/mxm: split up into bios code and a subdev module 2012-10-03 13:12:57 +10:00