diff options
author | David Nieto <dmartineznie@nvidia.com> | 2017-10-04 13:44:40 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-10-13 16:42:30 -0400 |
commit | e02d14e7542aed80c8f37c12a1d5df127146fbd3 (patch) | |
tree | 2d5ee7974648921491a782bf8fde0d0fd3624348 /drivers/gpu/nvgpu/gk20a/platform_gk20a.h | |
parent | 036e4ea2442d27cdbce6d67683ea629ed82ed208 (diff) |
gpu: nvgpu: ce: tsg and large vidmem support
Some GPUs require all channels to be on TSG and also have larger than 4GB
vidmem sizes which were not supported on the previous CE2 code.
This change creates a new property to track if the copy engine needs to
encapsulate its kernel context on tsg and also modifies the copy engine code
to support much larger copies without dramatically increasing the PB size.
JIRA: EVLR-1990
Change-Id: Ieb4acba0c787eb96cb9c7cd97f884d2119d445aa
Signed-off-by: David Nieto <dmartineznie@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1573216
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Alex Waterman <alexw@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Nirav Patel <nipatel@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/platform_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/platform_gk20a.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/platform_gk20a.h b/drivers/gpu/nvgpu/gk20a/platform_gk20a.h index c2c73b9c..d4ff17f3 100644 --- a/drivers/gpu/nvgpu/gk20a/platform_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/platform_gk20a.h | |||
@@ -233,6 +233,9 @@ struct gk20a_platform { | |||
233 | /* unified or split memory with separate vidmem? */ | 233 | /* unified or split memory with separate vidmem? */ |
234 | bool unified_memory; | 234 | bool unified_memory; |
235 | 235 | ||
236 | /* true if all channels must be in TSG */ | ||
237 | bool tsg_required; | ||
238 | |||
236 | /* minimum supported VBIOS version */ | 239 | /* minimum supported VBIOS version */ |
237 | u32 vbios_min_version; | 240 | u32 vbios_min_version; |
238 | 241 | ||