diff options
author | Paul Cercueil <paul@crapouillou.net> | 2021-05-23 20:04:15 +0300 |
---|---|---|
committer | Paul Cercueil <paul@crapouillou.net> | 2021-05-25 13:42:53 +0300 |
commit | 4a791cb6d34f42ef9aa7a65f2ba5aa19644c53a7 (patch) | |
tree | fe27ea3843cf0efd1c33fb37620331dc684c8478 /drivers/pinctrl/sprd | |
parent | b09069046d6b7df1deea02cc14dc893e5e96630a (diff) | |
download | linux-4a791cb6d34f42ef9aa7a65f2ba5aa19644c53a7.tar.xz |
drm/ingenic: Add option to alloc cached GEM buffers
Alloc GEM buffers backed by noncoherent memory on SoCs where it is
actually faster than write-combine.
This dramatically speeds up software rendering on these SoCs, even for
tasks where write-combine memory should in theory be faster (e.g. simple
blits).
v3: The option is now selected per-SoC instead of being a module
parameter.
v5: - Fix drm_atomic_get_new_plane_state() used to retrieve the old
state
- Use custom drm_gem_fb_create()
- Only check damage clips and sync DMA buffers if non-coherent
buffers are used
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20210523170415.90410-4-paul@crapouillou.net
Diffstat (limited to 'drivers/pinctrl/sprd')
0 files changed, 0 insertions, 0 deletions