linux-stable/drivers/gpu/drm/nouveau/dispnv04
Ilia Mirkin bd6e07e72f drm/nouveau/kms/nv04: use vzalloc for nv04_display
The struct is giant, and triggers an order-7 allocation (512K). There is
no reason for this to be kmalloc-type memory, so switch to vmalloc. This
should help loading nouveau on low-memory and/or long-running systems.

Reported-by: Nathan E. Egge <unlord@xiph.org>
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: stable@vger.kernel.org
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Link: https://gitlab.freedesktop.org/drm/nouveau/-/merge_requests/10
2021-11-12 23:46:04 +01:00
..
arb.c drm/nouveau: Remove references to struct drm_device.pdev 2021-01-13 09:04:04 +01:00
crtc.c drm/nouveau: stop using TTM placement flags 2020-09-11 13:31:23 +02:00
cursor.c
dac.c drm/nouveau/kms: Search for encoders' connectors properly 2020-08-31 19:10:08 -04:00
dfp.c drm/nouveau: Remove references to struct drm_device.pdev 2021-01-13 09:04:04 +01:00
disp.c drm/nouveau/kms/nv04: use vzalloc for nv04_display 2021-11-12 23:46:04 +01:00
disp.h drm/nouveau: Remove references to struct drm_device.pdev 2021-01-13 09:04:04 +01:00
hw.c drm/nouveau: Remove references to struct drm_device.pdev 2021-01-13 09:04:04 +01:00
hw.h
Kbuild
nvreg.h
overlay.c drm/nouveau: stop using TTM placement flags 2020-09-11 13:31:23 +02:00
tvmodesnv17.c
tvnv04.c drm/nouveau/kms: Search for encoders' connectors properly 2020-08-31 19:10:08 -04:00
tvnv17.c drm/nouveau/kms: Search for encoders' connectors properly 2020-08-31 19:10:08 -04:00
tvnv17.h