mirror of
https://github.com/NVIDIA/open-gpu-kernel-modules.git
synced 2026-05-13 17:26:11 +00:00
595.71.05
This commit is contained in:
@@ -104,6 +104,11 @@ NV_STATUS NV_API_CALL nv_add_mapping_context_to_file(
|
||||
if (*pfile_mapping_list == NULL)
|
||||
{
|
||||
*pfile_mapping_list = pNewNode;
|
||||
if (NV_IS_CTL_DEVICE(nv))
|
||||
{
|
||||
nv_alloc_t *at = (nv_alloc_t *) nvamc->alloc;
|
||||
atomic64_inc(&at->usage_count);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user