linux/drivers/gpu/drm/nouveau
Ilia Mirkin 72de182362 drm/nouveau/mxm: fix null deref on load
Since commit 61b365a505 ("drm/nouveau: populate master subdev pointer
only when fully constructed"), the nouveau_mxm(bios) call will return
NULL, since it's still being called from the constructor.  Instead, pass
the mxm pointer via the unused data field.

See https://bugs.freedesktop.org/show_bug.cgi?id=73791

Reported-by: Andreas Reis <andreas.reis@gmail.com>
Tested-by: Andreas Reis <andreas.reis@gmail.com>
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: Ben Skeggs <bskeggs@redhat.com>
Cc: Dave Airlie <airlied@linux.ie>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-01-19 18:28:30 -08:00
..
core drm/nouveau/mxm: fix null deref on load 2014-01-19 18:28:30 -08:00
dispnv04 drm/nouveau: fix null ptr dereferences on some boards 2014-01-15 14:24:05 +10:00
Kconfig
Makefile drm/nouveau/clk: Add support for NVAA/NVAC 2013-12-03 23:28:56 +10:00
nouveau_abi16.c drm/nouveau: return offset of allocated notifier 2014-01-07 13:38:06 +10:00
nouveau_abi16.h
nouveau_acpi.c ACPIPHP / radeon / nouveau: Fix VGA switcheroo problem related to hotplug 2013-12-31 13:39:42 +01:00
nouveau_acpi.h
nouveau_agp.c drm/nouveau/agp: add a quirk list to limit agp modes 2013-11-08 15:39:54 +10:00
nouveau_agp.h
nouveau_backlight.c
nouveau_bios.c
nouveau_bios.h
nouveau_bo.c drm/nouveau: do not map evicted vram buffers in nouveau_bo_vma_add 2013-11-14 14:57:09 +10:00
nouveau_bo.h
nouveau_chan.c drm/nv10-: we no longer need to create nvsw object on user channels 2013-11-14 14:56:43 +10:00
nouveau_chan.h
nouveau_connector.c drm/nv10: introduce a new NV_11 card type 2013-11-08 15:37:35 +10:00
nouveau_connector.h drm/nouveau: remove prototype for non-existent nouveau_connector_bpp 2013-11-08 15:36:08 +10:00
nouveau_crtc.h
nouveau_debugfs.c
nouveau_debugfs.h
nouveau_display.c drm/nouveau/nouveau: fix memory leak in nouveau_crtc_page_flip() 2014-01-08 16:17:48 +10:00
nouveau_display.h drm/nouveau/core: convert event handler apis to split create/enable semantics 2013-11-08 15:36:06 +10:00
nouveau_dma.c
nouveau_dma.h drm/nvc0-: remove nasty fifo swmthd hack for flip completion method 2013-11-14 14:56:51 +10:00
nouveau_dp.c
nouveau_drm.c drm/nouveau: only runtime suspend by default in optimus configuration 2013-12-16 12:43:55 +10:00
nouveau_drm.h drm/nv10-: we no longer need to create nvsw object on user channels 2013-11-14 14:56:43 +10:00
nouveau_encoder.h
nouveau_fbcon.c drm/nouveau/fbcon: bracket entrypoints with a per-device enabled check 2013-11-08 15:39:56 +10:00
nouveau_fbcon.h
nouveau_fence.c drm/nouveau: allow nouveau_fence_ref() to be a noop 2013-11-14 14:55:06 +10:00
nouveau_fence.h
nouveau_gem.c drm/nouveau: when bailing out of a pushbuf ioctl, do not remove previous fence 2013-11-14 14:55:06 +10:00
nouveau_gem.h
nouveau_hwmon.c drm/nouveau/hwmon: fix compilation without CONFIG_HWMON 2013-11-28 14:38:09 +10:00
nouveau_hwmon.h drm/nouveau/drm/pm: remove everything except the hwmon interfaces to THERM 2013-11-08 15:40:00 +10:00
nouveau_ioc32.c
nouveau_ioctl.h
nouveau_prime.c
nouveau_reg.h
nouveau_sgdma.c
nouveau_sysfs.c drm/nouveau: implement a simple sysfs interface to new pm code 2013-11-08 15:40:18 +10:00
nouveau_sysfs.h drm/nouveau: implement a simple sysfs interface to new pm code 2013-11-08 15:40:18 +10:00
nouveau_ttm.c
nouveau_ttm.h
nouveau_vga.c
nouveau_vga.h
nv04_fbcon.c drm/nv11-: synchronise flips to vblank, unless async flip requested 2013-11-14 14:56:56 +10:00
nv04_fence.c
nv10_fence.c
nv10_fence.h
nv17_fence.c
nv50_display.c drm/nv50/disp: min/max are reversed in nv50_crtc_gamma_set() 2013-12-03 23:28:58 +10:00
nv50_display.h
nv50_fbcon.c
nv50_fence.c
nv84_fence.c
nvc0_fbcon.c
nvc0_fence.c