File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -1093,6 +1093,10 @@ static bool host1x_drm_wants_iommu(struct host1x_device *dev)
1093
1093
struct host1x * host1x = dev_get_drvdata (dev -> dev .parent );
1094
1094
struct iommu_domain * domain ;
1095
1095
1096
+ /* Our IOMMU usage policy doesn't currently play well with GART */
1097
+ if (of_machine_is_compatible ("nvidia,tegra20" ))
1098
+ return false;
1099
+
1096
1100
/*
1097
1101
* If the Tegra DRM clients are backed by an IOMMU, push buffers are
1098
1102
* likely to be allocated beyond the 32-bit boundary if sufficient
Original file line number Diff line number Diff line change @@ -292,6 +292,10 @@ static void host1x_setup_virtualization_tables(struct host1x *host)
292
292
293
293
static bool host1x_wants_iommu (struct host1x * host1x )
294
294
{
295
+ /* Our IOMMU usage policy doesn't currently play well with GART */
296
+ if (of_machine_is_compatible ("nvidia,tegra20" ))
297
+ return false;
298
+
295
299
/*
296
300
* If we support addressing a maximum of 32 bits of physical memory
297
301
* and if the host1x firewall is enabled, there's no need to enable
You can’t perform that action at this time.
0 commit comments