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>
This commit is contained in:
David Nieto
2017-10-04 10:44:40 -07:00
committed by mobile promotions
parent 036e4ea244
commit e02d14e754
6 changed files with 170 additions and 74 deletions

View File

@@ -240,6 +240,7 @@ static struct gk20a_platform nvgpu_pci_device[] = {
.vbios_min_version = 0x88001e00,
.hardcode_sw_threshold = false,
.run_preos = true,
.tsg_required = true,
},
{ /* DEVICE=PG503 SKU 200 ES */
/* ptimer src frequency in hz */
@@ -274,6 +275,7 @@ static struct gk20a_platform nvgpu_pci_device[] = {
.vbios_min_version = 0x88001e00,
.hardcode_sw_threshold = false,
.run_preos = true,
.tsg_required = true,
}
};