From 2fd1ee0ca784e4235766601d6a7ef52ba1f0c519 Mon Sep 17 00:00:00 2001 From: seshendra Gadagottu Date: Mon, 17 Oct 2016 10:26:25 -0700 Subject: gpu: nvgpu: gv11b: update ramfc Updated ramfc: - To include channel veid info - Set valid context bit - Enabled userd writeback JIRA GV11B-11 Change-Id: I0e8c62fe0dee02071b0ca60f157151038ab5c09b Signed-off-by: seshendra Gadagottu Reviewed-on: http://git-master/r/1237764 GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom --- drivers/gpu/nvgpu/gv11b/hw_pbdma_gv11b.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'drivers/gpu/nvgpu/gv11b/hw_pbdma_gv11b.h') diff --git a/drivers/gpu/nvgpu/gv11b/hw_pbdma_gv11b.h b/drivers/gpu/nvgpu/gv11b/hw_pbdma_gv11b.h index be8089d8..c4d3a631 100644 --- a/drivers/gpu/nvgpu/gv11b/hw_pbdma_gv11b.h +++ b/drivers/gpu/nvgpu/gv11b/hw_pbdma_gv11b.h @@ -342,6 +342,14 @@ static inline u32 pbdma_config_auth_level_privileged_f(void) { return 0x100; } +static inline u32 pbdma_config_userd_writeback_disable_f(void) +{ + return 0x0; +} +static inline u32 pbdma_config_userd_writeback_enable_f(void) +{ + return 0x1000; +} static inline u32 pbdma_userd_hi_r(u32 i) { return 0x0004000c + i*8192; -- cgit v1.2.2