drm/tegra: Add PRIME support
authorThierry Reding <treding@nvidia.com>
Thu, 12 Dec 2013 09:00:43 +0000 (10:00 +0100)
committerThierry Reding <treding@nvidia.com>
Fri, 20 Dec 2013 14:56:07 +0000 (15:56 +0100)
commit3800391db1b22a7f5d5ae92f9c54fa00327d682a
tree8f2ca9de23c23292f7f5e8ba08202d16a3a25b8f
parent72d302861530bcdb780ea57ebfc3dff6ec4f802c
drm/tegra: Add PRIME support

Implement very basic PRIME support. This currently only works with
buffers that are contiguous in memory and will refuse to import any
physically non-contiguous buffers.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/drm.c
drivers/gpu/drm/tegra/gem.c
drivers/gpu/drm/tegra/gem.h