Searched refs:amdgpu_xcp_mgr (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_xcp.h | 80 struct amdgpu_xcp_mgr *xcp_mgr; 113 struct amdgpu_xcp_mgr *xcp_mgr; 117 struct amdgpu_xcp_mgr { struct 134 int (*switch_partition_mode)(struct amdgpu_xcp_mgr *xcp_mgr, int mode, argument 136 int (*query_partition_mode)(struct amdgpu_xcp_mgr *xcp_mgr); 137 int (*get_ip_details)(struct amdgpu_xcp_mgr *xcp_mgr, int xcp_id, 140 int (*get_xcp_mem_id)(struct amdgpu_xcp_mgr *xcp_mgr, 142 int (*get_xcp_res_info)(struct amdgpu_xcp_mgr *xcp_mgr, 145 int (*prepare_suspend)(struct amdgpu_xcp_mgr *xcp_mgr, int xcp_id); 146 int (*suspend)(struct amdgpu_xcp_mgr *xcp_mgr, int xcp_id); [all …]
|
H A D | amdgpu_xcp.c | 30 static void amdgpu_xcp_sysfs_entries_init(struct amdgpu_xcp_mgr *xcp_mgr); 31 static void amdgpu_xcp_sysfs_entries_update(struct amdgpu_xcp_mgr *xcp_mgr); 33 static int __amdgpu_xcp_run(struct amdgpu_xcp_mgr *xcp_mgr, in __amdgpu_xcp_run() 65 static int amdgpu_xcp_run_transition(struct amdgpu_xcp_mgr *xcp_mgr, int xcp_id, in amdgpu_xcp_run_transition() 86 int amdgpu_xcp_prepare_suspend(struct amdgpu_xcp_mgr *xcp_mgr, int xcp_id) in amdgpu_xcp_prepare_suspend() 92 int amdgpu_xcp_suspend(struct amdgpu_xcp_mgr *xcp_mgr, int xcp_id) in amdgpu_xcp_suspend() 97 int amdgpu_xcp_prepare_resume(struct amdgpu_xcp_mgr *xcp_mgr, int xcp_id) in amdgpu_xcp_prepare_resume() 103 int amdgpu_xcp_resume(struct amdgpu_xcp_mgr *xcp_mgr, int xcp_id) in amdgpu_xcp_resume() 108 static void __amdgpu_xcp_add_block(struct amdgpu_xcp_mgr *xcp_mgr, int xcp_id, in __amdgpu_xcp_add_block() 123 int amdgpu_xcp_init(struct amdgpu_xcp_mgr *xcp_mgr, int num_xcps, int mode) in amdgpu_xcp_init() [all …]
|
H A D | aqua_vanjaram.c | 84 __aqua_vanjaram_calc_xcp_mode(struct amdgpu_xcp_mgr *xcp_mgr) in __aqua_vanjaram_calc_xcp_mode() 114 static int aqua_vanjaram_query_partition_mode(struct amdgpu_xcp_mgr *xcp_mgr) in aqua_vanjaram_query_partition_mode() 140 static int __aqua_vanjaram_get_xcc_per_xcp(struct amdgpu_xcp_mgr *xcp_mgr, int mode) in __aqua_vanjaram_get_xcc_per_xcp() 167 static int __aqua_vanjaram_get_xcp_ip_info(struct amdgpu_xcp_mgr *xcp_mgr, int xcp_id, in __aqua_vanjaram_get_xcp_ip_info() 225 static int __aqua_vanjaram_get_px_mode_info(struct amdgpu_xcp_mgr *xcp_mgr, in __aqua_vanjaram_get_px_mode_info() 271 static int aqua_vanjaram_get_xcp_res_info(struct amdgpu_xcp_mgr *xcp_mgr, in aqua_vanjaram_get_xcp_res_info() 314 __aqua_vanjaram_get_auto_mode(struct amdgpu_xcp_mgr *xcp_mgr) in __aqua_vanjaram_get_auto_mode() 337 static bool __aqua_vanjaram_is_valid_mode(struct amdgpu_xcp_mgr *xcp_mgr, in __aqua_vanjaram_is_valid_mode() 373 static void __aqua_vanjaram_update_available_partition_mode(struct amdgpu_xcp_mgr *xcp_mgr) in __aqua_vanjaram_update_available_partition_mode() 385 static int aqua_vanjaram_switch_partition_mode(struct amdgpu_xcp_mgr *xcp_mgr, in aqua_vanjaram_switch_partition_mode() [all …]
|
H A D | amdgpu_gfx.c | 1432 struct amdgpu_xcp_mgr *xcp_mgr = adev->xcp_mgr; in amdgpu_gfx_get_available_compute_partition() 1775 struct amdgpu_xcp_mgr *xcp_mgr = adev->xcp_mgr; in amdgpu_gfx_sysfs_xcp_init() 1802 struct amdgpu_xcp_mgr *xcp_mgr = adev->xcp_mgr; in amdgpu_gfx_sysfs_xcp_fini()
|
H A D | amdgpu.h | 324 struct amdgpu_xcp_mgr; 947 struct amdgpu_xcp_mgr *xcp_mgr;
|