aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clocksource
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2019-12-03 17:19:08 +0100
committerThierry Reding <treding@nvidia.com>2019-12-04 13:36:23 +0100
commit49f821919bb9d45de7f1cde6072de01d36235b5d (patch)
tree8f12ee098efe70df2c5c9823477ef4860fff7a10 /drivers/clocksource
parentdrm/tegra: gem: Properly pin imported buffers (diff)
downloadlinux-dev-49f821919bb9d45de7f1cde6072de01d36235b5d.tar.xz
linux-dev-49f821919bb9d45de7f1cde6072de01d36235b5d.zip
drm/tegra: gem: Remove premature import restrictions
All the display related blocks on Tegra require contiguous memory. Using the DMA API, there is no knowing at import time which device will end up using the buffer, so it's not known whether or not an IOMMU will be used to map the buffer. Move the check for non-contiguous buffers/mappings to the tegra_dc_pin() function which is now the earliest point where it is known if a DMA BUF can be used by the given device or not. v2: add check for contiguous buffer/mapping in tegra_dc_pin() Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/clocksource')
0 files changed, 0 insertions, 0 deletions