src/occ_405/gpu/gpu.c
// schedule request to init gpu info on gpe1
schedule request to init gpu info on gpe1
schedule request to init gpu info on gpe1
void schedule_gpe_gpu_init_req()
{
    errlHndl_t err = NULL;
    int rc = 0;
    memset(&G_gpu_init_args, 0, sizeof(G_gpu_init_args));
    rc = gpe_request_schedule(&G_gpu_init_request);
    if (rc)
    {
        INTR_TRAC_ERR
            ("schedule_gpe_gpu_init_req: gpe gpu init schedule failed w/rc=0x%08X", rc);
        err = createErrl(GPU_MID_GPE_GPU_INIT_SCHED_REQ,
                         SSX_GENERIC_FAILURE,
                         ERC_GPU_SCHEDULE_FAILURE,
                         ERRL_SEV_PREDICTIVE,
                         NULL,
                         DEFAULT_TRACE_SIZE,
                         rc,
                         0);
        commitErrl(&err);
        occ_i2c_lock_release(GPU_I2C_ENGINE);
        G_gpu_monitoring_allowed = FALSE;
    }
}
void schedule_gpe_gpu_init_req ( ) { errlHndl_t err = NULL ; int rc = 0 ; memset ( & G_gpu_init_args , 0 , sizeof ( G_gpu_init_args ) ) ; rc = gpe_request_schedule ( & G_gpu_init_request ) ; if ( rc ) { INTR_TRAC_ERR ( " " , rc ) ; err = createErrl ( GPU_MID_GPE_GPU_INIT_SCHED_REQ , SSX_GENERIC_FAILURE , ERC_GPU_SCHEDULE_FAILURE , ERRL_SEV_PREDICTIVE , NULL , DEFAULT_TRACE_SIZE , rc , 0 ) ; commitErrl ( & err ) ; occ_i2c_lock_release ( GPU_I2C_ENGINE ) ; G_gpu_monitoring_allowed = FALSE ; } }
schedule request to init gpu info on gpe1
schedule request to init gpu info on gpe1
// Need to add gpu i2c info // G_gpu_init_args.gpu_i2c /*
         * @errortype
         * @moduleid    GPU_MID_GPE_GPU_INIT_SCHED_REQ
         * @reasoncode  SSX_GENERIC_FAILURE
         * @userdata1   GPE schedule returned code
         * @userdata4   ERC_GPU_SCHEDULE_FAILURE
         * @devdesc     Failed to schedule GPE GPU initial request
         */ // release I2C lock to the host for this engine and stop monitoring