diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-12-14 17:43:42 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-01-05 12:13:30 -0500 |
commit | ea5a2147229e32f0524827af82cb7a880aca6296 (patch) | |
tree | 57502c753df7efec4924f9969eb2aebca347c304 /drivers/gpu/nvgpu/gp10b/gr_gp10b.h | |
parent | 5711e2b1f7c3a34444c654e7a3bf0a6f8201ef03 (diff) |
gpu: nvgpu: Implement SET_RD_COALESCE
Implement SW method SET_RD_COALESCE to implement correct handling
of texture read coalescing.
Bug 200223870
Change-Id: Icd6f987b72d78e5add4076fc550e2070eba70628
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1271303
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/gr_gp10b.h')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/gr_gp10b.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/gr_gp10b.h b/drivers/gpu/nvgpu/gp10b/gr_gp10b.h index 5338789f..0a70903f 100644 --- a/drivers/gpu/nvgpu/gp10b/gr_gp10b.h +++ b/drivers/gpu/nvgpu/gp10b/gr_gp10b.h | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * GP10B GPU GR | 2 | * GP10B GPU GR |
3 | * | 3 | * |
4 | * Copyright (c) 2015-2016, NVIDIA CORPORATION. All rights reserved. | 4 | * Copyright (c) 2015-2017, NVIDIA CORPORATION. All rights reserved. |
5 | * | 5 | * |
6 | * This program is free software; you can redistribute it and/or modify it | 6 | * This program is free software; you can redistribute it and/or modify it |
7 | * under the terms and conditions of the GNU General Public License, | 7 | * under the terms and conditions of the GNU General Public License, |
@@ -31,9 +31,11 @@ enum { | |||
31 | #define NVC097_SET_GO_IDLE_TIMEOUT 0x022c | 31 | #define NVC097_SET_GO_IDLE_TIMEOUT 0x022c |
32 | #define NVC097_SET_ALPHA_CIRCULAR_BUFFER_SIZE 0x02dc | 32 | #define NVC097_SET_ALPHA_CIRCULAR_BUFFER_SIZE 0x02dc |
33 | #define NVC097_SET_COALESCE_BUFFER_SIZE 0x1028 | 33 | #define NVC097_SET_COALESCE_BUFFER_SIZE 0x1028 |
34 | #define NVC097_SET_RD_COALESCE 0x102c | ||
34 | #define NVC097_SET_CIRCULAR_BUFFER_SIZE 0x1280 | 35 | #define NVC097_SET_CIRCULAR_BUFFER_SIZE 0x1280 |
35 | #define NVC097_SET_SHADER_EXCEPTIONS 0x1528 | 36 | #define NVC097_SET_SHADER_EXCEPTIONS 0x1528 |
36 | #define NVC0C0_SET_SHADER_EXCEPTIONS 0x1528 | 37 | #define NVC0C0_SET_SHADER_EXCEPTIONS 0x1528 |
38 | #define NVC0C0_SET_RD_COALESCE 0x0228 | ||
37 | 39 | ||
38 | void gp10b_init_gr(struct gpu_ops *ops); | 40 | void gp10b_init_gr(struct gpu_ops *ops); |
39 | int gr_gp10b_init_fs_state(struct gk20a *g); | 41 | int gr_gp10b_init_fs_state(struct gk20a *g); |