mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: Fixing SWDVR issues in qnx-mem and qnx-sync
This is fixing some swdvr issues found during swdvr process. JIRA NVGPU-6613 JIRA NVGPU-6614 Signed-off-by: dt <dt@nvidia.com> Change-Id: Iadbdefd1ed57f9a3fb46690c9ad4b6e38a876b31 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2521352 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: Vaibhav Kachore <vkachore@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit
This commit is contained in:
@@ -155,7 +155,9 @@ int nvgpu_dma_alloc_sys(struct gk20a *g, size_t size, struct nvgpu_mem *mem);
|
||||
*
|
||||
* Allocate memory suitable for doing DMA. Store the allocation info in #mem.
|
||||
* Returns 0 on success and a suitable error code when there's an error. This
|
||||
* allocates memory specifically in SYSMEM.
|
||||
* allocates memory specifically in SYSMEM. If the #mem already holds the physical
|
||||
* memory information, then the API just create the import id associated with
|
||||
* the #mem.
|
||||
*
|
||||
* @return 0 For success, < 0 for failure.
|
||||
* @retval -ENOMEM For failure in handle creation or mapping operation.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017-2020, NVIDIA CORPORATION. All rights reserved.
|
||||
* Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved.
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
@@ -44,8 +44,6 @@ struct nvgpu_nvhost_dev;
|
||||
* @param g [in] The GPU super structure.
|
||||
*
|
||||
* - Allocate memory for g.nvhost_dev.
|
||||
* - Get the type of the hardware(t186/t194) by calling
|
||||
* #NvTegraSysGetChipId().
|
||||
* - Initialize the number of synpoints according to the
|
||||
* associated hardware.
|
||||
* - Allocate and initialize different fields associated with
|
||||
|
||||
Reference in New Issue
Block a user