diff options
author | Peter Daifuku <pdaifuku@nvidia.com> | 2017-04-06 19:39:30 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-04-19 18:44:12 -0400 |
commit | 0d8f5f3fdb87b818b6239efaf91822c01cb3d859 (patch) | |
tree | 29a00ecfe46c35b853da0a9c5846f33f53461f3e /drivers/gpu/nvgpu/gk20a/mm_gk20a.h | |
parent | 6df49a63ca5f9d77a6d7d6c7dbaaa0fba1b707ca (diff) |
gpu: nvgpu: ModeE perfbuffer feature development
perfbuf mapping fixes:
- Allocate VM specifically for perfbuf use: using the PMU's
results in mmu faults for larger buffers where 64k pages are used.
- Make 4GB boundary check work for large address spaces
- remove requirement to have allow_all flag set
- track perfbuf ownership and clean up appropriately
Bug 1880196
JIRA EVLR-1074
Change-Id: Ieee4eb17b64acf9b6ede37bf8e6a91892cda4a7e
Signed-off-by: Peter Daifuku <pdaifuku@nvidia.com>
Reviewed-on: http://git-master/r/1460809
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/mm_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/mm_gk20a.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h index dfdaa164..7fac811e 100644 --- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h | |||
@@ -363,6 +363,11 @@ struct mm_gk20a { | |||
363 | 363 | ||
364 | struct { | 364 | struct { |
365 | struct vm_gk20a vm; | 365 | struct vm_gk20a vm; |
366 | struct nvgpu_mem inst_block; | ||
367 | } perfbuf; | ||
368 | |||
369 | struct { | ||
370 | struct vm_gk20a vm; | ||
366 | } cde; | 371 | } cde; |
367 | 372 | ||
368 | struct { | 373 | struct { |