summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b/gr_gp10b.h
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2016-05-06 18:00:17 -0400
committerDeepak Nibade <dnibade@nvidia.com>2016-12-27 04:56:15 -0500
commita6682186de77b90fa41718d4b0012b35aba95ae0 (patch)
treecc0ba093bcb943f790683e9f2616000b758b27e7 /drivers/gpu/nvgpu/gp10b/gr_gp10b.h
parent205559cf31212af1c3c602f4889421748a433416 (diff)
gpu: nvgpu: gp10b: Fix CWD floorsweep programming
Program CWD TPC and SM registers correctly. The old code did not work when there are more than 4 TPCs. Change-Id: I18a14a0f76d97b0962607ec0bbd71aafcd768bca Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/1143075 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Konsta Holtta <kholtta@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/gr_gp10b.h')
-rw-r--r--drivers/gpu/nvgpu/gp10b/gr_gp10b.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/gr_gp10b.h b/drivers/gpu/nvgpu/gp10b/gr_gp10b.h
index eb361820..e08a7dc5 100644
--- a/drivers/gpu/nvgpu/gp10b/gr_gp10b.h
+++ b/drivers/gpu/nvgpu/gp10b/gr_gp10b.h
@@ -35,6 +35,7 @@ enum {
35#define NVC0C0_SET_SHADER_EXCEPTIONS 0x1528 35#define NVC0C0_SET_SHADER_EXCEPTIONS 0x1528
36 36
37void gp10b_init_gr(struct gpu_ops *ops); 37void gp10b_init_gr(struct gpu_ops *ops);
38int gr_gp10b_init_fs_state(struct gk20a *g);
38int gr_gp10b_alloc_buffer(struct vm_gk20a *vm, size_t size, 39int gr_gp10b_alloc_buffer(struct vm_gk20a *vm, size_t size,
39 struct mem_desc *mem); 40 struct mem_desc *mem);
40void gr_gp10b_create_sysfs(struct device *dev); 41void gr_gp10b_create_sysfs(struct device *dev);