summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv11b/gr_gv11b.c
diff options
context:
space:
mode:
authorseshendra Gadagottu <sgadagottu@nvidia.com>2016-11-16 12:33:43 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2016-11-17 15:07:51 -0500
commit7b67abb2edb606b9ad0d0ecf0d94a333770974b1 (patch)
tree9e3c9b56b3bc9dddaf3988f12bf3da0f8fd922b0 /drivers/gpu/nvgpu/gv11b/gr_gv11b.c
parent68ff0c8f309e79266682f96994cf83c921061f77 (diff)
gpu: nvgpu: gv11b: support for new littler values
Add support for new litter values: GPU_LIT_NUM_SUBCTX GPU_LIT_NUM_SM_PER_TPC Also updated get_litter_value api to use int instead of enum type. JIRA GV11B-21 Change-Id: Ide06245d03743e2d757d27d045701beb25b6707b Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: http://git-master/r/1254857 GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/gr_gv11b.c')
-rw-r--r--drivers/gpu/nvgpu/gv11b/gr_gv11b.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c
index ca5e8dc0..f60337e2 100644
--- a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c
+++ b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c
@@ -31,6 +31,7 @@
31#include "hw_mc_gv11b.h" 31#include "hw_mc_gv11b.h"
32#include "hw_gr_gv11b.h" 32#include "hw_gr_gv11b.h"
33#include <linux/vmalloc.h> 33#include <linux/vmalloc.h>
34#include <linux/tegra_gpu_t19x.h>
34 35
35static bool gr_gv11b_is_valid_class(struct gk20a *g, u32 class_num) 36static bool gr_gv11b_is_valid_class(struct gk20a *g, u32 class_num)
36{ 37{