diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-05-06 18:00:17 -0400 |
---|---|---|
committer | Deepak Nibade <dnibade@nvidia.com> | 2016-12-27 04:56:15 -0500 |
commit | a6682186de77b90fa41718d4b0012b35aba95ae0 (patch) | |
tree | cc0ba093bcb943f790683e9f2616000b758b27e7 /drivers/gpu/nvgpu/gp10b/gr_gp10b.h | |
parent | 205559cf31212af1c3c602f4889421748a433416 (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.h | 1 |
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 | ||
37 | void gp10b_init_gr(struct gpu_ops *ops); | 37 | void gp10b_init_gr(struct gpu_ops *ops); |
38 | int gr_gp10b_init_fs_state(struct gk20a *g); | ||
38 | int gr_gp10b_alloc_buffer(struct vm_gk20a *vm, size_t size, | 39 | int gr_gp10b_alloc_buffer(struct vm_gk20a *vm, size_t size, |
39 | struct mem_desc *mem); | 40 | struct mem_desc *mem); |
40 | void gr_gp10b_create_sysfs(struct device *dev); | 41 | void gr_gp10b_create_sysfs(struct device *dev); |