diff options
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu')
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/mm_vgpu.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/mm_vgpu.c b/drivers/gpu/nvgpu/vgpu/mm_vgpu.c index eb5f7749..c6780cf7 100644 --- a/drivers/gpu/nvgpu/vgpu/mm_vgpu.c +++ b/drivers/gpu/nvgpu/vgpu/mm_vgpu.c | |||
@@ -497,18 +497,10 @@ static void vgpu_mm_l2_flush(struct gk20a *g, bool invalidate) | |||
497 | 497 | ||
498 | static void vgpu_mm_tlb_invalidate(struct vm_gk20a *vm) | 498 | static void vgpu_mm_tlb_invalidate(struct vm_gk20a *vm) |
499 | { | 499 | { |
500 | struct gk20a *g = gk20a_from_vm(vm); | ||
501 | struct tegra_vgpu_cmd_msg msg; | ||
502 | struct tegra_vgpu_as_invalidate_params *p = &msg.params.as_invalidate; | ||
503 | int err; | ||
504 | |||
505 | gk20a_dbg_fn(""); | 500 | gk20a_dbg_fn(""); |
506 | 501 | ||
507 | msg.cmd = TEGRA_VGPU_CMD_AS_INVALIDATE; | 502 | gk20a_err(dev_from_vm(vm), "%s: call to RM server not supported", |
508 | msg.handle = vgpu_get_handle(g); | 503 | __func__); |
509 | p->handle = vm->handle; | ||
510 | err = vgpu_comm_sendrecv(&msg, sizeof(msg), sizeof(msg)); | ||
511 | WARN_ON(err || msg.ret); | ||
512 | } | 504 | } |
513 | 505 | ||
514 | static void vgpu_mm_mmu_set_debug_mode(struct gk20a *g, bool enable) | 506 | static void vgpu_mm_mmu_set_debug_mode(struct gk20a *g, bool enable) |