1
linux/drivers/gpu/drm/nouveau
Emil Velikov 0e83bb4eee 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 <emil.l.velikov@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2011-09-09 17:24:21 +10:00
..
Kconfig drm: fix nouveau_acpi build 2011-05-16 11:57:20 +10:00
Makefile drm/nv50: rename nv84_mpeg to nv50_mpeg 2011-05-16 10:49:04 +10:00
nouveau_acpi.c drm/nouveau: drop leftover debugging 2011-06-20 15:27:18 +10:00
nouveau_backlight.c
nouveau_bios.c drm/nouveau: Add a quirk for Gigabyte NX86T 2011-07-25 09:41:29 +10:00
nouveau_bios.h drm/nouveau: recognise DCB connector type 0x41 as LVDS 2011-05-16 10:50:13 +10:00
nouveau_bo.c drm/nouveau: remove implicit mapping of every bo into chan_vm 2011-06-23 16:00:42 +10:00
nouveau_calc.c
nouveau_channel.c drm/nouveau: remove 'chan' argument from nouveau_bo_new 2011-06-23 16:00:37 +10:00
nouveau_connector.c drm/nouveau: ignore connector type when deciding digital/analog on DVI-I 2011-07-25 09:41:34 +10:00
nouveau_connector.h
nouveau_crtc.h
nouveau_debugfs.c
nouveau_display.c drm/nouveau: remove remnants of nouveau_pgraph_engine 2011-05-16 10:48:45 +10:00
nouveau_dma.c drm/nv50-nvc0: lookup pushbuf virtual address on dma_push 2011-06-23 16:00:22 +10:00
nouveau_dma.h
nouveau_dp.c
nouveau_drv.c drm/nouveau: pass flag to engine fini() method on suspend 2011-07-25 09:43:22 +10:00
nouveau_drv.h drm/nouveau: pass flag to engine fini() method on suspend 2011-07-25 09:43:22 +10:00
nouveau_encoder.h
nouveau_fb.h drm/nv50-nvc0: explicitly map fbcon fb into channel vm 2011-06-23 15:59:59 +10:00
nouveau_fbcon.c drm/nv50-nvc0: explicitly map fbcon fb into channel vm 2011-06-23 15:59:59 +10:00
nouveau_fbcon.h
nouveau_fence.c drm/nouveau: fix oops on pre-semaphore hardware 2011-09-09 17:24:00 +10:00
nouveau_gem.c drm/nouveau: fix nouveau_vma object leak 2011-06-27 09:20:12 +10:00
nouveau_grctx.h drm/nouveau: Fix missing whitespace checkpatch.pl errors. 2011-05-16 10:47:25 +10:00
nouveau_hw.c drm/nv17-nv40: Fix modesetting failure when pitch == 4096px (fdo bug 35901). 2011-06-07 09:22:29 +10:00
nouveau_hw.h
nouveau_i2c.c
nouveau_i2c.h
nouveau_ioc32.c
nouveau_irq.c drm/nouveau: detect disabled device in irq handler and return IRQ_NONE 2011-07-25 09:42:09 +10:00
nouveau_mem.c DRM: remove drm_pci_device_is_pcie 2011-07-13 08:14:52 +01:00
nouveau_mm.c drm/nouveau: add some debug output if nouveau_mm busy at destroy time 2011-06-23 16:00:55 +10:00
nouveau_mm.h drm/nouveau: rework vram init/fini ordering a little 2011-06-23 16:03:46 +10:00
nouveau_notifier.c drm/nv50-nvc0: explicitly map notifier bo into channel vm 2011-06-23 16:00:04 +10:00
nouveau_object.c drm/nouveau: fix off-by-one 2011-06-23 16:04:53 +10:00
nouveau_perf.c drm/nouveau/pm: Prevent overflow in nouveau_perf_init() 2011-06-18 14:38:38 +10:00
nouveau_pm.c drm/nouveau: Associate memtimings with performance levels on cards <= nv98 2011-05-16 10:50:30 +10:00
nouveau_pm.h
nouveau_ramht.c
nouveau_ramht.h
nouveau_reg.h drm/nouveau: Fix missing whitespace checkpatch.pl errors. 2011-05-16 10:47:25 +10:00
nouveau_sgdma.c drm/nouveau: fix nv04_sgdma_bind on non-"4kB pages" archs 2011-09-09 17:24:10 +10:00
nouveau_state.c Merge branch 'drm-nouveau-next' of git://anongit.freedesktop.org/git/nouveau/linux-2.6 into drm-core-next 2011-07-25 10:15:18 +01:00
nouveau_temp.c drm/nouveau/temp: Add default calibration values for nv67 2011-06-23 16:04:48 +10:00
nouveau_ttm.c
nouveau_util.c
nouveau_util.h
nouveau_vm.c drm/nouveau: shut lockdep up if last vm ref needs to destroy pgd 2011-06-23 16:01:52 +10:00
nouveau_vm.h drm/nouveau: remove implicit mapping of every bo into chan_vm 2011-06-23 16:00:42 +10:00
nouveau_volt.c drm/nouveau: use static vidshift of 2 on volt 0x30 tables 2011-05-16 10:47:47 +10:00
nv04_crtc.c drm/nv04/crtc: Bail out if FB is not bound to crtc 2011-09-09 17:24:21 +10:00
nv04_cursor.c
nv04_dac.c
nv04_dfp.c drm/nouveau: fix oops on unload with disabled LVDS panel 2011-04-05 11:07:05 +10:00
nv04_display.c
nv04_fb.c
nv04_fbcon.c
nv04_fifo.c
nv04_graph.c drm/nouveau/gr: disable fifo access and idle before suspend ctx unload 2011-07-25 09:43:38 +10:00
nv04_instmem.c DRM: remove drm_pci_device_is_pcie 2011-07-13 08:14:52 +01:00
nv04_mc.c
nv04_pm.c
nv04_timer.c
nv04_tv.c
nv10_fb.c
nv10_fifo.c
nv10_gpio.c
nv10_graph.c drm/nouveau/gr: disable fifo access and idle before suspend ctx unload 2011-07-25 09:43:38 +10:00
nv17_tv_modes.c
nv17_tv.c
nv17_tv.h
nv20_graph.c drm/nouveau/gr: disable fifo access and idle before suspend ctx unload 2011-07-25 09:43:38 +10:00
nv30_fb.c
nv40_fb.c
nv40_fifo.c drm/nv40/vpe: add support for PMPEG 2011-05-16 10:48:56 +10:00
nv40_graph.c drm/nouveau: pass flag to engine fini() method on suspend 2011-07-25 09:43:22 +10:00
nv40_grctx.c
nv40_mc.c
nv40_mpeg.c drm/nouveau: pass flag to engine fini() method on suspend 2011-07-25 09:43:22 +10:00
nv50_calc.c drm/nva3/clk: better pll calculation when no fractional fb div available 2011-05-16 10:50:59 +10:00
nv50_crtc.c drm/nv50/crtc: Bail out if FB is not bound to crtc 2011-09-09 17:23:56 +10:00
nv50_cursor.c
nv50_dac.c
nv50_display.c drm/nvc0: explicitly map PDISP semaphore buffer into each channel's vm 2011-06-23 16:00:27 +10:00
nv50_display.h
nv50_evo.c drm/nouveau: remove 'chan' argument from nouveau_bo_new 2011-06-23 16:00:37 +10:00
nv50_evo.h
nv50_fb.c
nv50_fbcon.c drm/nv50-nvc0: explicitly map fbcon fb into channel vm 2011-06-23 15:59:59 +10:00
nv50_fifo.c
nv50_gpio.c
nv50_graph.c Merge branch 'drm-core-next' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6 2011-07-26 09:21:09 -07:00
nv50_grctx.c drm/nouveau: Fix brace placement checkpatch.pl errors. 2011-05-16 10:47:19 +10:00
nv50_instmem.c drm/nouveau: will need to specify channel for vm-ful gpuobj allocations 2011-06-23 15:59:18 +10:00
nv50_mc.c
nv50_mpeg.c drm/nouveau: pass flag to engine fini() method on suspend 2011-07-25 09:43:22 +10:00
nv50_pm.c drm/nv50: improve nv50_pm_get_clock() 2011-05-16 10:49:41 +10:00
nv50_sor.c drm/nv50/dp: fix hack to work for macbooks booted via EFI 2011-07-25 09:40:41 +10:00
nv50_vm.c drm/nv50-nvc0/vm: don't touch chan_vm 2011-06-23 15:58:40 +10:00
nv50_vram.c drm/nouveau: rework vram init/fini ordering a little 2011-06-23 16:03:46 +10:00
nv84_crypt.c drm/nouveau: pass flag to engine fini() method on suspend 2011-07-25 09:43:22 +10:00
nva3_copy.c drm/nouveau: pass flag to engine fini() method on suspend 2011-07-25 09:43:22 +10:00
nva3_copy.fuc drm/nva3: implement support for copy engine 2011-05-16 10:48:48 +10:00
nva3_copy.fuc.h drm/nva3: implement support for copy engine 2011-05-16 10:48:48 +10:00
nva3_pm.c drm/nva3/clk: better pll calculation when no fractional fb div available 2011-05-16 10:50:59 +10:00
nvc0_copy.c drm/nouveau: pass flag to engine fini() method on suspend 2011-07-25 09:43:22 +10:00
nvc0_copy.fuc.h drm/nvc0: implement support for copy engines 2011-05-16 10:48:53 +10:00
nvc0_fb.c drm/nvc0/fb: allocate page for some unknown PFFB object 2011-06-23 15:56:59 +10:00
nvc0_fbcon.c drm/nv50-nvc0: explicitly map notifier bo into channel vm 2011-06-23 16:00:04 +10:00
nvc0_fifo.c drm/nvc0/fifo: fix typos in unload_context 2011-06-23 15:57:03 +10:00
nvc0_graph.c drm/nouveau: pass flag to engine fini() method on suspend 2011-07-25 09:43:22 +10:00
nvc0_graph.fuc drm/nvc0/gr: import and use our own fuc by default 2011-06-23 15:57:38 +10:00
nvc0_graph.h drm/nvc0/gr: calculate magicgpc918 ourselves 2011-06-23 15:57:48 +10:00
nvc0_grctx.c drm/nvc0/gr: fill in some more data for 0xc1/0xc8/0xce 2011-06-23 15:57:56 +10:00
nvc0_grgpc.fuc drm/nvc0/gr: import and use our own fuc by default 2011-06-23 15:57:38 +10:00
nvc0_grgpc.fuc.h drm/nvc0/gr: import and use our own fuc by default 2011-06-23 15:57:38 +10:00
nvc0_grhub.fuc drm/nvc0/gr: import and use our own fuc by default 2011-06-23 15:57:38 +10:00
nvc0_grhub.fuc.h drm/nvc0/gr: import and use our own fuc by default 2011-06-23 15:57:38 +10:00
nvc0_instmem.c drm/nvc0: enable per-client address spaces 2011-06-23 16:01:41 +10:00
nvc0_vm.c drm/nv50-nvc0/vm: don't touch chan_vm 2011-06-23 15:58:40 +10:00
nvc0_vram.c drm/nouveau: rework vram init/fini ordering a little 2011-06-23 16:03:46 +10:00
nvreg.h drm/nv17-nv40: Fix modesetting failure when pitch == 4096px (fdo bug 35901). 2011-06-07 09:22:29 +10:00