From: Roy Spliet Date: Fri, 19 Jul 2013 21:59:12 +0000 (+0200) Subject: drm/nvc0/fb: take lock in nvc0_ram_put() X-Git-Tag: v3.11-rc4~18^2~2^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dedaa8f0e6967edb9127a6643d0259e794196ed2;p=pandora-kernel.git drm/nvc0/fb: take lock in nvc0_ram_put() Kernel panic caused by list corruption in ltcg seems to indicate a concurrency issue. Take mutex of pfb like nv50_ram_put() to eliminate concurrency. V2: Separate critical section into separate function, avoid taking the lock twice on NVC0 Signed-off-by: Roy Spliet Signed-off-by: Ben Skeggs --- Reading git-diff-tree failed