diff options
author | Joerg Roedel <jroedel@suse.de> | 2015-08-17 14:16:59 +0200 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2015-08-17 14:16:59 +0200 |
commit | 54e466fde4816455cc5b1893b73c2f3c7ca52e49 (patch) | |
tree | 402e1f22e0053ed4ee8155a5408bd0b1eac11113 /include | |
parent | Linux 4.2-rc7 (diff) | |
parent | iommu/tegra-smmu: Parameterize number of TLB lines (diff) | |
download | linux-54e466fde4816455cc5b1893b73c2f3c7ca52e49.tar.xz linux-54e466fde4816455cc5b1893b73c2f3c7ca52e49.zip |
Merge tag 'tegra-for-4.3-iommu' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux into arm/tegra
iommu/tegra-smmu: Changes for v4.3-rc1
A bunch of improvements by Russell King, along with a fix to restore
display support when using the SMMU. This was due to the SMMU driver
writing the wrong value of active TLB lines, effectively disabling the
TLB and causing massive underflows on the display controller because
of the latency introduced by the SMMU.
Diffstat (limited to 'include')
-rw-r--r-- | include/soc/tegra/mc.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/include/soc/tegra/mc.h b/include/soc/tegra/mc.h index 1ab2813273cd..8cb3a7ecd6f8 100644 --- a/include/soc/tegra/mc.h +++ b/include/soc/tegra/mc.h @@ -51,11 +51,6 @@ struct tegra_smmu_swgroup { unsigned int reg; }; -struct tegra_smmu_ops { - void (*flush_dcache)(struct page *page, unsigned long offset, - size_t size); -}; - struct tegra_smmu_soc { const struct tegra_mc_client *clients; unsigned int num_clients; @@ -66,9 +61,8 @@ struct tegra_smmu_soc { bool supports_round_robin_arbitration; bool supports_request_limit; + unsigned int num_tlb_lines; unsigned int num_asids; - - const struct tegra_smmu_ops *ops; }; struct tegra_mc; |