From: Emil Velikov Date: Thu, 25 Aug 2011 20:36:51 +0000 (+0100) Subject: drm/nv04/crtc: Bail out if FB is not bound to crtc X-Git-Tag: v3.1-rc6~1^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e83bb4eee1c504ab98367b4f7d1bc337ab213d2;p=pandora-kernel.git drm/nv04/crtc: Bail out if FB is not bound to crtc This commit resolves a possible 'NULL pointer dereference' It uses the same approach as radeon, intel and nouveau/nv50 Fixes bug 'Nouveau: Kernel oops when unplugging external monitor' https://bugs.freedesktop.org/show_bug.cgi?id=40336 Signed-off-by: Emil Velikov Signed-off-by: Ben Skeggs --- Reading git-diff-tree failed