linux/drivers/gpu/drm/virtio
Sergey Senozhatsky ea86f3defd drm/virtio: use kvmalloc for large allocations
We observed that some of virtio_gpu_object_shmem_init() allocations
can be rather costly - order 6 - which can be difficult to fulfill
under memory pressure conditions. Switch to kvmalloc_array() in
virtio_gpu_object_shmem_init() and let the kernel vmalloc the entries
array.

Signed-off-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20201105014744.1662226-1-senozhatsky@chromium.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2020-11-05 12:33:26 +01:00
..
Kconfig drm: virtio: fix kconfig dependency warning 2020-08-31 08:55:02 +02:00
Makefile drm/virtio: implement blob resources: implement vram object 2020-09-29 11:23:33 +02:00
virtgpu_debugfs.c drm/virtio: implement blob resources: implement vram object 2020-09-29 11:23:33 +02:00
virtgpu_display.c drm/atomic: Pass the full state to CRTC atomic begin and flush 2020-11-02 12:37:49 +01:00
virtgpu_drv.c drm/virtio: implement blob resources: probe for the feature. 2020-09-29 11:23:20 +02:00
virtgpu_drv.h drm/virtio: implement blob resources: resource create blob ioctl 2020-09-29 11:23:51 +02:00
virtgpu_fence.c
virtgpu_gem.c drm/virtio: Use struct_size() helper in kmalloc() 2020-08-17 13:08:43 +02:00
virtgpu_ioctl.c drm/virtio: advertise features to userspace 2020-09-29 11:23:57 +02:00
virtgpu_kms.c drm/virtio: implement blob resources: implement vram object 2020-09-29 11:23:33 +02:00
virtgpu_object.c drm/virtio: use kvmalloc for large allocations 2020-11-05 12:33:26 +01:00
virtgpu_plane.c drm/virtio: implement blob resources: blob display integration 2020-09-29 11:23:42 +02:00
virtgpu_prime.c drm/virtio: implement blob resources: refactor UUID code somewhat 2020-09-29 11:23:45 +02:00
virtgpu_trace_points.c
virtgpu_trace.h
virtgpu_vq.c Merge drm/drm-next into drm-misc-next 2020-11-02 11:17:54 +01:00
virtgpu_vram.c drm/virtio: implement blob resources: resource create blob ioctl 2020-09-29 11:23:51 +02:00