summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b/mm_gp10b.c
diff options
context:
space:
mode:
authorSeshendra Gadagottu <sgadagottu@nvidia.com>2015-02-06 15:39:05 -0500
committerDeepak Nibade <dnibade@nvidia.com>2016-12-27 04:52:04 -0500
commit8fe7abebbbbfdc8b1acedd41aa8ac1926a24dc93 (patch)
tree34d1179b51df7b1a94698eed1e8f6d98c8055add /drivers/gpu/nvgpu/gp10b/mm_gp10b.c
parent750014be79cce9562653db96e735f78fdc2e058f (diff)
gpu: nvgpu: gp10b: Add replayable pagefault buffer
Add support for replayable fault buffer and enable it. Bug 1587836 Change-Id: Iee4ba42ab175c0d72d2c041fdb3ac9d845358847 Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: http://git-master/r/661668 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/mm_gp10b.c')
-rw-r--r--drivers/gpu/nvgpu/gp10b/mm_gp10b.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/mm_gp10b.c b/drivers/gpu/nvgpu/gp10b/mm_gp10b.c
index 293eb999..65bc6cbc 100644
--- a/drivers/gpu/nvgpu/gp10b/mm_gp10b.c
+++ b/drivers/gpu/nvgpu/gp10b/mm_gp10b.c
@@ -17,6 +17,7 @@
17#include <linux/dma-mapping.h> 17#include <linux/dma-mapping.h>
18#include "gk20a/gk20a.h" 18#include "gk20a/gk20a.h"
19#include "mm_gp10b.h" 19#include "mm_gp10b.h"
20#include "rpfb_gp10b.h"
20#include "hw_ram_gp10b.h" 21#include "hw_ram_gp10b.h"
21#include "hw_bus_gp10b.h" 22#include "hw_bus_gp10b.h"
22 23
@@ -53,6 +54,8 @@ static int gp10b_init_mm_setup_hw(struct gk20a *g)
53 if (gk20a_mm_fb_flush(g) || gk20a_mm_fb_flush(g)) 54 if (gk20a_mm_fb_flush(g) || gk20a_mm_fb_flush(g))
54 return -EBUSY; 55 return -EBUSY;
55 56
57 err = gp10b_replayable_pagefault_buffer_init(g);
58
56 gk20a_dbg_fn("done"); 59 gk20a_dbg_fn("done");
57 return err; 60 return err;
58 61