]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/platform: probe IOMMU if present
authorAlexandre Courbot <acourbot@nvidia.com>
Fri, 20 Feb 2015 09:23:03 +0000 (18:23 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 14 Apr 2015 07:00:44 +0000 (17:00 +1000)
commite09cf7e6741ef241367f7cc331981d8a21c12723
tree85727259dfb9e87703762bcfc5f110c96c4b554c
parent343854f822ccaaa67827adc5f443c1f92eb2366e
drm/nouveau/platform: probe IOMMU if present

Tegra SoCs have an IOMMU that can be used to present non-contiguous
physical memory as contiguous to the GPU and maximize the use of large
pages in the GPU MMU, leading to performance gains. This patch adds
support for probing such a IOMMU if present and make its properties
available in the nouveau_platform_gpu structure so subsystems can take
advantage of it.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_platform.c
drivers/gpu/drm/nouveau/nouveau_platform.h