mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
gpu: host1x: Revert fix for BO caching
A proper fix has been created for the BO caching for host1x that has been submitted upstream and so revert this change. Bug 3556250 Change-Id: Ic712befb2c5f987df348d5406446bcbad8e88a4d Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2693867 Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com> Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com> GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
Laxman Dewangan
parent
dae057752c
commit
64b7110c1d
@@ -938,6 +938,9 @@ struct host1x_bo_mapping *host1x_bo_pin(struct device *dev, struct host1x_bo *bo
|
||||
mapping->cache = cache;
|
||||
|
||||
list_add_tail(&mapping->entry, &cache->mappings);
|
||||
|
||||
/* bump reference count to track the copy in the cache */
|
||||
kref_get(&mapping->ref);
|
||||
}
|
||||
|
||||
unlock:
|
||||
|
||||
Reference in New Issue
Block a user