From 8fe7abebbbbfdc8b1acedd41aa8ac1926a24dc93 Mon Sep 17 00:00:00 2001 From: Seshendra Gadagottu Date: Fri, 6 Feb 2015 12:39:05 -0800 Subject: 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 Reviewed-on: http://git-master/r/661668 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom --- drivers/gpu/nvgpu/gp10b/mm_gp10b.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'drivers/gpu/nvgpu/gp10b/mm_gp10b.c') 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 @@ #include #include "gk20a/gk20a.h" #include "mm_gp10b.h" +#include "rpfb_gp10b.h" #include "hw_ram_gp10b.h" #include "hw_bus_gp10b.h" @@ -53,6 +54,8 @@ static int gp10b_init_mm_setup_hw(struct gk20a *g) if (gk20a_mm_fb_flush(g) || gk20a_mm_fb_flush(g)) return -EBUSY; + err = gp10b_replayable_pagefault_buffer_init(g); + gk20a_dbg_fn("done"); return err; -- cgit v1.2.2