]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: Implement buffer object cache
authorThierry Reding <treding@nvidia.com>
Fri, 7 Feb 2020 15:50:52 +0000 (16:50 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 16 Dec 2021 13:07:06 +0000 (14:07 +0100)
commit278f464eaa68a97e070676d303d6f1d3e434eeb6
tree8ef62c2b9b69fbf96e0cdad49362f2c4c17e0682
parent877c860f5addc9b15e5f6a873080d832cc311abb
drm/tegra: Implement buffer object cache

This cache is used to avoid mapping and unmapping buffer objects
unnecessarily. Mappings are cached per client and stay hot until
the buffer object is destroyed.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/gem.c
drivers/gpu/drm/tegra/plane.c
drivers/gpu/drm/tegra/submit.c
drivers/gpu/drm/tegra/uapi.c
drivers/gpu/host1x/bus.c
drivers/gpu/host1x/dev.c
drivers/gpu/host1x/dev.h
drivers/gpu/host1x/job.c
include/linux/host1x.h