mirror of
https://github.com/NVIDIA/open-gpu-kernel-modules.git
synced 2026-03-06 21:59:55 +00:00
535.54.03
This commit is contained in:
@@ -17,7 +17,7 @@ extern const struct NVOC_CLASS_DEF __nvoc_class_def_Object;
|
||||
|
||||
void __nvoc_init_CeUtils(CeUtils*);
|
||||
void __nvoc_init_funcTable_CeUtils(CeUtils*);
|
||||
NV_STATUS __nvoc_ctor_CeUtils(CeUtils*, OBJGPU * arg_pGpu, NV0050_ALLOCATION_PARAMETERS * arg_pAllocParams);
|
||||
NV_STATUS __nvoc_ctor_CeUtils(CeUtils*, OBJGPU * arg_pGpu, KERNEL_MIG_GPU_INSTANCE * arg_pKernelMIGGPUInstance, NV0050_ALLOCATION_PARAMETERS * arg_pAllocParams);
|
||||
void __nvoc_init_dataField_CeUtils(CeUtils*);
|
||||
void __nvoc_dtor_CeUtils(CeUtils*);
|
||||
extern const struct NVOC_EXPORT_INFO __nvoc_export_info_CeUtils;
|
||||
@@ -75,13 +75,13 @@ void __nvoc_init_dataField_CeUtils(CeUtils *pThis) {
|
||||
}
|
||||
|
||||
NV_STATUS __nvoc_ctor_Object(Object* );
|
||||
NV_STATUS __nvoc_ctor_CeUtils(CeUtils *pThis, OBJGPU * arg_pGpu, NV0050_ALLOCATION_PARAMETERS * arg_pAllocParams) {
|
||||
NV_STATUS __nvoc_ctor_CeUtils(CeUtils *pThis, OBJGPU * arg_pGpu, KERNEL_MIG_GPU_INSTANCE * arg_pKernelMIGGPUInstance, NV0050_ALLOCATION_PARAMETERS * arg_pAllocParams) {
|
||||
NV_STATUS status = NV_OK;
|
||||
status = __nvoc_ctor_Object(&pThis->__nvoc_base_Object);
|
||||
if (status != NV_OK) goto __nvoc_ctor_CeUtils_fail_Object;
|
||||
__nvoc_init_dataField_CeUtils(pThis);
|
||||
|
||||
status = __nvoc_ceutilsConstruct(pThis, arg_pGpu, arg_pAllocParams);
|
||||
status = __nvoc_ceutilsConstruct(pThis, arg_pGpu, arg_pKernelMIGGPUInstance, arg_pAllocParams);
|
||||
if (status != NV_OK) goto __nvoc_ctor_CeUtils_fail__init;
|
||||
goto __nvoc_ctor_CeUtils_exit; // Success
|
||||
|
||||
@@ -109,7 +109,7 @@ void __nvoc_init_CeUtils(CeUtils *pThis) {
|
||||
__nvoc_init_funcTable_CeUtils(pThis);
|
||||
}
|
||||
|
||||
NV_STATUS __nvoc_objCreate_CeUtils(CeUtils **ppThis, Dynamic *pParent, NvU32 createFlags, OBJGPU * arg_pGpu, NV0050_ALLOCATION_PARAMETERS * arg_pAllocParams) {
|
||||
NV_STATUS __nvoc_objCreate_CeUtils(CeUtils **ppThis, Dynamic *pParent, NvU32 createFlags, OBJGPU * arg_pGpu, KERNEL_MIG_GPU_INSTANCE * arg_pKernelMIGGPUInstance, NV0050_ALLOCATION_PARAMETERS * arg_pAllocParams) {
|
||||
NV_STATUS status;
|
||||
Object *pParentObj;
|
||||
CeUtils *pThis;
|
||||
@@ -135,7 +135,7 @@ NV_STATUS __nvoc_objCreate_CeUtils(CeUtils **ppThis, Dynamic *pParent, NvU32 cre
|
||||
}
|
||||
|
||||
__nvoc_init_CeUtils(pThis);
|
||||
status = __nvoc_ctor_CeUtils(pThis, arg_pGpu, arg_pAllocParams);
|
||||
status = __nvoc_ctor_CeUtils(pThis, arg_pGpu, arg_pKernelMIGGPUInstance, arg_pAllocParams);
|
||||
if (status != NV_OK) goto __nvoc_objCreate_CeUtils_cleanup;
|
||||
|
||||
*ppThis = pThis;
|
||||
@@ -156,9 +156,10 @@ __nvoc_objCreate_CeUtils_cleanup:
|
||||
NV_STATUS __nvoc_objCreateDynamic_CeUtils(CeUtils **ppThis, Dynamic *pParent, NvU32 createFlags, va_list args) {
|
||||
NV_STATUS status;
|
||||
OBJGPU * arg_pGpu = va_arg(args, OBJGPU *);
|
||||
KERNEL_MIG_GPU_INSTANCE * arg_pKernelMIGGPUInstance = va_arg(args, KERNEL_MIG_GPU_INSTANCE *);
|
||||
NV0050_ALLOCATION_PARAMETERS * arg_pAllocParams = va_arg(args, NV0050_ALLOCATION_PARAMETERS *);
|
||||
|
||||
status = __nvoc_objCreate_CeUtils(ppThis, pParent, createFlags, arg_pGpu, arg_pAllocParams);
|
||||
status = __nvoc_objCreate_CeUtils(ppThis, pParent, createFlags, arg_pGpu, arg_pKernelMIGGPUInstance, arg_pAllocParams);
|
||||
|
||||
return status;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user