aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/lima/lima_sched.c
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2021-03-07 17:48:53 +0000
committerKarol Herbst <[email protected]>2021-11-12 22:46:04 +0000
commitbd6e07e72f37f34535bec7eebc807e5fcfe37b43 (patch)
tree2d53b599ee1808c42d61ca077e6ba32b300e2f4c /drivers/gpu/drm/lima/lima_sched.c
parentnouveau/nvkm/subdev/devinit/mcp89.c:Unneeded variable (diff)
downloadkernel-bd6e07e72f37f34535bec7eebc807e5fcfe37b43.tar.gz
kernel-bd6e07e72f37f34535bec7eebc807e5fcfe37b43.zip
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 <[email protected]> Signed-off-by: Ilia Mirkin <[email protected]> Cc: [email protected] Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Karol Herbst <[email protected]> Signed-off-by: Karol Herbst <[email protected]> Link: https://gitlab.freedesktop.org/drm/nouveau/-/merge_requests/10
Diffstat (limited to 'drivers/gpu/drm/lima/lima_sched.c')
0 files changed, 0 insertions, 0 deletions