Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_xcp.h89 struct amdgpu_xcp_mgr { struct
103 int (*switch_partition_mode)(struct amdgpu_xcp_mgr *xcp_mgr, int mode, argument
105 int (*query_partition_mode)(struct amdgpu_xcp_mgr *xcp_mgr);
106 int (*get_ip_details)(struct amdgpu_xcp_mgr *xcp_mgr, int xcp_id,
109 int (*get_xcp_mem_id)(struct amdgpu_xcp_mgr *xcp_mgr,
112 int (*prepare_suspend)(struct amdgpu_xcp_mgr *xcp_mgr, int xcp_id);
113 int (*suspend)(struct amdgpu_xcp_mgr *xcp_mgr, int xcp_id);
114 int (*prepare_resume)(struct amdgpu_xcp_mgr *xcp_mgr, int xcp_id);
115 int (*resume)(struct amdgpu_xcp_mgr *xcp_mgr, int xcp_id);
122 int amdgpu_xcp_prepare_suspend(struct amdgpu_xcp_mgr *xcp_mgr, int xcp_id);
[all …]
Damdgpu_xcp.c30 static int __amdgpu_xcp_run(struct amdgpu_xcp_mgr *xcp_mgr, in __amdgpu_xcp_run()
62 static int amdgpu_xcp_run_transition(struct amdgpu_xcp_mgr *xcp_mgr, int xcp_id, in amdgpu_xcp_run_transition()
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()
105 static void __amdgpu_xcp_add_block(struct amdgpu_xcp_mgr *xcp_mgr, int xcp_id, in __amdgpu_xcp_add_block()
120 int amdgpu_xcp_init(struct amdgpu_xcp_mgr *xcp_mgr, int num_xcps, int mode) in amdgpu_xcp_init()
166 static int __amdgpu_xcp_switch_partition_mode(struct amdgpu_xcp_mgr *xcp_mgr, in __amdgpu_xcp_switch_partition_mode()
199 int amdgpu_xcp_switch_partition_mode(struct amdgpu_xcp_mgr *xcp_mgr, int mode) in amdgpu_xcp_switch_partition_mode()
[all …]
Daqua_vanjaram.c312 __aqua_vanjaram_calc_xcp_mode(struct amdgpu_xcp_mgr *xcp_mgr) in __aqua_vanjaram_calc_xcp_mode()
342 static int aqua_vanjaram_query_partition_mode(struct amdgpu_xcp_mgr *xcp_mgr) in aqua_vanjaram_query_partition_mode()
365 static int __aqua_vanjaram_get_xcc_per_xcp(struct amdgpu_xcp_mgr *xcp_mgr, int mode) in __aqua_vanjaram_get_xcc_per_xcp()
392 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 __aqua_vanjaram_get_auto_mode(struct amdgpu_xcp_mgr *xcp_mgr) in __aqua_vanjaram_get_auto_mode()
474 static bool __aqua_vanjaram_is_valid_mode(struct amdgpu_xcp_mgr *xcp_mgr, in __aqua_vanjaram_is_valid_mode()
506 static int __aqua_vanjaram_pre_partition_switch(struct amdgpu_xcp_mgr *xcp_mgr, u32 flags) in __aqua_vanjaram_pre_partition_switch()
518 static int __aqua_vanjaram_post_partition_switch(struct amdgpu_xcp_mgr *xcp_mgr, u32 flags) in __aqua_vanjaram_post_partition_switch()
533 static int aqua_vanjaram_switch_partition_mode(struct amdgpu_xcp_mgr *xcp_mgr, in aqua_vanjaram_switch_partition_mode()
598 static int aqua_vanjaram_get_xcp_mem_id(struct amdgpu_xcp_mgr *xcp_mgr, in aqua_vanjaram_get_xcp_mem_id()
[all …]
Damdgpu.h317 struct amdgpu_xcp_mgr;
843 struct amdgpu_xcp_mgr *xcp_mgr;