summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
diff options
context:
space:
mode:
authorJussi Rasanen <jrasanen@nvidia.com>2014-10-03 05:44:05 -0400
committerDan Willemsen <dwillemsen@nvidia.com>2015-03-18 15:12:06 -0400
commit529962911c2e9b5c4e3a95b6c78dba8f15447a93 (patch)
treee439afdb7203e0810e543711b4333ede8f002b31 /drivers/gpu/nvgpu/gk20a/mm_gk20a.h
parent6e22f39e8747a8ab9c720ef2e5236e5c94767f88 (diff)
gpu: nvgpu: cde: Combine H and V passes
When using CDE firmware v1, combine H and V swizzling passes into one pushbuffer submission. This removes one GPU context switch, almost halving the time taken for swizzling. Map only the compbit part of the destination surface. Bug 1546619 Change-Id: I95ed4e4c2eefd6d24a58854d31929cdb91ff556b Signed-off-by: Jussi Rasanen <jrasanen@nvidia.com> Reviewed-on: http://git-master/r/553234 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/mm_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/mm_gk20a.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
index 3f7042ee..efed79f8 100644
--- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
@@ -530,7 +530,7 @@ int gk20a_vm_map_buffer(struct gk20a_as_share *as_share,
530int gk20a_vm_unmap_buffer(struct gk20a_as_share *, u64 offset); 530int gk20a_vm_unmap_buffer(struct gk20a_as_share *, u64 offset);
531void gk20a_get_comptags(struct device *dev, struct dma_buf *dmabuf, 531void gk20a_get_comptags(struct device *dev, struct dma_buf *dmabuf,
532 struct gk20a_comptags *comptags); 532 struct gk20a_comptags *comptags);
533dma_addr_t gk20a_mm_gpuva_to_iova(struct vm_gk20a *vm, u64 gpu_vaddr); 533dma_addr_t gk20a_mm_gpuva_to_iova_base(struct vm_gk20a *vm, u64 gpu_vaddr);
534 534
535int gk20a_dmabuf_alloc_drvdata(struct dma_buf *dmabuf, struct device *dev); 535int gk20a_dmabuf_alloc_drvdata(struct dma_buf *dmabuf, struct device *dev);
536 536