gpu: host1x: Support DMA mapping of buffers
If host1x_bo_pin() returns an SG table, create a DMA mapping for the
buffer. For buffers that the host1x client has already mapped itself,
host1x_bo_pin() returns NULL and the existing DMA address is used.
Signed-off-by:
Thierry Reding <treding@nvidia.com>
Showing
- drivers/gpu/drm/tegra/gem.c 15 additions, 3 deletionsdrivers/gpu/drm/tegra/gem.c
- drivers/gpu/host1x/dev.c 4 additions, 12 deletionsdrivers/gpu/host1x/dev.c
- drivers/gpu/host1x/job.c 64 additions, 9 deletionsdrivers/gpu/host1x/job.c
- drivers/gpu/host1x/job.h 4 additions, 0 deletionsdrivers/gpu/host1x/job.h
Loading
Please register or sign in to comment