Home
last modified time | relevance | path

Searched refs:xcp_ip (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_xcp.c31 struct amdgpu_xcp_ip *xcp_ip, int xcp_state) in __amdgpu_xcp_run() argument
36 if (!xcp_ip || !xcp_ip->valid || !xcp_ip->ip_funcs) in __amdgpu_xcp_run()
43 run_func = xcp_ip->ip_funcs->prepare_suspend; in __amdgpu_xcp_run()
46 run_func = xcp_ip->ip_funcs->suspend; in __amdgpu_xcp_run()
49 run_func = xcp_ip->ip_funcs->prepare_resume; in __amdgpu_xcp_run()
52 run_func = xcp_ip->ip_funcs->resume; in __amdgpu_xcp_run()
57 ret = run_func(xcp_mgr->adev, xcp_ip->inst_mask); in __amdgpu_xcp_run()
65 struct amdgpu_xcp_ip *xcp_ip; in amdgpu_xcp_run_transition() local
74 xcp_ip = &xcp->ip[i]; in amdgpu_xcp_run_transition()
75 ret = __amdgpu_xcp_run(xcp_mgr, xcp_ip, state); in amdgpu_xcp_run_transition()