android_kernel_sony_sdm845/include/drm
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Angelo G. Del Regno 24b59982a7 treewide: Backport new vmalloc for large performance benefits
This is a backport from Linux 5.2-rc1 of a patch series to greatly enhance vmalloc's performance
especially on embedded systems, plus all of its dependencies that were missing in kernel 4.9.

For all the informations, refer to LKML: https://lkml.org/lkml/2018/10/19/786

Brief informations:
Currently an allocation of the new VA area is done over busy list iteration until a suitable hole
is found between two busy areas. Therefore each new allocation causes the list being grown.
Due to long list and different permissive parameters an allocation can take a long time on
embedded devices(milliseconds).

This patch organizes the vmalloc memory layout into free areas of the VMALLOC_START-VMALLOC_END range.
It uses a red-black tree that keeps blocks sorted by their offsets in pair with linked list
keeping the free space in order of increasing addresses.

Quote Phoronix:
With this patch from Uladzislau Rezki, calling vmalloc() can take up to 67% less time compared
to the behavior on Linux 5.1 and prior, at least with tests done by the developer under QEMU.

Personal tests are showing that the device is more responsive when memory pressure is
high and when huge allocations are to be done, it's also noticeably faster in this case, like
when starting Chrome with more than 100 opened tabs after a system reboot (so, an
uncached complete load of it).

Shameless kanged from:
https://github.com/sonyxperiadev/kernel / Pull Request 2016

Signed-off-by: sweetyicecare <gabrielseedev@outlook.com>
Signed-off-by: Aoihara <veronicadisa6@gmail.com>
Signed-off-by: KangMamles <imzea69@gmail.com>
Signed-off-by: Sorayukii <sorayukii69@gmail.com>
2026-05-15 17:48:25 +07:00
..
bridge
i2c
ttm
ati_pcigart.h
drm_agpsupport.h
drm_atomic.h drm/atomic: Add macros to access existing old/new state, v2. 2021-09-27 06:18:13 -07:00
drm_atomic_helper.h
drm_auth.h
drm_blend.h drm: Add DRM_MODE_ROTATE_ and DRM_MODE_REFLECT_ to UAPI 2021-09-27 05:59:33 -07:00
drm_bridge.h
drm_cache.h drm: disable uncached DMA optimization for ARM and arm64 2019-03-13 14:05:01 -07:00
drm_client.h drm/client: Hack: Add bootsplash example 2021-10-06 10:36:27 -07:00
drm_color_mgmt.h
drm_connector.h drm: include function pointer for vmap 2021-10-06 10:36:09 -07:00
drm_crtc.h
drm_crtc_helper.h
drm_displayid.h
drm_dp_dual_mode_helper.h
drm_dp_helper.h drm/dp: handle power state transitions 2022-01-11 22:38:13 +05:30
drm_dp_mst_helper.h drm: mst: Fix query_payload ack reply struct 2020-01-04 13:39:00 +01:00
drm_edid.h Merge remote-tracking branch 'common/android-4.9-q' into android12-4.9-sdm845 2022-07-18 14:05:31 +03:00
drm_encoder.h
drm_encoder_slave.h
drm_fb_cma_helper.h
drm_fb_helper.h
drm_fixed.h
drm_flip_work.h
drm_fourcc.h
drm_framebuffer.h drm/framebuffer: Print task that allocated the fb in debug info. 2021-09-27 05:21:22 -07:00
drm_gem.h
drm_gem_cma_helper.h
drm_global.h
drm_hashtab.h
drm_irq.h
drm_legacy.h
drm_mem_util.h treewide: Backport new vmalloc for large performance benefits 2026-05-15 17:48:25 +07:00
drm_mipi_dsi.h drm/msm/dsi-staging: add support to wait post dsi command rx 2018-05-09 15:47:57 +05:30
drm_mm.h
drm_mode_object.h
drm_modes.h drm/modes: Introduce drm_mode_match() 2021-09-27 06:21:48 -07:00
drm_modeset_helper.h
drm_modeset_helper_vtables.h
drm_modeset_lock.h
drm_of.h
drm_os_linux.h
drm_panel.h
drm_pciids.h
drm_plane.h
drm_plane_helper.h
drm_property.h
drm_rect.h
drm_simple_kms_helper.h
drm_sysfs.h
drm_vma_manager.h drm/i915: Prevent writing into a read-only object via a GGTT mmap 2019-11-12 19:16:16 +01:00
drmP.h drm: move drv test macros out of drmP.h 2021-09-27 06:19:04 -07:00
gma_drm.h
i915_component.h
i915_drm.h
i915_pciids.h
intel-gtt.h