diff options
| author | 2015-04-08 18:08:13 +0900 | |
|---|---|---|
| committer | 2015-07-27 18:56:07 +1000 | |
| commit | a67e14b0b6e35355411a4f2b05f8d087a196dac9 (patch) | |
| tree | 40ba121962843e8bbf746218a1f13e411008ce3c /drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | |
| parent | drm/nouveau: Do not leak client objects (diff) | |
| download | linux-dev-a67e14b0b6e35355411a4f2b05f8d087a196dac9.tar.xz linux-dev-a67e14b0b6e35355411a4f2b05f8d087a196dac9.zip | |
drm/nouveau/platform: fix compile error if !CONFIG_IOMMU
The lack of IOMMU API support can make nouveau_platform_probe_iommu()
fail to compile because struct iommu_ops is then empty. Fix this by
skipping IOMMU probe in that case - lack of IOMMU on platform devices
is sub-optimal, but is not an error.
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c')
0 files changed, 0 insertions, 0 deletions
