• Thierry Reding's avatar
    drm/tegra: gem: Properly pin imported buffers · 1f16deac
    Thierry Reding authored
    Buffers that are imported from a DMA-BUF don't have pages allocated with
    them. At the same time an SG table for them can't be derived using the
    DMA API helpers because the necessary information doesn't exist. However
    there's already an SG table that was created during import, so this can
    simply be duplicated.
    Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
    1f16deac
gem.c 15.7 KB