summaryrefslogtreecommitdiffstats
path: root/userspace/src/args.c
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2018-09-13 14:05:09 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-11-16 18:12:27 -0500
commitabcbb58fe4a9af316bde4af58dc8f506a5dcdb59 (patch)
treee7859e8f34e8d76af1ddac9b3a6e7c9d0533db15 /userspace/src/args.c
parent96f2d4320adb866e1f9813309e6c61d761eecc8d (diff)
gpu: nvgpu: Make priv_cmd_buf honor num_in_flight jobs
If num_in_flight jobs is set use that to determine the proper size of the priv_cmd_buf. If num_in_flight is not set then use the original logic: the priv_cmd_buf is sized based on a worst case assumption for the GPFIFO. Also clean up MISRA issues. Bug 2327792 Change-Id: Ie192caeb6cc48fdcac57e5cbb71c534aeaf46011 Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1831095 (cherry picked from commit b9ec592f1d3ce23db736ff9c36eab994fc86ed46) Reviewed-on: https://git-master.nvidia.com/r/1949220 GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Tested-by: James Norton <jnorton@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'userspace/src/args.c')
0 files changed, 0 insertions, 0 deletions