diff options
author | Thierry Reding <treding@nvidia.com> | 2019-08-29 17:56:53 +0200 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2019-11-01 10:49:17 +0100 |
commit | c8a2036474882f478845c70c496c3e49635e34c2 (patch) | |
tree | 7a0297c8a868dd795c6e70669c2e679fa16857e4 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | |
parent | fa6661b7aa0b52073681b0d26742650c8cbd30f3 (diff) | |
download | linux-c8a2036474882f478845c70c496c3e49635e34c2.tar.bz2 |
gpu: host1x: Unconditionally select IOMMU_IOVA
Currently configurations can be generated where IOMMU_SUPPORT is
disabled but IOMMU_IOVA is built as a module and HOST1X as built-in. In
such a case, the symbols guarded by IOMMU_IOVA will not be available
when linking the host1x driver and cause a linking failure.
Simplify this by unconditionally selecting IOMMU_IOVA, which makes sure
that it will be forced to =y if HOST1X=y. Technically we can now get
IOMMU_IOVA code built-in even if we don't use it (host1x only uses it
when IOMMU_SUPPORT is also enabled), but such configuration are of a
mostly academic nature. In all practical configurations we want IOMMU
support anyway.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions