diff options
author | Mahantesh Kumbar <mkumbar@nvidia.com> | 2017-10-04 10:11:04 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-10-21 20:34:34 -0400 |
commit | 2904e3ac0081d4e898378f6ba667658c85547368 (patch) | |
tree | 856be258a7c213c8f03179218e2111bf8bc6e6bf /drivers/gpu/nvgpu/gv11b/hal_gv11b.c | |
parent | 324cf7b49e83f9641fde7ba97958b085da615d78 (diff) |
gpu: nvgpu: gv100 memory unlock support
- Added method to load mem unlock binary into
nvdec falcon & execute to perform mem unlock
if VPR enabled.
- Updated .mem_unlock gv100 HAL to point
method gv100_fb_memory_unlock().
- Updated .mem_unlock gv11b HAL to NULL.
- Added vpr info hw registers
- Added nvdec enable hw register
Change-Id: Ia4bf820ae103baede679d300d1d390fd748c919a
Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com>
(cherry picked from commit 2e176ad9d47316bf4d001692a2ae07e6c1fb1ccb)
Reviewed-on: https://git-master.nvidia.com/r/1573101
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/hal_gv11b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/hal_gv11b.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c index 22beabf7..729727c9 100644 --- a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c | |||
@@ -385,6 +385,7 @@ static const struct gpu_ops gv11b_ops = { | |||
385 | .set_debug_mode = gm20b_fb_set_debug_mode, | 385 | .set_debug_mode = gm20b_fb_set_debug_mode, |
386 | .tlb_invalidate = gk20a_fb_tlb_invalidate, | 386 | .tlb_invalidate = gk20a_fb_tlb_invalidate, |
387 | .hub_isr = gv11b_fb_hub_isr, | 387 | .hub_isr = gv11b_fb_hub_isr, |
388 | .mem_unlock = NULL, | ||
388 | }, | 389 | }, |
389 | .clock_gating = { | 390 | .clock_gating = { |
390 | .slcg_bus_load_gating_prod = | 391 | .slcg_bus_load_gating_prod = |