[gpu/NVDRV] Finalize AllocObjCtx #308
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "finalize-allocObjCtx"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Added some needed checks.
Added release functionality for object context once not needed anymore.
Added a scoped_lock for the channel_mutex as a kind of a safe guard against unpredictable situations.
@ -221,3 +223,3 @@
NvResult nvhost_gpu::AllocateObjectContext(IoctlAllocObjCtx& params) {
LOG_DEBUG(Service_NVDRV, "called, class_num={:X}, flags={:X}, obj_id={:X}", params.class_num,
LOG_DEBUG(Service_NVDRV, "called, class_num=0x{:X}, flags=0x{:X}, obj_id=0x{:X}", params.class_num,
Do not use
0x{:X}
, use{:#X}
insteadPull request closed