Files
linux-nvgpu/drivers/gpu/nvgpu/os/linux
Konsta Hölttä 82df5b0219 gpu: nvgpu: track cdev minor numbers
The existing Linux character device nodes are statically configured
once. For other dynamically created devices, track the next minor number
in nvgpu_os_linux as a rudimentary allocator.

Only a small number of increments are expected at this time; in the
future, a bitmap might be more appropriate for tracking out-of-order
deallocations too.

Jira NVGPU-6788

Change-Id: I016ee8471313086620f9ab371583d6763848b0e2
Signed-off-by: Konsta Hölttä <kholtta@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2651163
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Alex Waterman <alexw@nvidia.com>
GVS: Gerrit_Virtual_Submit
2022-03-01 00:08:31 -08:00
..
2022-02-04 22:02:33 -08:00
2020-12-15 14:13:28 -06:00
2019-02-01 09:45:57 -08:00
2021-08-11 01:55:08 -07:00
2021-06-28 22:39:06 -07:00
2022-01-28 04:50:12 -08:00
2021-12-15 06:05:25 -08:00
2021-12-15 06:05:25 -08:00
2022-03-01 00:08:31 -08:00
2022-03-01 00:08:31 -08:00
2022-02-09 00:38:21 -08:00
2022-02-01 09:50:45 -08:00
2022-01-13 12:35:36 -08:00