summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/pci.c
diff options
context:
space:
mode:
authorDavid Nieto <dmartineznie@nvidia.com>2017-10-04 13:44:40 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-10-13 16:42:30 -0400
commite02d14e7542aed80c8f37c12a1d5df127146fbd3 (patch)
tree2d5ee7974648921491a782bf8fde0d0fd3624348 /drivers/gpu/nvgpu/common/linux/pci.c
parent036e4ea2442d27cdbce6d67683ea629ed82ed208 (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/common/linux/pci.c')
-rw-r--r--drivers/gpu/nvgpu/common/linux/pci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/pci.c b/drivers/gpu/nvgpu/common/linux/pci.c
index 92764c21..401080ed 100644
--- a/drivers/gpu/nvgpu/common/linux/pci.c
+++ b/drivers/gpu/nvgpu/common/linux/pci.c
@@ -240,6 +240,7 @@ static struct gk20a_platform nvgpu_pci_device[] = {
240 .vbios_min_version = 0x88001e00, 240 .vbios_min_version = 0x88001e00,
241 .hardcode_sw_threshold = false, 241 .hardcode_sw_threshold = false,
242 .run_preos = true, 242 .run_preos = true,
243 .tsg_required = true,
243 }, 244 },
244 { /* DEVICE=PG503 SKU 200 ES */ 245 { /* DEVICE=PG503 SKU 200 ES */
245 /* ptimer src frequency in hz */ 246 /* ptimer src frequency in hz */
@@ -274,6 +275,7 @@ static struct gk20a_platform nvgpu_pci_device[] = {
274 .vbios_min_version = 0x88001e00, 275 .vbios_min_version = 0x88001e00,
275 .hardcode_sw_threshold = false, 276 .hardcode_sw_threshold = false,
276 .run_preos = true, 277 .run_preos = true,
278 .tsg_required = true,
277 } 279 }
278}; 280};
279 281