search for: binpmtransit

Displaying 3 results from an estimated 3 matches for "binpmtransit".

2023 Nov 07
3
[bug report] drm/nouveau/gsp/r535: add support for booting GSP-RM
...5 rpc = nvkm_gsp_rpc_get(gsp, NV_VGPU_MSG_FUNCTION_UNLOADING_GUEST_DRIVER, sizeof(*rpc)); nvkm_gsp_rpc_get() returns NULL on error. --> 1016 if (IS_ERR(rpc)) 1017 return PTR_ERR(rpc); 1018 1019 if (suspend) { 1020 rpc->bInPMTransition = 1; 1021 rpc->bGc6Entering = 0; 1022 rpc->newLevel = NV2080_CTRL_GPU_SET_POWER_STATE_GPU_LEVEL_3; 1023 } else { 1024 rpc->bInPMTransition = 0; 1025 rpc->bGc6Entering = 0; 1026...
2023 Nov 07
2
[bug report] drm/nouveau/gsp/r535: add support for booting GSP-RM
...There are also code paths where it can return an ERR_PTR. I think we need to check for IS_ERR_OR_NULL()... > > --> 1016 if (IS_ERR(rpc)) > 1017 return PTR_ERR(rpc); > 1018 > 1019 if (suspend) { > 1020 rpc->bInPMTransition = 1; > 1021 rpc->bGc6Entering = 0; > 1022 rpc->newLevel = NV2080_CTRL_GPU_SET_POWER_STATE_GPU_LEVEL_3; > 1023 } else { > 1024 rpc->bInPMTransition = 0; > 1025 rpc->bGc6Ente...
2023 Nov 07
1
[bug report] drm/nouveau/gsp/r535: add support for booting GSP-RM
...e return value of r535_gsp_cmdq_get() as ERR_PTR nor does it pass it through. > >> >> --> 1016???????? if (IS_ERR(rpc)) >> ???? 1017???????????????? return PTR_ERR(rpc); >> ???? 1018 >> ???? 1019???????? if (suspend) { >> ???? 1020???????????????? rpc->bInPMTransition = 1; >> ???? 1021???????????????? rpc->bGc6Entering = 0; >> ???? 1022???????????????? rpc->newLevel = NV2080_CTRL_GPU_SET_POWER_STATE_GPU_LEVEL_3; >> ???? 1023???????? } else { >> ???? 1024???????????????? rpc->bInPMTransition = 0; >> ???? 1025?????????????...