]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/nv50/crtc: Bail out if FB is not bound to crtc
authorEmil Velikov <emil.l.velikov@gmail.com>
Sun, 21 Aug 2011 21:48:12 +0000 (22:48 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 9 Sep 2011 07:23:56 +0000 (17:23 +1000)
commitffbc559b0699891c6deb9fd2b4750671eab94999
treeeeb1dce1e2a809138353fdba7f81ad2d210a47a1
parentddf28352b80c86754a6424e3a61e8bdf9213b3c7
drm/nv50/crtc: Bail out if FB is not bound to crtc

Fixes possbile NULL pointer dereference
Resolves 'kernel crash in nv50_crtc_do_mode_set_base during shutdown'
https://bugs.freedesktop.org/show_bug.cgi?id=40005

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nv50_crtc.c