summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/Makefile.nvgpu
diff options
context:
space:
mode:
authorSachit Kadle <skadle@nvidia.com>2016-09-15 04:01:57 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2016-10-20 11:14:32 -0400
commit0a1e7c6b0905a6e3dcdcd483565fb5cb6f6bdd38 (patch)
tree8c45564d277e229ea2bcbc235e887744333e1aa9 /drivers/gpu/nvgpu/Makefile.nvgpu
parent3fde49053323c673641eb24e4b6009afae15c842 (diff)
gpu: nvgpu: correct gpfifo size calculation
This change fixes up the calculation of gpfifo entries, to be allocated depending on the ioctl used: 1) For the legacy ALLOC_GPFIFO ioctl, we preserve the calculation of gpfifo entries within the kernel. 2) For the new ALLOC_GPFIFO_EX ioctl, we assume that userspace has pre-calculated power-of-2 value. We process this value un-modified and only verify that it is a valid power-of-2. Bug 1795076 Change-Id: I8d2ddfdae40b02fe6b81e63dfd8857ad514a3dfd Signed-off-by: Sachit Kadle <skadle@nvidia.com> Reviewed-on: http://git-master/r/1220968 (cherry picked from commit c42396d9836e9b7ec73e0728f0c502b63aff70db) Reviewed-on: http://git-master/r/1223937 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/Makefile.nvgpu')
0 files changed, 0 insertions, 0 deletions