Searched refs:amdgpu_xcp_mgr (Results 1 – 5 of 5) sorted by relevance
| /linux-6.15/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_xcp.h | 78 struct amdgpu_xcp_mgr *xcp_mgr; 113 struct amdgpu_xcp_mgr { struct 132 int (*query_partition_mode)(struct amdgpu_xcp_mgr *xcp_mgr); 133 int (*get_ip_details)(struct amdgpu_xcp_mgr *xcp_mgr, int xcp_id, 136 int (*get_xcp_mem_id)(struct amdgpu_xcp_mgr *xcp_mgr, 138 int (*get_xcp_res_info)(struct amdgpu_xcp_mgr *xcp_mgr, 142 int (*suspend)(struct amdgpu_xcp_mgr *xcp_mgr, int xcp_id); 144 int (*resume)(struct amdgpu_xcp_mgr *xcp_mgr, int xcp_id); 154 int amdgpu_xcp_resume(struct amdgpu_xcp_mgr *xcp_mgr, int xcp_id); 162 int amdgpu_xcp_get_partition(struct amdgpu_xcp_mgr *xcp_mgr, [all …]
|
| H A D | amdgpu_xcp.c | 30 static int __amdgpu_xcp_run(struct amdgpu_xcp_mgr *xcp_mgr, in __amdgpu_xcp_run() 83 int amdgpu_xcp_prepare_suspend(struct amdgpu_xcp_mgr *xcp_mgr, int xcp_id) in amdgpu_xcp_prepare_suspend() 89 int amdgpu_xcp_suspend(struct amdgpu_xcp_mgr *xcp_mgr, int xcp_id) in amdgpu_xcp_suspend() 94 int amdgpu_xcp_prepare_resume(struct amdgpu_xcp_mgr *xcp_mgr, int xcp_id) in amdgpu_xcp_prepare_resume() 100 int amdgpu_xcp_resume(struct amdgpu_xcp_mgr *xcp_mgr, int xcp_id) in amdgpu_xcp_resume() 120 int amdgpu_xcp_init(struct amdgpu_xcp_mgr *xcp_mgr, int num_xcps, int mode) in amdgpu_xcp_init() 210 int amdgpu_xcp_restore_partition_mode(struct amdgpu_xcp_mgr *xcp_mgr) in amdgpu_xcp_restore_partition_mode() 290 struct amdgpu_xcp_mgr *xcp_mgr; in amdgpu_xcp_mgr_init() 313 int amdgpu_xcp_get_partition(struct amdgpu_xcp_mgr *xcp_mgr, in amdgpu_xcp_get_partition() 521 static int amdgpu_xcp_get_res_info(struct amdgpu_xcp_mgr *xcp_mgr, in amdgpu_xcp_get_res_info() [all …]
|
| H A D | aqua_vanjaram.c | 313 __aqua_vanjaram_calc_xcp_mode(struct amdgpu_xcp_mgr *xcp_mgr) in __aqua_vanjaram_calc_xcp_mode() 343 static int aqua_vanjaram_query_partition_mode(struct amdgpu_xcp_mgr *xcp_mgr) in aqua_vanjaram_query_partition_mode() 366 static int __aqua_vanjaram_get_xcc_per_xcp(struct amdgpu_xcp_mgr *xcp_mgr, int mode) in __aqua_vanjaram_get_xcc_per_xcp() 393 static int __aqua_vanjaram_get_xcp_ip_info(struct amdgpu_xcp_mgr *xcp_mgr, int xcp_id, in __aqua_vanjaram_get_xcp_ip_info() 451 static int aqua_vanjaram_get_xcp_res_info(struct amdgpu_xcp_mgr *xcp_mgr, in aqua_vanjaram_get_xcp_res_info() 519 __aqua_vanjaram_get_auto_mode(struct amdgpu_xcp_mgr *xcp_mgr) in __aqua_vanjaram_get_auto_mode() 542 static bool __aqua_vanjaram_is_valid_mode(struct amdgpu_xcp_mgr *xcp_mgr, in __aqua_vanjaram_is_valid_mode() 605 __aqua_vanjaram_update_supported_modes(struct amdgpu_xcp_mgr *xcp_mgr) in __aqua_vanjaram_update_supported_modes() 655 static int aqua_vanjaram_switch_partition_mode(struct amdgpu_xcp_mgr *xcp_mgr, in aqua_vanjaram_switch_partition_mode() 722 static int aqua_vanjaram_get_xcp_mem_id(struct amdgpu_xcp_mgr *xcp_mgr, in aqua_vanjaram_get_xcp_mem_id() [all …]
|
| H A D | amdgpu_gfx.c | 1419 struct amdgpu_xcp_mgr *xcp_mgr = adev->xcp_mgr; in amdgpu_gfx_get_available_compute_partition() 1732 struct amdgpu_xcp_mgr *xcp_mgr = adev->xcp_mgr; in amdgpu_gfx_sysfs_xcp_init() 1759 struct amdgpu_xcp_mgr *xcp_mgr = adev->xcp_mgr; in amdgpu_gfx_sysfs_xcp_fini()
|
| H A D | amdgpu.h | 320 struct amdgpu_xcp_mgr; 870 struct amdgpu_xcp_mgr *xcp_mgr;
|