Home
last modified time | relevance | path

Searched defs:adev (Results 1 – 25 of 514) sorted by relevance

12345678910>>...21

/linux/drivers/gpu/drm/amd/pm/
H A Damdgpu_dpm.c36 #define amdgpu_dpm_notify_ac_dc(adev) \ argument
39 #define amdgpu_dpm_is_legacy_dpm(adev) ((adev)->powerplay.pp_handle == (adev)) argument
41 int amdgpu_dpm_get_sclk(struct amdgpu_device *adev, bool low) in amdgpu_dpm_get_sclk()
57 int amdgpu_dpm_get_mclk(struct amdgpu_device *adev, bool low) in amdgpu_dpm_get_mclk()
73 int amdgpu_dpm_set_powergating_by_smu(struct amdgpu_device *adev, in amdgpu_dpm_set_powergating_by_smu()
124 int amdgpu_dpm_set_gfx_power_up_by_imu(struct amdgpu_device *adev) in amdgpu_dpm_set_gfx_power_up_by_imu()
138 int amdgpu_dpm_baco_enter(struct amdgpu_device *adev) in amdgpu_dpm_baco_enter()
157 int amdgpu_dpm_baco_exit(struct amdgpu_device *adev) in amdgpu_dpm_baco_exit()
176 int amdgpu_dpm_set_mp1_state(struct amdgpu_device *adev, in amdgpu_dpm_set_mp1_state()
199 int amdgpu_dpm_is_baco_supported(struct amdgpu_device *adev) in amdgpu_dpm_is_baco_supported()
[all …]
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_device.c192 static inline bool amdgpu_ip_member_of_hwini(struct amdgpu_device *adev, in amdgpu_ip_member_of_hwini()
198 void amdgpu_set_init_level(struct amdgpu_device *adev, in amdgpu_set_init_level()
233 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_device_get_pcie_replay_count() local
242 static int amdgpu_device_attr_sysfs_init(struct amdgpu_device *adev) in amdgpu_device_attr_sysfs_init()
253 static void amdgpu_device_attr_sysfs_fini(struct amdgpu_device *adev) in amdgpu_device_attr_sysfs_fini()
266 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_sysfs_reg_state_get() local
300 int amdgpu_reg_state_sysfs_init(struct amdgpu_device *adev) in amdgpu_reg_state_sysfs_init()
312 void amdgpu_reg_state_sysfs_fini(struct amdgpu_device *adev) in amdgpu_reg_state_sysfs_fini()
340 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_device_get_board_info() local
374 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_board_attrs_is_visible() local
[all …]
H A Dnbio_v7_9.c34 static void nbio_v7_9_remap_hdp_registers(struct amdgpu_device *adev) in nbio_v7_9_remap_hdp_registers()
42 static u32 nbio_v7_9_get_rev_id(struct amdgpu_device *adev) in nbio_v7_9_get_rev_id()
61 static void nbio_v7_9_mc_access_enable(struct amdgpu_device *adev, bool enable) in nbio_v7_9_mc_access_enable()
70 static u32 nbio_v7_9_get_memsize(struct amdgpu_device *adev) in nbio_v7_9_get_memsize()
75 static void nbio_v7_9_sdma_doorbell_range(struct amdgpu_device *adev, int instance, in nbio_v7_9_sdma_doorbell_range()
174 static void nbio_v7_9_vcn_doorbell_range(struct amdgpu_device *adev, bool use_doorbell, in nbio_v7_9_vcn_doorbell_range()
234 static void nbio_v7_9_enable_doorbell_aperture(struct amdgpu_device *adev, in nbio_v7_9_enable_doorbell_aperture()
243 static void nbio_v7_9_enable_doorbell_selfring_aperture(struct amdgpu_device *adev, in nbio_v7_9_enable_doorbell_selfring_aperture()
265 static void nbio_v7_9_ih_doorbell_range(struct amdgpu_device *adev, in nbio_v7_9_ih_doorbell_range()
309 static void nbio_v7_9_update_medium_grain_clock_gating(struct amdgpu_device *adev, in nbio_v7_9_update_medium_grain_clock_gating()
[all …]
H A Damdgpu_amdkfd.c74 void amdgpu_amdkfd_device_probe(struct amdgpu_device *adev) in amdgpu_amdkfd_device_probe() argument
97 static void amdgpu_doorbell_get_kfd_info(struct amdgpu_device *adev, in amdgpu_doorbell_get_kfd_info() argument
131 struct amdgpu_device *adev = container_of(work, struct amdgpu_device, amdgpu_amdkfd_reset_work() local
152 amdgpu_amdkfd_drm_client_create(struct amdgpu_device * adev) amdgpu_amdkfd_drm_client_create() argument
172 amdgpu_amdkfd_device_init(struct amdgpu_device * adev) amdgpu_amdkfd_device_init() argument
239 amdgpu_amdkfd_device_fini_sw(struct amdgpu_device * adev) amdgpu_amdkfd_device_fini_sw() argument
248 amdgpu_amdkfd_interrupt(struct amdgpu_device * adev,const void * ih_ring_entry) amdgpu_amdkfd_interrupt() argument
255 amdgpu_amdkfd_teardown_processes(struct amdgpu_device * adev) amdgpu_amdkfd_teardown_processes() argument
260 amdgpu_amdkfd_suspend(struct amdgpu_device * adev,bool suspend_proc) amdgpu_amdkfd_suspend() argument
270 amdgpu_amdkfd_resume(struct amdgpu_device * adev,bool resume_proc) amdgpu_amdkfd_resume() argument
284 amdgpu_amdkfd_suspend_process(struct amdgpu_device * adev) amdgpu_amdkfd_suspend_process() argument
290 amdgpu_amdkfd_resume_process(struct amdgpu_device * adev) amdgpu_amdkfd_resume_process() argument
300 amdgpu_amdkfd_pre_reset(struct amdgpu_device * adev,struct amdgpu_reset_context * reset_context) amdgpu_amdkfd_pre_reset() argument
311 amdgpu_amdkfd_post_reset(struct amdgpu_device * adev) amdgpu_amdkfd_post_reset() argument
321 amdgpu_amdkfd_gpu_reset(struct amdgpu_device * adev) amdgpu_amdkfd_gpu_reset() argument
327 amdgpu_amdkfd_clear_kfd_mapping(struct amdgpu_device * adev) amdgpu_amdkfd_clear_kfd_mapping() argument
349 amdgpu_amdkfd_alloc_kernel_mem(struct amdgpu_device * adev,size_t size,u32 domain,void ** mem_obj,uint64_t * gpu_addr,void ** cpu_ptr,bool cp_mqd_gfx9) amdgpu_amdkfd_alloc_kernel_mem() argument
422 amdgpu_amdkfd_free_kernel_mem(struct amdgpu_device * adev,void ** mem_obj) amdgpu_amdkfd_free_kernel_mem() argument
436 amdgpu_amdkfd_alloc_gws(struct amdgpu_device * adev,size_t size,void ** mem_obj) amdgpu_amdkfd_alloc_gws() argument
465 amdgpu_amdkfd_free_gws(struct amdgpu_device * adev,void * mem_obj) amdgpu_amdkfd_free_gws() argument
472 amdgpu_amdkfd_get_fw_version(struct amdgpu_device * adev,enum kgd_engine_type type) amdgpu_amdkfd_get_fw_version() argument
507 amdgpu_amdkfd_get_local_mem_info(struct amdgpu_device * adev,struct kfd_local_mem_info * mem_info,struct amdgpu_xcp * xcp) amdgpu_amdkfd_get_local_mem_info() argument
544 amdgpu_amdkfd_get_gpu_clock_counter(struct amdgpu_device * adev) amdgpu_amdkfd_get_gpu_clock_counter() argument
551 amdgpu_amdkfd_get_max_engine_clock_in_mhz(struct amdgpu_device * adev) amdgpu_amdkfd_get_max_engine_clock_in_mhz() argument
560 amdgpu_amdkfd_get_dmabuf_info(struct amdgpu_device * adev,int dma_buf_fd,struct amdgpu_device ** dmabuf_adev,uint64_t * bo_size,void ** metadata_buffer,size_t buffer_size,uint32_t * metadata_size,uint32_t * flags,int8_t * xcp_id) amdgpu_amdkfd_get_dmabuf_info() argument
631 amdgpu_amdkfd_get_pcie_bandwidth_mbytes(struct amdgpu_device * adev,bool is_min) amdgpu_amdkfd_get_pcie_bandwidth_mbytes() argument
688 amdgpu_amdkfd_submit_ib(struct amdgpu_device * adev,enum kgd_engine_type engine,uint32_t vmid,uint64_t gpu_addr,uint32_t * ib_cmd,uint32_t ib_len) amdgpu_amdkfd_submit_ib() argument
747 amdgpu_amdkfd_set_compute_idle(struct amdgpu_device * adev,bool idle) amdgpu_amdkfd_set_compute_idle() argument
768 amdgpu_amdkfd_is_kfd_vmid(struct amdgpu_device * adev,u32 vmid) amdgpu_amdkfd_is_kfd_vmid() argument
776 amdgpu_amdkfd_have_atomics_support(struct amdgpu_device * adev) amdgpu_amdkfd_have_atomics_support() argument
781 amdgpu_amdkfd_debug_mem_fence(struct amdgpu_device * adev) amdgpu_amdkfd_debug_mem_fence() argument
786 amdgpu_amdkfd_is_fed(struct amdgpu_device * adev) amdgpu_amdkfd_is_fed() argument
791 amdgpu_amdkfd_ras_pasid_poison_consumption_handler(struct amdgpu_device * adev,enum amdgpu_ras_block block,uint16_t pasid,pasid_notify pasid_fn,void * data,uint32_t reset) amdgpu_amdkfd_ras_pasid_poison_consumption_handler() argument
798 amdgpu_amdkfd_ras_poison_consumption_handler(struct amdgpu_device * adev,enum amdgpu_ras_block block,uint32_t reset) amdgpu_amdkfd_ras_poison_consumption_handler() argument
804 amdgpu_amdkfd_send_close_event_drain_irq(struct amdgpu_device * adev,uint32_t * payload) amdgpu_amdkfd_send_close_event_drain_irq() argument
820 amdgpu_amdkfd_check_and_lock_kfd(struct amdgpu_device * adev) amdgpu_amdkfd_check_and_lock_kfd() argument
825 amdgpu_amdkfd_unlock_kfd(struct amdgpu_device * adev) amdgpu_amdkfd_unlock_kfd() argument
831 amdgpu_amdkfd_xcp_memory_size(struct amdgpu_device * adev,int xcp_id) amdgpu_amdkfd_xcp_memory_size() argument
862 amdgpu_amdkfd_unmap_hiq(struct amdgpu_device * adev,u32 doorbell_off,u32 inst) amdgpu_amdkfd_unmap_hiq() argument
922 amdgpu_amdkfd_stop_sched(struct amdgpu_device * adev,uint32_t node_id) amdgpu_amdkfd_stop_sched() argument
931 amdgpu_amdkfd_start_sched(struct amdgpu_device * adev,uint32_t node_id) amdgpu_amdkfd_start_sched() argument
940 amdgpu_amdkfd_compute_active(struct amdgpu_device * adev,uint32_t node_id) amdgpu_amdkfd_compute_active() argument
949 amdgpu_amdkfd_config_sq_perfmon(struct amdgpu_device * adev,uint32_t xcp_id,bool core_override_enable,bool reg_override_enable,bool perfmon_override_enable) amdgpu_amdkfd_config_sq_perfmon() argument
964 amdgpu_amdkfd_reset_mes_queue(struct amdgpu_device * adev,uint32_t node_id,int queue_type,int pipe,int queue,unsigned int db) amdgpu_amdkfd_reset_mes_queue() argument
[all...]
H A Damdgpu_virt.c61 bool amdgpu_virt_mmio_blocked(struct amdgpu_device *adev) in amdgpu_virt_mmio_blocked()
69 void amdgpu_virt_init_setting(struct amdgpu_device *adev) in amdgpu_virt_init_setting()
97 int amdgpu_virt_request_full_gpu(struct amdgpu_device *adev, bool init) in amdgpu_virt_request_full_gpu()
122 int amdgpu_virt_release_full_gpu(struct amdgpu_device *adev, bool init) in amdgpu_virt_release_full_gpu()
143 int amdgpu_virt_reset_gpu(struct amdgpu_device *adev) in amdgpu_virt_reset_gpu()
159 void amdgpu_virt_request_init_data(struct amdgpu_device *adev) in amdgpu_virt_request_init_data()
179 void amdgpu_virt_ready_to_reset(struct amdgpu_device *adev) in amdgpu_virt_ready_to_reset()
193 int amdgpu_virt_wait_reset(struct amdgpu_device *adev) in amdgpu_virt_wait_reset()
209 int amdgpu_virt_alloc_mm_table(struct amdgpu_device *adev) in amdgpu_virt_alloc_mm_table()
239 void amdgpu_virt_free_mm_table(struct amdgpu_device *adev) in amdgpu_virt_free_mm_table()
[all …]
H A Dsoc24.c74 static int soc24_query_video_codecs(struct amdgpu_device *adev, bool encode, in soc24_query_video_codecs()
92 static u32 soc24_get_config_memsize(struct amdgpu_device *adev) in soc24_get_config_memsize()
97 static u32 soc24_get_xclk(struct amdgpu_device *adev) in soc24_get_xclk()
102 void soc24_grbm_select(struct amdgpu_device *adev, in soc24_grbm_select()
136 static uint32_t soc24_get_register_value(struct amdgpu_device *adev, in soc24_get_register_value()
150 static int soc24_read_register(struct amdgpu_device *adev, u32 se_num, in soc24_read_register()
174 soc24_asic_reset_method(struct amdgpu_device *adev) in soc24_asic_reset_method()
198 static int soc24_asic_reset(struct amdgpu_device *adev) in soc24_asic_reset()
224 static void soc24_program_aspm(struct amdgpu_device *adev) in soc24_program_aspm()
242 static bool soc24_need_reset_on_init(struct amdgpu_device *adev) in soc24_need_reset_on_init()
[all …]
H A Dgfx_v11_0.c371 struct amdgpu_device *adev = kiq_ring->adev; gfx11_kiq_set_resources() local
437 struct amdgpu_device *adev = kiq_ring->adev; gfx11_kiq_unmap_queues() local
507 gfx_v11_0_set_kiq_pm4_funcs(struct amdgpu_device * adev) gfx_v11_0_set_kiq_pm4_funcs() argument
512 gfx_v11_0_init_golden_registers(struct amdgpu_device * adev) gfx_v11_0_init_golden_registers() argument
583 struct amdgpu_device *adev = ring->adev; gfx_v11_0_ring_test_ring() local
624 struct amdgpu_device *adev = ring->adev; gfx_v11_0_ring_test_ib() local
684 gfx_v11_0_free_microcode(struct amdgpu_device * adev) gfx_v11_0_free_microcode() argument
694 gfx_v11_0_init_toc_microcode(struct amdgpu_device * adev,const char * ucode_prefix) gfx_v11_0_init_toc_microcode() argument
717 gfx_v11_0_check_fw_cp_gfx_shadow(struct amdgpu_device * adev) gfx_v11_0_check_fw_cp_gfx_shadow() argument
738 gfx_v11_0_init_microcode(struct amdgpu_device * adev) gfx_v11_0_init_microcode() argument
846 gfx_v11_0_get_csb_size(struct amdgpu_device * adev) gfx_v11_0_get_csb_size() argument
876 gfx_v11_0_get_csb_buffer(struct amdgpu_device * adev,u32 * buffer) gfx_v11_0_get_csb_buffer() argument
897 gfx_v11_0_rlc_fini(struct amdgpu_device * adev) gfx_v11_0_rlc_fini() argument
910 gfx_v11_0_init_rlcg_reg_access_ctrl(struct amdgpu_device * adev) gfx_v11_0_init_rlcg_reg_access_ctrl() argument
925 gfx_v11_0_rlc_init(struct amdgpu_device * adev) gfx_v11_0_rlc_init() argument
948 gfx_v11_0_mec_fini(struct amdgpu_device * adev) gfx_v11_0_mec_fini() argument
955 gfx_v11_0_me_init(struct amdgpu_device * adev) gfx_v11_0_me_init() argument
962 gfx_v11_0_mec_init(struct amdgpu_device * adev) gfx_v11_0_mec_init() argument
995 wave_read_ind(struct amdgpu_device * adev,uint32_t wave,uint32_t address) wave_read_ind() argument
1003 wave_read_regs(struct amdgpu_device * adev,uint32_t wave,uint32_t thread,uint32_t regno,uint32_t num,uint32_t * out) wave_read_regs() argument
1016 gfx_v11_0_read_wave_data(struct amdgpu_device * adev,uint32_t xcc_id,uint32_t simd,uint32_t wave,uint32_t * dst,int * no_fields) gfx_v11_0_read_wave_data() argument
1042 gfx_v11_0_read_wave_sgprs(struct amdgpu_device * adev,uint32_t xcc_id,uint32_t simd,uint32_t wave,uint32_t start,uint32_t size,uint32_t * dst) gfx_v11_0_read_wave_sgprs() argument
1053 gfx_v11_0_read_wave_vgprs(struct amdgpu_device * adev,uint32_t xcc_id,uint32_t simd,uint32_t wave,uint32_t thread,uint32_t start,uint32_t size,uint32_t * dst) gfx_v11_0_read_wave_vgprs() argument
1063 gfx_v11_0_select_me_pipe_q(struct amdgpu_device * adev,u32 me,u32 pipe,u32 q,u32 vm,u32 xcc_id) gfx_v11_0_select_me_pipe_q() argument
1075 gfx_v11_0_get_gfx_shadow_info_nocheck(struct amdgpu_device * adev,struct amdgpu_gfx_shadow_info * shadow_info) gfx_v11_0_get_gfx_shadow_info_nocheck() argument
1088 gfx_v11_0_get_gfx_shadow_info(struct amdgpu_device * adev,struct amdgpu_gfx_shadow_info * shadow_info,bool skip_check) gfx_v11_0_get_gfx_shadow_info() argument
1113 gfx_v11_0_gpu_early_init(struct amdgpu_device * adev) gfx_v11_0_gpu_early_init() argument
1157 gfx_v11_0_gfx_ring_init(struct amdgpu_device * adev,int ring_id,int me,int pipe,int queue) gfx_v11_0_gfx_ring_init() argument
1191 gfx_v11_0_compute_ring_init(struct amdgpu_device * adev,int ring_id,int mec,int pipe,int queue) gfx_v11_0_compute_ring_init() argument
1234 gfx_v11_0_parse_rlc_toc(struct amdgpu_device * adev,void * rlc_toc) gfx_v11_0_parse_rlc_toc() argument
1248 gfx_v11_0_calc_toc_total_size(struct amdgpu_device * adev) gfx_v11_0_calc_toc_total_size() argument
1266 gfx_v11_0_rlc_autoload_buffer_init(struct amdgpu_device * adev) gfx_v11_0_rlc_autoload_buffer_init() argument
1288 gfx_v11_0_rlc_backdoor_autoload_copy_ucode(struct amdgpu_device * adev,SOC21_FIRMWARE_ID id,const void * fw_data,uint32_t fw_size,uint32_t * fw_autoload_mask) gfx_v11_0_rlc_backdoor_autoload_copy_ucode() argument
1319 gfx_v11_0_rlc_backdoor_autoload_copy_toc_ucode(struct amdgpu_device * adev,uint32_t * fw_autoload_mask) gfx_v11_0_rlc_backdoor_autoload_copy_toc_ucode() argument
1340 gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode(struct amdgpu_device * adev,uint32_t * fw_autoload_mask) gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode() argument
1467 gfx_v11_0_rlc_backdoor_autoload_copy_sdma_ucode(struct amdgpu_device * adev,uint32_t * fw_autoload_mask) gfx_v11_0_rlc_backdoor_autoload_copy_sdma_ucode() argument
1491 gfx_v11_0_rlc_backdoor_autoload_copy_mes_ucode(struct amdgpu_device * adev,uint32_t * fw_autoload_mask) gfx_v11_0_rlc_backdoor_autoload_copy_mes_ucode() argument
1527 gfx_v11_0_rlc_backdoor_autoload_enable(struct amdgpu_device * adev) gfx_v11_0_rlc_backdoor_autoload_enable() argument
1565 gfx_v11_0_alloc_ip_dump(struct amdgpu_device * adev) gfx_v11_0_alloc_ip_dump() argument
1610 struct amdgpu_device *adev = ip_block->adev; gfx_v11_0_sw_init() local
1941 gfx_v11_0_pfp_fini(struct amdgpu_device * adev) gfx_v11_0_pfp_fini() argument
1952 gfx_v11_0_me_fini(struct amdgpu_device * adev) gfx_v11_0_me_fini() argument
1963 gfx_v11_0_rlc_autoload_buffer_fini(struct amdgpu_device * adev) gfx_v11_0_rlc_autoload_buffer_fini() argument
1973 struct amdgpu_device *adev = ip_block->adev; gfx_v11_0_sw_fini() local
2010 gfx_v11_0_select_se_sh(struct amdgpu_device * adev,u32 se_num,u32 sh_num,u32 instance,int xcc_id) gfx_v11_0_select_se_sh() argument
2037 gfx_v11_0_get_sa_active_bitmap(struct amdgpu_device * adev) gfx_v11_0_get_sa_active_bitmap() argument
2055 gfx_v11_0_get_rb_active_bitmap(struct amdgpu_device * adev) gfx_v11_0_get_rb_active_bitmap() argument
2074 gfx_v11_0_setup_rb(struct amdgpu_device * adev) gfx_v11_0_setup_rb() argument
2110 gfx_v11_0_init_compute_vmid(struct amdgpu_device * adev) gfx_v11_0_init_compute_vmid() argument
2152 gfx_v11_0_init_gds_vmid(struct amdgpu_device * adev) gfx_v11_0_init_gds_vmid() argument
2170 gfx_v11_0_tcp_harvest(struct amdgpu_device * adev) gfx_v11_0_tcp_harvest() argument
2175 gfx_v11_0_get_tcc_info(struct amdgpu_device * adev) gfx_v11_0_get_tcc_info() argument
2186 gfx_v11_0_constants_init(struct amdgpu_device * adev) gfx_v11_0_constants_init() argument
2236 gfx_v11_0_get_cpg_int_cntl(struct amdgpu_device * adev,int me,int pipe) gfx_v11_0_get_cpg_int_cntl() argument
2252 gfx_v11_0_get_cpc_int_cntl(struct amdgpu_device * adev,int me,int pipe) gfx_v11_0_get_cpc_int_cntl() argument
2277 gfx_v11_0_enable_gui_idle_interrupt(struct amdgpu_device * adev,bool enable) gfx_v11_0_enable_gui_idle_interrupt() argument
2306 gfx_v11_0_init_csb(struct amdgpu_device * adev) gfx_v11_0_init_csb() argument
2319 gfx_v11_0_rlc_stop(struct amdgpu_device * adev) gfx_v11_0_rlc_stop() argument
2327 gfx_v11_0_rlc_reset(struct amdgpu_device * adev) gfx_v11_0_rlc_reset() argument
2335 gfx_v11_0_rlc_smu_handshake_cntl(struct amdgpu_device * adev,bool enable) gfx_v11_0_rlc_smu_handshake_cntl() argument
2357 gfx_v11_0_rlc_start(struct amdgpu_device * adev) gfx_v11_0_rlc_start() argument
2368 gfx_v11_0_rlc_enable_srm(struct amdgpu_device * adev) gfx_v11_0_rlc_enable_srm() argument
2379 gfx_v11_0_load_rlcg_microcode(struct amdgpu_device * adev) gfx_v11_0_load_rlcg_microcode() argument
2400 gfx_v11_0_load_rlc_iram_dram_microcode(struct amdgpu_device * adev) gfx_v11_0_load_rlc_iram_dram_microcode() argument
2444 gfx_v11_0_load_rlcp_rlcv_microcode(struct amdgpu_device * adev) gfx_v11_0_load_rlcp_rlcv_microcode() argument
2492 gfx_v11_0_rlc_load_microcode(struct amdgpu_device * adev) gfx_v11_0_rlc_load_microcode() argument
2522 gfx_v11_0_rlc_resume(struct amdgpu_device * adev) gfx_v11_0_rlc_resume() argument
2559 gfx_v11_0_config_me_cache(struct amdgpu_device * adev,uint64_t addr) gfx_v11_0_config_me_cache() argument
2603 gfx_v11_0_config_pfp_cache(struct amdgpu_device * adev,uint64_t addr) gfx_v11_0_config_pfp_cache() argument
2647 gfx_v11_0_config_mec_cache(struct amdgpu_device * adev,uint64_t addr) gfx_v11_0_config_mec_cache() argument
2691 gfx_v11_0_config_pfp_cache_rs64(struct amdgpu_device * adev,uint64_t addr,uint64_t addr2) gfx_v11_0_config_pfp_cache_rs64() argument
2813 gfx_v11_0_config_me_cache_rs64(struct amdgpu_device * adev,uint64_t addr,uint64_t addr2) gfx_v11_0_config_me_cache_rs64() argument
2936 gfx_v11_0_config_mec_cache_rs64(struct amdgpu_device * adev,uint64_t addr,uint64_t addr2) gfx_v11_0_config_mec_cache_rs64() argument
3019 gfx_v11_0_config_gfx_rs64(struct amdgpu_device * adev) gfx_v11_0_config_gfx_rs64() argument
3104 gfx_v11_0_wait_for_rlc_autoload_complete(struct amdgpu_device * adev) gfx_v11_0_wait_for_rlc_autoload_complete() argument
3189 gfx_v11_0_cp_gfx_enable(struct amdgpu_device * adev,bool enable) gfx_v11_0_cp_gfx_enable() argument
3210 gfx_v11_0_cp_gfx_load_pfp_microcode(struct amdgpu_device * adev) gfx_v11_0_cp_gfx_load_pfp_microcode() argument
3255 gfx_v11_0_cp_gfx_load_pfp_microcode_rs64(struct amdgpu_device * adev) gfx_v11_0_cp_gfx_load_pfp_microcode_rs64() argument
3428 gfx_v11_0_cp_gfx_load_me_microcode(struct amdgpu_device * adev) gfx_v11_0_cp_gfx_load_me_microcode() argument
3473 gfx_v11_0_cp_gfx_load_me_microcode_rs64(struct amdgpu_device * adev) gfx_v11_0_cp_gfx_load_me_microcode_rs64() argument
3647 gfx_v11_0_cp_gfx_load_microcode(struct amdgpu_device * adev) gfx_v11_0_cp_gfx_load_microcode() argument
3677 gfx_v11_0_cp_gfx_start(struct amdgpu_device * adev) gfx_v11_0_cp_gfx_start() argument
3753 gfx_v11_0_cp_gfx_switch_pipe(struct amdgpu_device * adev,CP_PIPE_ID pipe) gfx_v11_0_cp_gfx_switch_pipe() argument
3764 gfx_v11_0_cp_gfx_set_doorbell(struct amdgpu_device * adev,struct amdgpu_ring * ring) gfx_v11_0_cp_gfx_set_doorbell() argument
3789 gfx_v11_0_cp_gfx_resume(struct amdgpu_device * adev) gfx_v11_0_cp_gfx_resume() argument
3889 gfx_v11_0_cp_compute_enable(struct amdgpu_device * adev,bool enable) gfx_v11_0_cp_compute_enable() argument
3934 gfx_v11_0_cp_compute_load_microcode(struct amdgpu_device * adev) gfx_v11_0_cp_compute_load_microcode() argument
3985 gfx_v11_0_cp_compute_load_microcode_rs64(struct amdgpu_device * adev) gfx_v11_0_cp_compute_load_microcode_rs64() argument
4120 struct amdgpu_device *adev = ring->adev; gfx_v11_0_kiq_setting() local
4129 gfx_v11_0_cp_set_doorbell_range(struct amdgpu_device * adev) gfx_v11_0_cp_set_doorbell_range() argument
4144 gfx_v11_0_gfx_mqd_set_priority(struct amdgpu_device * adev,struct v11_gfx_mqd * mqd,struct amdgpu_mqd_prop * prop) gfx_v11_0_gfx_mqd_set_priority() argument
4162 gfx_v11_0_gfx_mqd_init(struct amdgpu_device * adev,void * m,struct amdgpu_mqd_prop * prop) gfx_v11_0_gfx_mqd_init() argument
4261 struct amdgpu_device *adev = ring->adev; gfx_v11_0_kgq_init_queue() local
4287 gfx_v11_0_cp_async_gfx_ring_resume(struct amdgpu_device * adev) gfx_v11_0_cp_async_gfx_ring_resume() argument
4304 gfx_v11_0_compute_mqd_set_cu_mask(struct amdgpu_device * adev,struct v11_compute_mqd * mqd,struct amdgpu_mqd_prop * prop) gfx_v11_0_compute_mqd_set_cu_mask() argument
4335 gfx_v11_0_compute_mqd_init(struct amdgpu_device * adev,void * m,struct amdgpu_mqd_prop * prop) gfx_v11_0_compute_mqd_init() argument
4482 struct amdgpu_device *adev = ring->adev; gfx_v11_0_kiq_init_register() local
4592 struct amdgpu_device *adev = ring->adev; gfx_v11_0_kiq_init_queue() local
4631 struct amdgpu_device *adev = ring->adev; gfx_v11_0_kcq_init_queue() local
4658 gfx_v11_0_kiq_resume(struct amdgpu_device * adev) gfx_v11_0_kiq_resume() argument
4664 gfx_v11_0_kcq_resume(struct amdgpu_device * adev) gfx_v11_0_kcq_resume() argument
4680 gfx_v11_0_cp_resume(struct amdgpu_device * adev) gfx_v11_0_cp_resume() argument
4759 gfx_v11_0_cp_enable(struct amdgpu_device * adev,bool enable) gfx_v11_0_cp_enable() argument
4765 gfx_v11_0_gfxhub_enable(struct amdgpu_device * adev) gfx_v11_0_gfxhub_enable() argument
4786 gfx_v11_0_select_cp_fw_arch(struct amdgpu_device * adev) gfx_v11_0_select_cp_fw_arch() argument
4805 get_gb_addr_config(struct amdgpu_device * adev) get_gb_addr_config() argument
4841 gfx_v11_0_disable_gpa_mode(struct amdgpu_device * adev) gfx_v11_0_disable_gpa_mode() argument
4854 gfx_v11_0_set_userq_eop_interrupts(struct amdgpu_device * adev,bool enable) gfx_v11_0_set_userq_eop_interrupts() argument
4929 struct amdgpu_device *adev = ip_block->adev; gfx_v11_0_hw_init() local
5052 struct amdgpu_device *adev = ip_block->adev; gfx_v11_0_hw_fini() local
5104 struct amdgpu_device *adev = ip_block->adev; gfx_v11_0_is_idle() local
5117 struct amdgpu_device *adev = ip_block->adev; gfx_v11_0_wait_for_idle() local
5131 gfx_v11_0_request_gfx_index_mutex(struct amdgpu_device * adev,bool req) gfx_v11_0_request_gfx_index_mutex() argument
5168 struct amdgpu_device *adev = ip_block->adev; gfx_v11_0_soft_reset() local
5301 gfx_v11_0_get_gpu_clock_counter(struct amdgpu_device * adev) gfx_v11_0_get_gpu_clock_counter() argument
5352 struct amdgpu_device *adev = ring->adev; gfx_v11_0_ring_emit_gds_switch() local
5377 struct amdgpu_device *adev = ip_block->adev; gfx_v11_0_early_init() local
5434 gfx_v11_0_is_rlc_enabled(struct amdgpu_device * adev) gfx_v11_0_is_rlc_enabled() argument
5443 gfx_v11_0_set_safe_mode(struct amdgpu_device * adev,int xcc_id) gfx_v11_0_set_safe_mode() argument
5462 gfx_v11_0_unset_safe_mode(struct amdgpu_device * adev,int xcc_id) gfx_v11_0_unset_safe_mode() argument
5467 gfx_v11_0_update_perf_clk(struct amdgpu_device * adev,bool enable) gfx_v11_0_update_perf_clk() argument
5486 gfx_v11_0_update_sram_fgcg(struct amdgpu_device * adev,bool enable) gfx_v11_0_update_sram_fgcg() argument
5505 gfx_v11_0_update_repeater_fgcg(struct amdgpu_device * adev,bool enable) gfx_v11_0_update_repeater_fgcg() argument
5524 gfx_v11_0_update_medium_grain_clock_gating(struct amdgpu_device * adev,bool enable) gfx_v11_0_update_medium_grain_clock_gating() argument
5559 gfx_v11_0_update_coarse_grain_clock_gating(struct amdgpu_device * adev,bool enable) gfx_v11_0_update_coarse_grain_clock_gating() argument
5687 gfx_v11_0_update_gfx_clock_gating(struct amdgpu_device * adev,bool enable) gfx_v11_0_update_gfx_clock_gating() argument
5715 gfx_v11_0_update_spm_vmid(struct amdgpu_device * adev,int xcc_id,struct amdgpu_ring * ring,unsigned vmid) gfx_v11_0_update_spm_vmid() argument
5761 gfx_v11_cntl_power_gating(struct amdgpu_device * adev,bool enable) gfx_v11_cntl_power_gating() argument
5793 gfx_v11_cntl_pg(struct amdgpu_device * adev,bool enable) gfx_v11_cntl_pg() argument
5805 struct amdgpu_device *adev = ip_block->adev; gfx_v11_0_set_powergating_state() local
5846 struct amdgpu_device *adev = ip_block->adev; gfx_v11_0_set_clockgating_state() local
5877 struct amdgpu_device *adev = ip_block->adev; gfx_v11_0_get_clockgating_state() local
5924 struct amdgpu_device *adev = ring->adev; gfx_v11_0_ring_get_wptr_gfx() local
5940 struct amdgpu_device *adev = ring->adev; gfx_v11_0_ring_set_wptr_gfx() local
5963 struct amdgpu_device *adev = ring->adev; gfx_v11_0_ring_get_wptr_compute() local
5978 struct amdgpu_device *adev = ring->adev; gfx_v11_0_ring_set_wptr_compute() local
5992 struct amdgpu_device *adev = ring->adev; gfx_v11_0_ring_emit_hdp_flush() local
6153 struct amdgpu_device *adev = ring->adev; gfx_v11_0_ring_emit_fence_kiq() local
6216 struct amdgpu_device *adev = ring->adev; gfx_v11_0_ring_emit_gfx_shadow() local
6304 struct amdgpu_device *adev = ring->adev; gfx_v11_0_ring_emit_de_meta() local
6350 struct amdgpu_device *adev = ring->adev; gfx_v11_0_ring_emit_rreg() local
6404 gfx_v11_0_set_gfx_eop_interrupt_state(struct amdgpu_device * adev,uint32_t me,uint32_t pipe,enum amdgpu_interrupt_state state) gfx_v11_0_set_gfx_eop_interrupt_state() argument
6449 gfx_v11_0_set_compute_eop_interrupt_state(struct amdgpu_device * adev,int me,int pipe,enum amdgpu_interrupt_state state) gfx_v11_0_set_compute_eop_interrupt_state() argument
6506 gfx_v11_0_set_eop_interrupt_state(struct amdgpu_device * adev,struct amdgpu_irq_src * src,unsigned type,enum amdgpu_interrupt_state state) gfx_v11_0_set_eop_interrupt_state() argument
6536 gfx_v11_0_eop_irq(struct amdgpu_device * adev,struct amdgpu_irq_src * source,struct amdgpu_iv_entry * entry) gfx_v11_0_eop_irq() argument
6596 gfx_v11_0_set_priv_reg_fault_state(struct amdgpu_device * adev,struct amdgpu_irq_src * source,unsigned int type,enum amdgpu_interrupt_state state) gfx_v11_0_set_priv_reg_fault_state() argument
6642 gfx_v11_0_set_bad_op_fault_state(struct amdgpu_device * adev,struct amdgpu_irq_src * source,unsigned type,enum amdgpu_interrupt_state state) gfx_v11_0_set_bad_op_fault_state() argument
6687 gfx_v11_0_set_priv_inst_fault_state(struct amdgpu_device * adev,struct amdgpu_irq_src * source,unsigned int type,enum amdgpu_interrupt_state state) gfx_v11_0_set_priv_inst_fault_state() argument
6726 struct amdgpu_device *adev = gfx_v11_0_userq_priv_fault_work() local
6753 gfx_v11_0_handle_priv_fault(struct amdgpu_device * adev,struct amdgpu_iv_entry * entry) gfx_v11_0_handle_priv_fault() argument
6765 gfx_v11_0_priv_reg_irq(struct amdgpu_device * adev,struct amdgpu_irq_src * source,struct amdgpu_iv_entry * entry) gfx_v11_0_priv_reg_irq() argument
6774 gfx_v11_0_bad_op_irq(struct amdgpu_device * adev,struct amdgpu_irq_src * source,struct amdgpu_iv_entry * entry) gfx_v11_0_bad_op_irq() argument
6783 gfx_v11_0_priv_inst_irq(struct amdgpu_device * adev,struct amdgpu_irq_src * source,struct amdgpu_iv_entry * entry) gfx_v11_0_priv_inst_irq() argument
6792 gfx_v11_0_rlc_gc_fed_irq(struct amdgpu_device * adev,struct amdgpu_irq_src * source,struct amdgpu_iv_entry * entry) gfx_v11_0_rlc_gc_fed_irq() argument
6873 struct amdgpu_device *adev = ring->adev; gfx_v11_0_reset_kgq() local
6883 struct amdgpu_device *adev = ring->adev; gfx_v11_0_reset_kcq() local
6890 struct amdgpu_device *adev = ip_block->adev; gfx_v11_ip_print() local
6959 struct amdgpu_device *adev = ip_block->adev; gfx_v11_ip_dump() local
7196 gfx_v11_0_set_ring_funcs(struct amdgpu_device * adev) gfx_v11_0_set_ring_funcs() argument
7233 gfx_v11_0_set_irq_funcs(struct amdgpu_device * adev) gfx_v11_0_set_irq_funcs() argument
7252 gfx_v11_0_set_imu_funcs(struct amdgpu_device * adev) gfx_v11_0_set_imu_funcs() argument
7262 gfx_v11_0_set_rlc_funcs(struct amdgpu_device * adev) gfx_v11_0_set_rlc_funcs() argument
7267 gfx_v11_0_set_gds_init(struct amdgpu_device * adev) gfx_v11_0_set_gds_init() argument
7279 gfx_v11_0_set_mqd_funcs(struct amdgpu_device * adev) gfx_v11_0_set_mqd_funcs() argument
7293 gfx_v11_0_set_user_wgp_inactive_bitmap_per_sh(struct amdgpu_device * adev,u32 bitmap) gfx_v11_0_set_user_wgp_inactive_bitmap_per_sh() argument
7307 gfx_v11_0_get_wgp_active_bitmap_per_sh(struct amdgpu_device * adev) gfx_v11_0_get_wgp_active_bitmap_per_sh() argument
7322 gfx_v11_0_get_cu_active_bitmap_per_sh(struct amdgpu_device * adev) gfx_v11_0_get_cu_active_bitmap_per_sh() argument
7340 gfx_v11_0_get_cu_info(struct amdgpu_device * adev,struct amdgpu_cu_info * cu_info) gfx_v11_0_get_cu_info() argument
[all...]
H A Dvce_v2_0.c62 struct amdgpu_device *adev = ring->adev; in vce_v2_0_ring_get_rptr() local
79 struct amdgpu_device *adev = ring->adev; in vce_v2_0_ring_get_wptr() local
96 struct amdgpu_device *adev = ring->adev; in vce_v2_0_ring_set_wptr() local
104 static int vce_v2_0_lmi_clean(struct amdgpu_device *adev) in vce_v2_0_lmi_clean()
121 static int vce_v2_0_firmware_loaded(struct amdgpu_device *adev) in vce_v2_0_firmware_loaded()
147 static void vce_v2_0_disable_cg(struct amdgpu_device *adev) in vce_v2_0_disable_cg()
152 static void vce_v2_0_init_cg(struct amdgpu_device *adev) in vce_v2_0_init_cg()
173 static void vce_v2_0_mc_resume(struct amdgpu_device *adev) in vce_v2_0_mc_resume()
211 struct amdgpu_device *adev = ip_block->adev; in vce_v2_0_is_idle() local
218 struct amdgpu_device *adev = ip_block->adev; in vce_v2_0_wait_for_idle() local
[all …]
H A Dgfx_v12_0.c355 struct amdgpu_device *adev = kiq_ring->adev; gfx_v12_0_kiq_unmap_queues() local
425 gfx_v12_0_set_kiq_pm4_funcs(struct amdgpu_device * adev) gfx_v12_0_set_kiq_pm4_funcs() argument
454 struct amdgpu_device *adev = ring->adev; gfx_v12_0_ring_test_ring() local
496 struct amdgpu_device *adev = ring->adev; gfx_v12_0_ring_test_ib() local
556 gfx_v12_0_free_microcode(struct amdgpu_device * adev) gfx_v12_0_free_microcode() argument
566 gfx_v12_0_init_toc_microcode(struct amdgpu_device * adev,const char * ucode_prefix) gfx_v12_0_init_toc_microcode() argument
589 gfx_v12_0_init_microcode(struct amdgpu_device * adev) gfx_v12_0_init_microcode() argument
677 gfx_v12_0_get_csb_size(struct amdgpu_device * adev) gfx_v12_0_get_csb_size() argument
696 gfx_v12_0_get_csb_buffer(struct amdgpu_device * adev,u32 * buffer) gfx_v12_0_get_csb_buffer() argument
726 gfx_v12_0_rlc_fini(struct amdgpu_device * adev) gfx_v12_0_rlc_fini() argument
739 gfx_v12_0_init_rlcg_reg_access_ctrl(struct amdgpu_device * adev) gfx_v12_0_init_rlcg_reg_access_ctrl() argument
754 gfx_v12_0_rlc_init(struct amdgpu_device * adev) gfx_v12_0_rlc_init() argument
777 gfx_v12_0_mec_fini(struct amdgpu_device * adev) gfx_v12_0_mec_fini() argument
784 gfx_v12_0_me_init(struct amdgpu_device * adev) gfx_v12_0_me_init() argument
791 gfx_v12_0_mec_init(struct amdgpu_device * adev) gfx_v12_0_mec_init() argument
824 wave_read_ind(struct amdgpu_device * adev,uint32_t wave,uint32_t address) wave_read_ind() argument
832 wave_read_regs(struct amdgpu_device * adev,uint32_t wave,uint32_t thread,uint32_t regno,uint32_t num,uint32_t * out) wave_read_regs() argument
845 gfx_v12_0_read_wave_data(struct amdgpu_device * adev,uint32_t xcc_id,uint32_t simd,uint32_t wave,uint32_t * dst,int * no_fields) gfx_v12_0_read_wave_data() argument
882 gfx_v12_0_read_wave_sgprs(struct amdgpu_device * adev,uint32_t xcc_id,uint32_t simd,uint32_t wave,uint32_t start,uint32_t size,uint32_t * dst) gfx_v12_0_read_wave_sgprs() argument
894 gfx_v12_0_read_wave_vgprs(struct amdgpu_device * adev,uint32_t xcc_id,uint32_t simd,uint32_t wave,uint32_t thread,uint32_t start,uint32_t size,uint32_t * dst) gfx_v12_0_read_wave_vgprs() argument
905 gfx_v12_0_select_me_pipe_q(struct amdgpu_device * adev,u32 me,u32 pipe,u32 q,u32 vm,u32 xcc_id) gfx_v12_0_select_me_pipe_q() argument
917 gfx_v12_0_get_gfx_shadow_info_nocheck(struct amdgpu_device * adev,struct amdgpu_gfx_shadow_info * shadow_info) gfx_v12_0_get_gfx_shadow_info_nocheck() argument
930 gfx_v12_0_get_gfx_shadow_info(struct amdgpu_device * adev,struct amdgpu_gfx_shadow_info * shadow_info,bool skip_check) gfx_v12_0_get_gfx_shadow_info() argument
955 gfx_v12_0_gpu_early_init(struct amdgpu_device * adev) gfx_v12_0_gpu_early_init() argument
976 gfx_v12_0_gfx_ring_init(struct amdgpu_device * adev,int ring_id,int me,int pipe,int queue) gfx_v12_0_gfx_ring_init() argument
1007 gfx_v12_0_compute_ring_init(struct amdgpu_device * adev,int ring_id,int mec,int pipe,int queue) gfx_v12_0_compute_ring_init() argument
1056 gfx_v12_0_parse_rlc_toc(struct amdgpu_device * adev,void * rlc_toc) gfx_v12_0_parse_rlc_toc() argument
1071 gfx_v12_0_calc_toc_total_size(struct amdgpu_device * adev) gfx_v12_0_calc_toc_total_size() argument
1091 gfx_v12_0_rlc_autoload_buffer_init(struct amdgpu_device * adev) gfx_v12_0_rlc_autoload_buffer_init() argument
1112 gfx_v12_0_rlc_backdoor_autoload_copy_ucode(struct amdgpu_device * adev,SOC24_FIRMWARE_ID id,const void * fw_data,uint32_t fw_size) gfx_v12_0_rlc_backdoor_autoload_copy_ucode() argument
1140 gfx_v12_0_rlc_backdoor_autoload_copy_toc_ucode(struct amdgpu_device * adev) gfx_v12_0_rlc_backdoor_autoload_copy_toc_ucode() argument
1157 gfx_v12_0_rlc_backdoor_autoload_copy_gfx_ucode(struct amdgpu_device * adev) gfx_v12_0_rlc_backdoor_autoload_copy_gfx_ucode() argument
1269 gfx_v12_0_rlc_backdoor_autoload_copy_sdma_ucode(struct amdgpu_device * adev) gfx_v12_0_rlc_backdoor_autoload_copy_sdma_ucode() argument
1286 gfx_v12_0_rlc_backdoor_autoload_copy_mes_ucode(struct amdgpu_device * adev) gfx_v12_0_rlc_backdoor_autoload_copy_mes_ucode() argument
1319 gfx_v12_0_rlc_backdoor_autoload_enable(struct amdgpu_device * adev) gfx_v12_0_rlc_backdoor_autoload_enable() argument
1364 gfx_v12_0_alloc_ip_dump(struct amdgpu_device * adev) gfx_v12_0_alloc_ip_dump() argument
1410 struct amdgpu_device *adev = ip_block->adev; gfx_v12_0_sw_init() local
1618 gfx_v12_0_pfp_fini(struct amdgpu_device * adev) gfx_v12_0_pfp_fini() argument
1629 gfx_v12_0_me_fini(struct amdgpu_device * adev) gfx_v12_0_me_fini() argument
1640 gfx_v12_0_rlc_autoload_buffer_fini(struct amdgpu_device * adev) gfx_v12_0_rlc_autoload_buffer_fini() argument
1650 struct amdgpu_device *adev = ip_block->adev; gfx_v12_0_sw_fini() local
1685 gfx_v12_0_select_se_sh(struct amdgpu_device * adev,u32 se_num,u32 sh_num,u32 instance,int xcc_id) gfx_v12_0_select_se_sh() argument
1712 gfx_v12_0_get_sa_active_bitmap(struct amdgpu_device * adev) gfx_v12_0_get_sa_active_bitmap() argument
1730 gfx_v12_0_get_rb_active_bitmap(struct amdgpu_device * adev) gfx_v12_0_get_rb_active_bitmap() argument
1749 gfx_v12_0_setup_rb(struct amdgpu_device * adev) gfx_v12_0_setup_rb() argument
1784 gfx_v12_0_init_compute_vmid(struct amdgpu_device * adev) gfx_v12_0_init_compute_vmid() argument
1815 gfx_v12_0_tcp_harvest(struct amdgpu_device * adev) gfx_v12_0_tcp_harvest() argument
1820 gfx_v12_0_get_tcc_info(struct amdgpu_device * adev) gfx_v12_0_get_tcc_info() argument
1824 gfx_v12_0_constants_init(struct amdgpu_device * adev) gfx_v12_0_constants_init() argument
1874 gfx_v12_0_get_cpg_int_cntl(struct amdgpu_device * adev,int me,int pipe) gfx_v12_0_get_cpg_int_cntl() argument
1888 gfx_v12_0_get_cpc_int_cntl(struct amdgpu_device * adev,int me,int pipe) gfx_v12_0_get_cpc_int_cntl() argument
1909 gfx_v12_0_enable_gui_idle_interrupt(struct amdgpu_device * adev,bool enable) gfx_v12_0_enable_gui_idle_interrupt() argument
1938 gfx_v12_0_init_csb(struct amdgpu_device * adev) gfx_v12_0_init_csb() argument
1951 gfx_v12_0_rlc_stop(struct amdgpu_device * adev) gfx_v12_0_rlc_stop() argument
1959 gfx_v12_0_rlc_reset(struct amdgpu_device * adev) gfx_v12_0_rlc_reset() argument
1967 gfx_v12_0_rlc_smu_handshake_cntl(struct amdgpu_device * adev,bool enable) gfx_v12_0_rlc_smu_handshake_cntl() argument
1989 gfx_v12_0_rlc_start(struct amdgpu_device * adev) gfx_v12_0_rlc_start() argument
2000 gfx_v12_0_rlc_enable_srm(struct amdgpu_device * adev) gfx_v12_0_rlc_enable_srm() argument
2011 gfx_v12_0_load_rlcg_microcode(struct amdgpu_device * adev) gfx_v12_0_load_rlcg_microcode() argument
2032 gfx_v12_0_load_rlc_iram_dram_microcode(struct amdgpu_device * adev) gfx_v12_0_load_rlc_iram_dram_microcode() argument
2076 gfx_v12_0_rlc_load_microcode(struct amdgpu_device * adev) gfx_v12_0_rlc_load_microcode() argument
2104 gfx_v12_0_rlc_resume(struct amdgpu_device * adev) gfx_v12_0_rlc_resume() argument
2142 gfx_v12_0_config_gfx_rs64(struct amdgpu_device * adev) gfx_v12_0_config_gfx_rs64() argument
2227 gfx_v12_0_set_pfp_ucode_start_addr(struct amdgpu_device * adev) gfx_v12_0_set_pfp_ucode_start_addr() argument
2269 gfx_v12_0_set_me_ucode_start_addr(struct amdgpu_device * adev) gfx_v12_0_set_me_ucode_start_addr() argument
2311 gfx_v12_0_set_mec_ucode_start_addr(struct amdgpu_device * adev) gfx_v12_0_set_mec_ucode_start_addr() argument
2331 gfx_v12_0_wait_for_rlc_autoload_complete(struct amdgpu_device * adev) gfx_v12_0_wait_for_rlc_autoload_complete() argument
2365 gfx_v12_0_cp_gfx_enable(struct amdgpu_device * adev,bool enable) gfx_v12_0_cp_gfx_enable() argument
2386 gfx_v12_0_cp_gfx_load_pfp_microcode_rs64(struct amdgpu_device * adev) gfx_v12_0_cp_gfx_load_pfp_microcode_rs64() argument
2530 gfx_v12_0_cp_gfx_load_me_microcode_rs64(struct amdgpu_device * adev) gfx_v12_0_cp_gfx_load_me_microcode_rs64() argument
2675 gfx_v12_0_cp_gfx_load_microcode(struct amdgpu_device * adev) gfx_v12_0_cp_gfx_load_microcode() argument
2699 gfx_v12_0_cp_gfx_start(struct amdgpu_device * adev) gfx_v12_0_cp_gfx_start() argument
2712 gfx_v12_0_cp_gfx_switch_pipe(struct amdgpu_device * adev,CP_PIPE_ID pipe) gfx_v12_0_cp_gfx_switch_pipe() argument
2723 gfx_v12_0_cp_gfx_set_doorbell(struct amdgpu_device * adev,struct amdgpu_ring * ring) gfx_v12_0_cp_gfx_set_doorbell() argument
2748 gfx_v12_0_cp_gfx_resume(struct amdgpu_device * adev) gfx_v12_0_cp_gfx_resume() argument
2811 gfx_v12_0_cp_compute_enable(struct amdgpu_device * adev,bool enable) gfx_v12_0_cp_compute_enable() argument
2843 gfx_v12_0_cp_compute_load_microcode_rs64(struct amdgpu_device * adev) gfx_v12_0_cp_compute_load_microcode_rs64() argument
2978 struct amdgpu_device *adev = ring->adev; gfx_v12_0_kiq_setting() local
2987 gfx_v12_0_cp_set_doorbell_range(struct amdgpu_device * adev) gfx_v12_0_cp_set_doorbell_range() argument
3002 gfx_v12_0_gfx_mqd_init(struct amdgpu_device * adev,void * m,struct amdgpu_mqd_prop * prop) gfx_v12_0_gfx_mqd_init() argument
3102 struct amdgpu_device *adev = ring->adev; gfx_v12_0_kgq_init_queue() local
3128 gfx_v12_0_cp_async_gfx_ring_resume(struct amdgpu_device * adev) gfx_v12_0_cp_async_gfx_ring_resume() argument
3145 gfx_v12_0_compute_mqd_set_cu_mask(struct amdgpu_device * adev,struct v12_compute_mqd * mqd,struct amdgpu_mqd_prop * prop) gfx_v12_0_compute_mqd_set_cu_mask() argument
3176 gfx_v12_0_compute_mqd_init(struct amdgpu_device * adev,void * m,struct amdgpu_mqd_prop * prop) gfx_v12_0_compute_mqd_init() argument
3322 struct amdgpu_device *adev = ring->adev; gfx_v12_0_kiq_init_register() local
3432 struct amdgpu_device *adev = ring->adev; gfx_v12_0_kiq_init_queue() local
3472 struct amdgpu_device *adev = ring->adev; gfx_v12_0_kcq_init_queue() local
3499 gfx_v12_0_kiq_resume(struct amdgpu_device * adev) gfx_v12_0_kiq_resume() argument
3506 gfx_v12_0_kcq_resume(struct amdgpu_device * adev) gfx_v12_0_kcq_resume() argument
3522 gfx_v12_0_cp_resume(struct amdgpu_device * adev) gfx_v12_0_cp_resume() argument
3595 gfx_v12_0_cp_enable(struct amdgpu_device * adev,bool enable) gfx_v12_0_cp_enable() argument
3601 gfx_v12_0_gfxhub_enable(struct amdgpu_device * adev) gfx_v12_0_gfxhub_enable() argument
3622 get_gb_addr_config(struct amdgpu_device * adev) get_gb_addr_config() argument
3658 gfx_v12_0_disable_gpa_mode(struct amdgpu_device * adev) gfx_v12_0_disable_gpa_mode() argument
3671 gfx_v12_0_init_golden_registers(struct amdgpu_device * adev) gfx_v12_0_init_golden_registers() argument
3693 gfx_v12_0_set_userq_eop_interrupts(struct amdgpu_device * adev,bool enable) gfx_v12_0_set_userq_eop_interrupts() argument
3768 struct amdgpu_device *adev = ip_block->adev; gfx_v12_0_hw_init() local
3881 struct amdgpu_device *adev = ip_block->adev; gfx_v12_0_hw_fini() local
3934 struct amdgpu_device *adev = ip_block->adev; gfx_v12_0_is_idle() local
3947 struct amdgpu_device *adev = ip_block->adev; gfx_v12_0_wait_for_idle() local
3961 gfx_v12_0_get_gpu_clock_counter(struct amdgpu_device * adev) gfx_v12_0_get_gpu_clock_counter() argument
3976 struct amdgpu_device *adev = ip_block->adev; gfx_v12_0_early_init() local
4020 gfx_v12_0_is_rlc_enabled(struct amdgpu_device * adev) gfx_v12_0_is_rlc_enabled() argument
4029 gfx_v12_0_set_safe_mode(struct amdgpu_device * adev,int xcc_id) gfx_v12_0_set_safe_mode() argument
4049 gfx_v12_0_unset_safe_mode(struct amdgpu_device * adev,int xcc_id) gfx_v12_0_unset_safe_mode() argument
4055 gfx_v12_0_update_perf_clk(struct amdgpu_device * adev,bool enable) gfx_v12_0_update_perf_clk() argument
4074 gfx_v12_0_update_spm_vmid(struct amdgpu_device * adev,int xcc_id,struct amdgpu_ring * ring,unsigned vmid) gfx_v12_0_update_spm_vmid() argument
4133 struct amdgpu_device *adev = ip_block->adev; gfx_v12_0_set_powergating_state() local
4151 gfx_v12_0_update_coarse_grain_clock_gating(struct amdgpu_device * adev,bool enable) gfx_v12_0_update_coarse_grain_clock_gating() argument
4268 gfx_v12_0_update_medium_grain_clock_gating(struct amdgpu_device * adev,bool enable) gfx_v12_0_update_medium_grain_clock_gating() argument
4302 gfx_v12_0_update_repeater_fgcg(struct amdgpu_device * adev,bool enable) gfx_v12_0_update_repeater_fgcg() argument
4323 gfx_v12_0_update_sram_fgcg(struct amdgpu_device * adev,bool enable) gfx_v12_0_update_sram_fgcg() argument
4342 gfx_v12_0_update_gfx_clock_gating(struct amdgpu_device * adev,bool enable) gfx_v12_0_update_gfx_clock_gating() argument
4373 struct amdgpu_device *adev = ip_block->adev; gfx_v12_0_set_clockgating_state() local
4393 struct amdgpu_device *adev = ip_block->adev; gfx_v12_0_get_clockgating_state() local
4440 struct amdgpu_device *adev = ring->adev; gfx_v12_0_ring_get_wptr_gfx() local
4456 struct amdgpu_device *adev = ring->adev; gfx_v12_0_ring_set_wptr_gfx() local
4479 struct amdgpu_device *adev = ring->adev; gfx_v12_0_ring_get_wptr_compute() local
4494 struct amdgpu_device *adev = ring->adev; gfx_v12_0_ring_set_wptr_compute() local
4508 struct amdgpu_device *adev = ring->adev; gfx_v12_0_ring_emit_hdp_flush() local
4634 struct amdgpu_device *adev = ring->adev; gfx_v12_0_ring_emit_fence_kiq() local
4695 struct amdgpu_device *adev = ring->adev; gfx_v12_0_ring_emit_rreg() local
4750 gfx_v12_0_set_gfx_eop_interrupt_state(struct amdgpu_device * adev,uint32_t me,uint32_t pipe,enum amdgpu_interrupt_state state) gfx_v12_0_set_gfx_eop_interrupt_state() argument
4792 gfx_v12_0_set_compute_eop_interrupt_state(struct amdgpu_device * adev,int me,int pipe,enum amdgpu_interrupt_state state) gfx_v12_0_set_compute_eop_interrupt_state() argument
4843 gfx_v12_0_set_eop_interrupt_state(struct amdgpu_device * adev,struct amdgpu_irq_src * src,unsigned type,enum amdgpu_interrupt_state state) gfx_v12_0_set_eop_interrupt_state() argument
4873 gfx_v12_0_eop_irq(struct amdgpu_device * adev,struct amdgpu_irq_src * source,struct amdgpu_iv_entry * entry) gfx_v12_0_eop_irq() argument
4933 gfx_v12_0_set_priv_reg_fault_state(struct amdgpu_device * adev,struct amdgpu_irq_src * source,unsigned int type,enum amdgpu_interrupt_state state) gfx_v12_0_set_priv_reg_fault_state() argument
4979 gfx_v12_0_set_bad_op_fault_state(struct amdgpu_device * adev,struct amdgpu_irq_src * source,unsigned type,enum amdgpu_interrupt_state state) gfx_v12_0_set_bad_op_fault_state() argument
5024 gfx_v12_0_set_priv_inst_fault_state(struct amdgpu_device * adev,struct amdgpu_irq_src * source,unsigned int type,enum amdgpu_interrupt_state state) gfx_v12_0_set_priv_inst_fault_state() argument
5063 struct amdgpu_device *adev = gfx_v12_0_userq_priv_fault_work() local
5090 gfx_v12_0_handle_priv_fault(struct amdgpu_device * adev,struct amdgpu_iv_entry * entry) gfx_v12_0_handle_priv_fault() argument
5102 gfx_v12_0_priv_reg_irq(struct amdgpu_device * adev,struct amdgpu_irq_src * source,struct amdgpu_iv_entry * entry) gfx_v12_0_priv_reg_irq() argument
5111 gfx_v12_0_bad_op_irq(struct amdgpu_device * adev,struct amdgpu_irq_src * source,struct amdgpu_iv_entry * entry) gfx_v12_0_bad_op_irq() argument
5120 gfx_v12_0_priv_inst_irq(struct amdgpu_device * adev,struct amdgpu_irq_src * source,struct amdgpu_iv_entry * entry) gfx_v12_0_priv_inst_irq() argument
5176 struct amdgpu_device *adev = ip_block->adev; gfx_v12_ip_print() local
5240 struct amdgpu_device *adev = ip_block->adev; gfx_v12_ip_dump() local
5308 struct amdgpu_device *adev = ring->adev; gfx_v12_0_reset_kgq() local
5318 struct amdgpu_device *adev = ring->adev; gfx_v12_0_reset_kcq() local
5471 gfx_v12_0_set_ring_funcs(struct amdgpu_device * adev) gfx_v12_0_set_ring_funcs() argument
5504 gfx_v12_0_set_irq_funcs(struct amdgpu_device * adev) gfx_v12_0_set_irq_funcs() argument
5519 gfx_v12_0_set_imu_funcs(struct amdgpu_device * adev) gfx_v12_0_set_imu_funcs() argument
5529 gfx_v12_0_set_rlc_funcs(struct amdgpu_device * adev) gfx_v12_0_set_rlc_funcs() argument
5534 gfx_v12_0_set_mqd_funcs(struct amdgpu_device * adev) gfx_v12_0_set_mqd_funcs() argument
5548 gfx_v12_0_set_user_wgp_inactive_bitmap_per_sh(struct amdgpu_device * adev,u32 bitmap) gfx_v12_0_set_user_wgp_inactive_bitmap_per_sh() argument
5562 gfx_v12_0_get_wgp_active_bitmap_per_sh(struct amdgpu_device * adev) gfx_v12_0_get_wgp_active_bitmap_per_sh() argument
5577 gfx_v12_0_get_cu_active_bitmap_per_sh(struct amdgpu_device * adev) gfx_v12_0_get_cu_active_bitmap_per_sh() argument
5595 gfx_v12_0_get_cu_info(struct amdgpu_device * adev,struct amdgpu_cu_info * cu_info) gfx_v12_0_get_cu_info() argument
[all...]
H A Dgfx_v10_0.c3709 struct amdgpu_device *adev = kiq_ring->adev; in gfx10_kiq_set_resources() local
3825 struct amdgpu_device *adev = kiq_ring->adev; in gfx_v10_0_kiq_reset_hw_queue() local
3887 static void gfx_v10_0_set_kiq_pm4_funcs(struct amdgpu_device *adev) in gfx_v10_0_set_kiq_pm4_funcs()
3892 static void gfx_v10_0_init_spm_golden_registers(struct amdgpu_device *adev) in gfx_v10_0_init_spm_golden_registers()
3915 static void gfx_v10_0_init_golden_registers(struct amdgpu_device *adev) in gfx_v10_0_init_golden_registers()
4035 struct amdgpu_device *adev = ring->adev; in gfx_v10_0_ring_test_ring() local
4073 struct amdgpu_device *adev = ring->adev; in gfx_v10_0_ring_test_ib() local
4128 static void gfx_v10_0_free_microcode(struct amdgpu_device *adev) in gfx_v10_0_free_microcode()
4140 static void gfx_v10_0_check_fw_write_wait(struct amdgpu_device *adev) in gfx_v10_0_check_fw_write_wait()
4176 static bool gfx_v10_0_navi10_gfxoff_should_enable(struct amdgpu_device *adev) in gfx_v10_0_navi10_gfxoff_should_enable()
[all …]
H A Dgfx_v12_1.c275 struct amdgpu_device *adev = kiq_ring->adev; in gfx_v12_1_kiq_unmap_queues() local
345 static void gfx_v12_1_set_kiq_pm4_funcs(struct amdgpu_device *adev) in gfx_v12_1_set_kiq_pm4_funcs()
382 struct amdgpu_device *adev = ring->adev; in gfx_v12_1_ring_test_ring() local
429 struct amdgpu_device *adev = ring->adev; in gfx_v12_1_ring_test_ib() local
489 static void gfx_v12_1_free_microcode(struct amdgpu_device *adev) in gfx_v12_1_free_microcode()
497 static int gfx_v12_1_init_toc_microcode(struct amdgpu_device *adev, const char *ucode_prefix) in gfx_v12_1_init_toc_microcode()
520 static int gfx_v12_1_init_microcode(struct amdgpu_device *adev) in gfx_v12_1_init_microcode()
586 static u32 gfx_v12_1_get_csb_size(struct amdgpu_device *adev) in gfx_v12_1_get_csb_size()
605 static void gfx_v12_1_get_csb_buffer(struct amdgpu_device *adev, u32 *buffer) in gfx_v12_1_get_csb_buffer()
635 static void gfx_v12_1_rlc_fini(struct amdgpu_device *adev) in gfx_v12_1_rlc_fini()
[all …]
H A Dgfx_v9_4_3.c177 struct amdgpu_device *adev = kiq_ring->adev; in gfx_v9_4_3_kiq_set_resources() local
201 struct amdgpu_device *adev = kiq_ring->adev; in gfx_v9_4_3_kiq_map_queues() local
294 struct amdgpu_device *adev = kiq_ring->adev; in gfx_v9_4_3_kiq_reset_hw_queue() local
337 static void gfx_v9_4_3_set_kiq_pm4_funcs(struct amdgpu_device *adev) in gfx_v9_4_3_set_kiq_pm4_funcs()
346 static void gfx_v9_4_3_init_golden_registers(struct amdgpu_device *adev) in gfx_v9_4_3_init_golden_registers()
418 struct amdgpu_device *adev = ring->adev; in gfx_v9_4_3_ring_test_ring() local
452 struct amdgpu_device *adev = ring->adev; in gfx_v9_4_3_ring_test_ib() local
508 static uint64_t gfx_v9_4_3_get_gpu_clock_counter(struct amdgpu_device *adev) in gfx_v9_4_3_get_gpu_clock_counter()
521 static void gfx_v9_4_3_free_microcode(struct amdgpu_device *adev) in gfx_v9_4_3_free_microcode()
533 static int gfx_v9_4_3_init_rlc_microcode(struct amdgpu_device *adev, in gfx_v9_4_3_init_rlc_microcode()
[all …]
H A Dgmc_v11_0.c53 static int gmc_v11_0_ecc_interrupt_state(struct amdgpu_device *adev, in gmc_v11_0_ecc_interrupt_state()
62 gmc_v11_0_vm_fault_interrupt_state(struct amdgpu_device *adev, in gmc_v11_0_vm_fault_interrupt_state()
99 static int gmc_v11_0_process_interrupt(struct amdgpu_device *adev, in gmc_v11_0_process_interrupt()
176 static void gmc_v11_0_set_irq_funcs(struct amdgpu_device *adev) in gmc_v11_0_set_irq_funcs()
194 static bool gmc_v11_0_use_invalidate_semaphore(struct amdgpu_device *adev, in gmc_v11_0_use_invalidate_semaphore()
202 struct amdgpu_device *adev, in gmc_v11_0_get_vmid_pasid_mapping_info()
220 static void gmc_v11_0_flush_gpu_tlb(struct amdgpu_device *adev, uint32_t vmid, in gmc_v11_0_flush_gpu_tlb()
324 static void gmc_v11_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev, in gmc_v11_0_flush_gpu_tlb_pasid()
402 struct amdgpu_device *adev = ring->adev; in gmc_v11_0_emit_pasid_mapping() local
445 static void gmc_v11_0_get_vm_pde(struct amdgpu_device *adev, int level, in gmc_v11_0_get_vm_pde()
[all …]
H A Dgfx_v8_0.c736 static void gfx_v8_0_init_golden_registers(struct amdgpu_device *adev) in gfx_v8_0_init_golden_registers()
840 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_ring_test_ring() local
870 struct amdgpu_device *adev = ring->adev; in gfx_v8_0_ring_test_ib() local
925 static void gfx_v8_0_free_microcode(struct amdgpu_device *adev) in gfx_v8_0_free_microcode()
939 static int gfx_v8_0_init_microcode(struct amdgpu_device *adev) in gfx_v8_0_init_microcode()
1224 static void gfx_v8_0_get_csb_buffer(struct amdgpu_device *adev, u32 *buffer) in gfx_v8_0_get_csb_buffer()
1244 static int gfx_v8_0_cp_jump_table_num(struct amdgpu_device *adev) in gfx_v8_0_cp_jump_table_num()
1252 static int gfx_v8_0_rlc_init(struct amdgpu_device *adev) in gfx_v8_0_rlc_init()
1283 static void gfx_v8_0_mec_fini(struct amdgpu_device *adev) in gfx_v8_0_mec_fini()
1288 static int gfx_v8_0_mec_init(struct amdgpu_device *adev) in gfx_v8_0_mec_init()
[all …]
H A Dgfxhub_v2_1.c79 gfxhub_v2_1_print_l2_protection_fault_status(struct amdgpu_device *adev, in gfxhub_v2_1_print_l2_protection_fault_status()
108 static u64 gfxhub_v2_1_get_fb_location(struct amdgpu_device *adev) in gfxhub_v2_1_get_fb_location()
118 static u64 gfxhub_v2_1_get_mc_fb_offset(struct amdgpu_device *adev) in gfxhub_v2_1_get_mc_fb_offset()
123 static void gfxhub_v2_1_setup_vm_pt_regs(struct amdgpu_device *adev, uint32_t vmid, in gfxhub_v2_1_setup_vm_pt_regs()
137 static void gfxhub_v2_1_init_gart_aperture_regs(struct amdgpu_device *adev) in gfxhub_v2_1_init_gart_aperture_regs()
154 static void gfxhub_v2_1_init_system_aperture_regs(struct amdgpu_device *adev) in gfxhub_v2_1_init_system_aperture_regs()
190 static void gfxhub_v2_1_init_tlb_regs(struct amdgpu_device *adev) in gfxhub_v2_1_init_tlb_regs()
209 static void gfxhub_v2_1_init_cache_regs(struct amdgpu_device *adev) in gfxhub_v2_1_init_cache_regs()
260 static void gfxhub_v2_1_enable_system_domain(struct amdgpu_device *adev) in gfxhub_v2_1_enable_system_domain()
272 static void gfxhub_v2_1_disable_identity_aperture(struct amdgpu_device *adev) in gfxhub_v2_1_disable_identity_aperture()
[all …]
H A Damdgpu_gfx.c50 int amdgpu_gfx_mec_queue_to_bit(struct amdgpu_device *adev, int mec, in amdgpu_gfx_mec_queue_to_bit()
63 void amdgpu_queue_mask_bit_to_mec_queue(struct amdgpu_device *adev, int bit, in amdgpu_queue_mask_bit_to_mec_queue()
74 bool amdgpu_gfx_is_mec_queue_enabled(struct amdgpu_device *adev, in amdgpu_gfx_is_mec_queue_enabled()
81 static int amdgpu_gfx_me_queue_to_bit(struct amdgpu_device *adev, in amdgpu_gfx_me_queue_to_bit()
95 bool amdgpu_gfx_is_me_queue_enabled(struct amdgpu_device *adev, in amdgpu_gfx_is_me_queue_enabled()
113 void amdgpu_gfx_parse_disable_cu(struct amdgpu_device *adev, unsigned int *mask, in amdgpu_gfx_parse_disable_cu()
149 static bool amdgpu_gfx_is_graphics_multipipe_capable(struct amdgpu_device *adev) in amdgpu_gfx_is_graphics_multipipe_capable()
154 static bool amdgpu_gfx_is_compute_multipipe_capable(struct amdgpu_device *adev) in amdgpu_gfx_is_compute_multipipe_capable()
173 bool amdgpu_gfx_is_high_priority_graphics_queue(struct amdgpu_device *adev, in amdgpu_gfx_is_high_priority_graphics_queue()
195 bool amdgpu_gfx_is_high_priority_compute_queue(struct amdgpu_device *adev, in amdgpu_gfx_is_high_priority_compute_queue()
[all …]
H A Dmmhub_v1_0.c37 static u64 mmhub_v1_0_get_fb_location(struct amdgpu_device *adev) in mmhub_v1_0_get_fb_location()
54 static void mmhub_v1_0_setup_vm_pt_regs(struct amdgpu_device *adev, uint32_t vmid, in mmhub_v1_0_setup_vm_pt_regs()
68 static void mmhub_v1_0_init_gart_aperture_regs(struct amdgpu_device *adev) in mmhub_v1_0_init_gart_aperture_regs()
85 static void mmhub_v1_0_init_system_aperture_regs(struct amdgpu_device *adev) in mmhub_v1_0_init_system_aperture_regs()
137 static void mmhub_v1_0_init_tlb_regs(struct amdgpu_device *adev) in mmhub_v1_0_init_tlb_regs()
157 static void mmhub_v1_0_init_cache_regs(struct amdgpu_device *adev) in mmhub_v1_0_init_cache_regs()
199 static void mmhub_v1_0_enable_system_domain(struct amdgpu_device *adev) in mmhub_v1_0_enable_system_domain()
211 static void mmhub_v1_0_disable_identity_aperture(struct amdgpu_device *adev) in mmhub_v1_0_disable_identity_aperture()
232 static void mmhub_v1_0_init_saw(struct amdgpu_device *adev) in mmhub_v1_0_init_saw()
278 static void mmhub_v1_0_setup_vmid_config(struct amdgpu_device *adev) in mmhub_v1_0_setup_vmid_config()
[all …]
H A Djpeg_v4_0.c72 struct amdgpu_device *adev = ip_block->adev; in jpeg_v4_0_early_init() local
94 struct amdgpu_device *adev = ip_block->adev; in jpeg_v4_0_sw_init() local
164 struct amdgpu_device *adev = ip_block->adev; in jpeg_v4_0_sw_fini() local
185 struct amdgpu_device *adev = ip_block->adev; in jpeg_v4_0_hw_init() local
222 struct amdgpu_device *adev = ip_block->adev; in jpeg_v4_0_hw_fini() local
276 static void jpeg_v4_0_disable_clock_gating(struct amdgpu_device *adev) in jpeg_v4_0_disable_clock_gating()
300 static void jpeg_v4_0_enable_clock_gating(struct amdgpu_device *adev) in jpeg_v4_0_enable_clock_gating()
324 static int jpeg_v4_0_disable_static_power_gating(struct amdgpu_device *adev) in jpeg_v4_0_disable_static_power_gating()
354 static int jpeg_v4_0_enable_static_power_gating(struct amdgpu_device *adev) in jpeg_v4_0_enable_static_power_gating()
388 static int jpeg_v4_0_start(struct amdgpu_device *adev) in jpeg_v4_0_start()
[all …]
H A Dsoc21.c170 static int soc21_query_video_codecs(struct amdgpu_device *adev, bool encode, in soc21_query_video_codecs()
225 static u32 soc21_didt_rreg(struct amdgpu_device *adev, u32 reg) in soc21_didt_rreg()
240 static void soc21_didt_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in soc21_didt_wreg()
253 static u32 soc21_get_config_memsize(struct amdgpu_device *adev) in soc21_get_config_memsize()
258 static u32 soc21_get_xclk(struct amdgpu_device *adev) in soc21_get_xclk()
270 void soc21_grbm_select(struct amdgpu_device *adev, in soc21_grbm_select()
282 static bool soc21_read_disabled_bios(struct amdgpu_device *adev) in soc21_read_disabled_bios()
310 static uint32_t soc21_get_register_value(struct amdgpu_device *adev, in soc21_get_register_value()
323 static int soc21_read_register(struct amdgpu_device *adev, u32 se_num, in soc21_read_register()
387 soc21_asic_reset_method(struct amdgpu_device *adev) in soc21_asic_reset_method()
[all …]
H A Djpeg_v5_0_1.c116 struct amdgpu_device *adev = ip_block->adev; in jpeg_v5_0_1_early_init() local
151 struct amdgpu_device *adev = ip_block->adev; in jpeg_v5_0_1_sw_init() local
246 struct amdgpu_device *adev = ip_block->adev; in jpeg_v5_0_1_sw_fini() local
268 struct amdgpu_device *adev = ip_block->adev; in jpeg_v5_0_1_hw_init() local
325 struct amdgpu_device *adev = ip_block->adev; in jpeg_v5_0_1_hw_fini() local
350 struct amdgpu_device *adev = ip_block->adev; in jpeg_v5_0_1_suspend() local
371 struct amdgpu_device *adev = ip_block->adev; in jpeg_v5_0_1_resume() local
383 static void jpeg_v5_0_1_init_inst(struct amdgpu_device *adev, int i) in jpeg_v5_0_1_init_inst()
404 static void jpeg_v5_0_1_deinit_inst(struct amdgpu_device *adev, int i) in jpeg_v5_0_1_deinit_inst()
420 struct amdgpu_device *adev = ring->adev; in jpeg_v5_0_1_init_jrbc() local
[all …]
H A Damdgpu_gmc.c44 bool amdgpu_gmc_is_pdb0_enabled(struct amdgpu_device *adev) in amdgpu_gmc_is_pdb0_enabled() argument
57 int amdgpu_gmc_pdb0_alloc(struct amdgpu_device *adev) in amdgpu_gmc_pdb0_alloc() argument
115 struct amdgpu_device *adev = amdgpu_ttm_adev(bo->tbo.bdev); amdgpu_gmc_get_pde_for_bo() local
137 struct amdgpu_device *adev = amdgpu_ttm_adev(bo->tbo.bdev); amdgpu_gmc_pd_addr() local
163 amdgpu_gmc_set_pte_pde(struct amdgpu_device * adev,void * cpu_pt_addr,uint32_t gpu_page_idx,uint64_t addr,uint64_t flags) amdgpu_gmc_set_pte_pde() argument
190 struct amdgpu_device *adev = amdgpu_ttm_adev(bo->bdev); amdgpu_gmc_agp_addr() local
214 amdgpu_gmc_vram_location(struct amdgpu_device * adev,struct amdgpu_gmc * mc,u64 base) amdgpu_gmc_vram_location() argument
256 amdgpu_gmc_sysvm_location(struct amdgpu_device * adev,struct amdgpu_gmc * mc) amdgpu_gmc_sysvm_location() argument
283 amdgpu_gmc_set_gart_size(struct amdgpu_device * adev,u64 default_size) amdgpu_gmc_set_gart_size() argument
303 amdgpu_gmc_gart_location(struct amdgpu_device * adev,struct amdgpu_gmc * mc,enum amdgpu_gart_placement gart_placement) amdgpu_gmc_gart_location() argument
358 amdgpu_gmc_agp_location(struct amdgpu_device * adev,struct amdgpu_gmc * mc) amdgpu_gmc_agp_location() argument
398 amdgpu_gmc_set_agp_default(struct amdgpu_device * adev,struct amdgpu_gmc * mc) amdgpu_gmc_set_agp_default() argument
430 amdgpu_gmc_filter_faults(struct amdgpu_device * adev,struct amdgpu_ih_ring * ih,uint64_t addr,uint16_t pasid,uint64_t timestamp) amdgpu_gmc_filter_faults() argument
500 amdgpu_gmc_filter_faults_remove(struct amdgpu_device * adev,uint64_t addr,uint16_t pasid) amdgpu_gmc_filter_faults_remove() argument
545 amdgpu_gmc_handle_retry_fault(struct amdgpu_device * adev,struct amdgpu_iv_entry * entry,u64 addr,u32 cam_index,u32 node_id,bool write_fault) amdgpu_gmc_handle_retry_fault() argument
593 amdgpu_gmc_ras_sw_init(struct amdgpu_device * adev) amdgpu_gmc_ras_sw_init() argument
642 amdgpu_gmc_allocate_vm_inv_eng(struct amdgpu_device * adev) amdgpu_gmc_allocate_vm_inv_eng() argument
710 amdgpu_gmc_flush_gpu_tlb(struct amdgpu_device * adev,uint32_t vmid,uint32_t vmhub,uint32_t flush_type) amdgpu_gmc_flush_gpu_tlb() argument
776 amdgpu_gmc_flush_gpu_tlb_pasid(struct amdgpu_device * adev,uint16_t pasid,uint32_t flush_type,bool all_hub,uint32_t inst) amdgpu_gmc_flush_gpu_tlb_pasid() argument
868 amdgpu_gmc_fw_reg_write_reg_wait(struct amdgpu_device * adev,uint32_t reg0,uint32_t reg1,uint32_t ref,uint32_t mask,uint32_t xcc_inst) amdgpu_gmc_fw_reg_write_reg_wait() argument
929 amdgpu_gmc_tmz_set(struct amdgpu_device * adev) amdgpu_gmc_tmz_set() argument
1000 amdgpu_gmc_noretry_set(struct amdgpu_device * adev) amdgpu_gmc_noretry_set() argument
1022 amdgpu_gmc_set_vm_fault_masks(struct amdgpu_device * adev,int hub_type,bool enable) amdgpu_gmc_set_vm_fault_masks() argument
1047 amdgpu_gmc_init_vga_resv_regions(struct amdgpu_device * adev) amdgpu_gmc_init_vga_resv_regions() argument
1140 amdgpu_gmc_init_pdb0(struct amdgpu_device * adev) amdgpu_gmc_init_pdb0() argument
1190 amdgpu_gmc_vram_mc2pa(struct amdgpu_device * adev,uint64_t mc_addr) amdgpu_gmc_vram_mc2pa() argument
1202 amdgpu_gmc_vram_pa(struct amdgpu_device * adev,struct amdgpu_bo * bo) amdgpu_gmc_vram_pa() argument
1207 amdgpu_gmc_vram_checking(struct amdgpu_device * adev) amdgpu_gmc_vram_checking() argument
1274 struct amdgpu_device *adev = drm_to_adev(ddev); available_memory_partition_show() local
1292 struct amdgpu_device *adev = drm_to_adev(ddev); current_memory_partition_store() local
1337 struct amdgpu_device *adev = drm_to_adev(ddev); current_memory_partition_show() local
1355 amdgpu_gmc_sysfs_init(struct amdgpu_device * adev) amdgpu_gmc_sysfs_init() argument
1379 amdgpu_gmc_sysfs_fini(struct amdgpu_device * adev) amdgpu_gmc_sysfs_fini() argument
1388 amdgpu_gmc_get_nps_memranges(struct amdgpu_device * adev,struct amdgpu_mem_partition_info * mem_ranges,uint8_t * exp_ranges) amdgpu_gmc_get_nps_memranges() argument
1467 amdgpu_gmc_request_memory_partition(struct amdgpu_device * adev,int nps_mode) amdgpu_gmc_request_memory_partition() argument
1483 amdgpu_gmc_need_nps_switch_req(struct amdgpu_device * adev,int req_nps_mode,int cur_nps_mode) amdgpu_gmc_need_nps_switch_req() argument
1492 amdgpu_gmc_prepare_nps_mode_change(struct amdgpu_device * adev) amdgpu_gmc_prepare_nps_mode_change() argument
1530 amdgpu_gmc_need_reset_on_init(struct amdgpu_device * adev) amdgpu_gmc_need_reset_on_init() argument
1539 amdgpu_gmc_get_vf_memory_partition(struct amdgpu_device * adev) amdgpu_gmc_get_vf_memory_partition() argument
1558 amdgpu_gmc_get_memory_partition(struct amdgpu_device * adev,u32 * supp_modes) amdgpu_gmc_get_memory_partition() argument
1573 amdgpu_gmc_query_memory_partition(struct amdgpu_device * adev) amdgpu_gmc_query_memory_partition() argument
1581 amdgpu_gmc_validate_partition_info(struct amdgpu_device * adev) amdgpu_gmc_validate_partition_info() argument
1629 amdgpu_gmc_init_acpi_mem_ranges(struct amdgpu_device * adev,struct amdgpu_mem_partition_info * mem_ranges) amdgpu_gmc_init_acpi_mem_ranges() argument
1666 amdgpu_gmc_init_sw_mem_ranges(struct amdgpu_device * adev,struct amdgpu_mem_partition_info * mem_ranges) amdgpu_gmc_init_sw_mem_ranges() argument
1739 amdgpu_gmc_init_mem_ranges(struct amdgpu_device * adev) amdgpu_gmc_init_mem_ranges() argument
1771 amdgpu_gmc_get_vram_info(struct amdgpu_device * adev,int * vram_width,int * vram_type,int * vram_vendor) amdgpu_gmc_get_vram_info() argument
[all...]
H A Dgfxhub_v1_2.c37 static u64 gfxhub_v1_2_get_mc_fb_offset(struct amdgpu_device *adev) in gfxhub_v1_2_get_mc_fb_offset()
42 static void gfxhub_v1_2_xcc_setup_vm_pt_regs(struct amdgpu_device *adev, in gfxhub_v1_2_xcc_setup_vm_pt_regs()
64 static void gfxhub_v1_2_setup_vm_pt_regs(struct amdgpu_device *adev, in gfxhub_v1_2_setup_vm_pt_regs()
74 static void gfxhub_v1_2_xcc_init_gart_aperture_regs(struct amdgpu_device *adev, in gfxhub_v1_2_xcc_init_gart_aperture_regs()
126 gfxhub_v1_2_xcc_init_system_aperture_regs(struct amdgpu_device *adev, in gfxhub_v1_2_xcc_init_system_aperture_regs()
196 static void gfxhub_v1_2_xcc_init_tlb_regs(struct amdgpu_device *adev, in gfxhub_v1_2_xcc_init_tlb_regs()
222 static void gfxhub_v1_2_xcc_init_cache_regs(struct amdgpu_device *adev, in gfxhub_v1_2_xcc_init_cache_regs()
271 static void gfxhub_v1_2_xcc_enable_system_domain(struct amdgpu_device *adev, in gfxhub_v1_2_xcc_enable_system_domain()
291 gfxhub_v1_2_xcc_disable_identity_aperture(struct amdgpu_device *adev, in gfxhub_v1_2_xcc_disable_identity_aperture()
319 gfxhub_v1_2_per_process_xnack_support(struct amdgpu_device *adev) in gfxhub_v1_2_per_process_xnack_support()
[all …]
H A Dgfxhub_v2_0.c76 gfxhub_v2_0_print_l2_protection_fault_status(struct amdgpu_device *adev, in gfxhub_v2_0_print_l2_protection_fault_status()
105 static u64 gfxhub_v2_0_get_fb_location(struct amdgpu_device *adev) in gfxhub_v2_0_get_fb_location()
115 static u64 gfxhub_v2_0_get_mc_fb_offset(struct amdgpu_device *adev) in gfxhub_v2_0_get_mc_fb_offset()
120 static void gfxhub_v2_0_setup_vm_pt_regs(struct amdgpu_device *adev, uint32_t vmid, in gfxhub_v2_0_setup_vm_pt_regs()
134 static void gfxhub_v2_0_init_gart_aperture_regs(struct amdgpu_device *adev) in gfxhub_v2_0_init_gart_aperture_regs()
151 static void gfxhub_v2_0_init_system_aperture_regs(struct amdgpu_device *adev) in gfxhub_v2_0_init_system_aperture_regs()
186 static void gfxhub_v2_0_init_tlb_regs(struct amdgpu_device *adev) in gfxhub_v2_0_init_tlb_regs()
205 static void gfxhub_v2_0_init_cache_regs(struct amdgpu_device *adev) in gfxhub_v2_0_init_cache_regs()
254 static void gfxhub_v2_0_enable_system_domain(struct amdgpu_device *adev) in gfxhub_v2_0_enable_system_domain()
266 static void gfxhub_v2_0_disable_identity_aperture(struct amdgpu_device *adev) in gfxhub_v2_0_disable_identity_aperture()
[all …]
/linux/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dsi_dpm.c1868 si_get_pi(struct amdgpu_device * adev) si_get_pi() argument
1901 si_calculate_leakage_for_v_and_t(struct amdgpu_device * adev,const struct ni_leakage_coeffients * coeff,u16 v,s32 t,u32 i_leakage,u32 * leakage) si_calculate_leakage_for_v_and_t() argument
1929 si_calculate_leakage_for_v(struct amdgpu_device * adev,const struct ni_leakage_coeffients * coeff,const u32 fixed_kt,u16 v,u32 i_leakage,u32 * leakage) si_calculate_leakage_for_v() argument
1940 si_update_dte_from_pl2(struct amdgpu_device * adev,struct si_dte_data * dte_data) si_update_dte_from_pl2() argument
1970 rv770_get_pi(struct amdgpu_device * adev) rv770_get_pi() argument
1977 ni_get_pi(struct amdgpu_device * adev) ni_get_pi() argument
1991 si_initialize_powertune_defaults(struct amdgpu_device * adev) si_initialize_powertune_defaults() argument
2195 si_get_smc_power_scaling_factor(struct amdgpu_device * adev) si_get_smc_power_scaling_factor() argument
2200 si_calculate_cac_wintime(struct amdgpu_device * adev) si_calculate_cac_wintime() argument
2225 si_calculate_adjusted_tdp_limits(struct amdgpu_device * adev,bool adjust_polarity,u32 tdp_adjustment,u32 * tdp_limit,u32 * near_tdp_limit) si_calculate_adjusted_tdp_limits() argument
2258 si_populate_smc_tdp_limits(struct amdgpu_device * adev,struct amdgpu_ps * amdgpu_state) si_populate_smc_tdp_limits() argument
2327 si_populate_smc_tdp_limits_2(struct amdgpu_device * adev,struct amdgpu_ps * amdgpu_state) si_populate_smc_tdp_limits_2() argument
2351 si_calculate_power_efficiency_ratio(struct amdgpu_device * adev,const u16 prev_std_vddc,const u16 curr_std_vddc) si_calculate_power_efficiency_ratio() argument
2373 si_should_disable_uvd_powertune(struct amdgpu_device * adev,struct amdgpu_ps * amdgpu_state) si_should_disable_uvd_powertune() argument
2385 evergreen_get_pi(struct amdgpu_device * adev) evergreen_get_pi() argument
2392 si_populate_power_containment_values(struct amdgpu_device * adev,struct amdgpu_ps * amdgpu_state,SISLANDS_SMC_SWSTATE * smc_state) si_populate_power_containment_values() argument
2485 si_populate_sq_ramping_values(struct amdgpu_device * adev,struct amdgpu_ps * amdgpu_state,SISLANDS_SMC_SWSTATE * smc_state) si_populate_sq_ramping_values() argument
2545 si_enable_power_containment(struct amdgpu_device * adev,struct amdgpu_ps * amdgpu_new_state,bool enable) si_enable_power_containment() argument
2570 si_initialize_smc_dte_tables(struct amdgpu_device * adev) si_initialize_smc_dte_tables() argument
2637 si_get_cac_std_voltage_max_min(struct amdgpu_device * adev,u16 * max,u16 * min) si_get_cac_std_voltage_max_min() argument
2681 si_init_dte_leakage_table(struct amdgpu_device * adev,PP_SIslands_CacConfig * cac_tables,u16 vddc_max,u16 vddc_min,u16 vddc_step,u16 t0,u16 t_step) si_init_dte_leakage_table() argument
2721 si_init_simplified_leakage_table(struct amdgpu_device * adev,PP_SIslands_CacConfig * cac_tables,u16 vddc_max,u16 vddc_min,u16 vddc_step) si_init_simplified_leakage_table() argument
2756 si_initialize_smc_cac_tables(struct amdgpu_device * adev) si_initialize_smc_cac_tables() argument
2842 si_program_cac_config_registers(struct amdgpu_device * adev,const struct si_cac_config_reg * cac_config_regs) si_program_cac_config_registers() argument
2881 si_initialize_hardware_cac_manager(struct amdgpu_device * adev) si_initialize_hardware_cac_manager() argument
2904 si_enable_smc_cac(struct amdgpu_device * adev,struct amdgpu_ps * amdgpu_new_state,bool enable) si_enable_smc_cac() argument
2951 si_init_smc_spll_table(struct amdgpu_device * adev) si_init_smc_spll_table() argument
3022 si_get_lower_of_leakage_and_vce_voltage(struct amdgpu_device * adev,u16 vce_voltage) si_get_lower_of_leakage_and_vce_voltage() argument
3040 si_get_vce_clock_voltage(struct amdgpu_device * adev,u32 evclk,u32 ecclk,u16 * voltage) si_get_vce_clock_voltage() argument
3074 struct amdgpu_device *adev = (struct amdgpu_device *)handle; si_dpm_vblank_too_short() local
3096 ni_copy_and_switch_arb_sets(struct amdgpu_device * adev,u32 arb_freq_src,u32 arb_freq_dest) ni_copy_and_switch_arb_sets() argument
3161 ni_update_current_ps(struct amdgpu_device * adev,struct amdgpu_ps * rps) ni_update_current_ps() argument
3174 ni_update_requested_ps(struct amdgpu_device * adev,struct amdgpu_ps * rps) ni_update_requested_ps() argument
3187 ni_set_uvd_clock_before_set_eng_clock(struct amdgpu_device * adev,struct amdgpu_ps * new_ps,struct amdgpu_ps * old_ps) ni_set_uvd_clock_before_set_eng_clock() argument
3205 ni_set_uvd_clock_after_set_eng_clock(struct amdgpu_device * adev,struct amdgpu_ps * new_ps,struct amdgpu_ps * old_ps) ni_set_uvd_clock_after_set_eng_clock() argument
3251 btc_get_valid_mclk(struct amdgpu_device * adev,u32 max_mclk,u32 requested_mclk) btc_get_valid_mclk() argument
3258 btc_get_valid_sclk(struct amdgpu_device * adev,u32 max_sclk,u32 requested_sclk) btc_get_valid_sclk() argument
3302 btc_adjust_clock_combinations(struct amdgpu_device * adev,const struct amdgpu_clock_and_voltage_limits * max_limits,struct rv7xx_pl * pl) btc_adjust_clock_combinations() argument
3329 btc_apply_voltage_delta_rules(struct amdgpu_device * adev,u16 max_vddc,u16 max_vddci,u16 * vddc,u16 * vddci) btc_apply_voltage_delta_rules() argument
3409 rv770_get_memory_module_index(struct amdgpu_device * adev) rv770_get_memory_module_index() argument
3414 rv770_get_max_vddc(struct amdgpu_device * adev) rv770_get_max_vddc() argument
3425 rv770_get_engine_memory_ss(struct amdgpu_device * adev) rv770_get_engine_memory_ss() argument
3442 si_apply_state_adjust_rules(struct amdgpu_device * adev,struct amdgpu_ps * rps) si_apply_state_adjust_rules() argument
3712 si_write_smc_soft_register(struct amdgpu_device * adev,u16 reg_offset,u32 value) si_write_smc_soft_register() argument
3722 si_is_special_1gb_platform(struct amdgpu_device * adev) si_is_special_1gb_platform() argument
3750 si_get_leakage_vddc(struct amdgpu_device * adev) si_get_leakage_vddc() argument
3769 si_get_leakage_voltage_from_leakage_index(struct amdgpu_device * adev,u32 index,u16 * leakage_voltage) si_get_leakage_voltage_from_leakage_index() argument
3796 si_set_dpm_event_sources(struct amdgpu_device * adev,u32 sources) si_set_dpm_event_sources() argument
3831 si_enable_auto_throttle_source(struct amdgpu_device * adev,enum si_dpm_auto_throttle_src source,bool enable) si_enable_auto_throttle_source() argument
3850 si_start_dpm(struct amdgpu_device * adev) si_start_dpm() argument
3855 si_stop_dpm(struct amdgpu_device * adev) si_stop_dpm() argument
3860 si_enable_sclk_control(struct amdgpu_device * adev,bool enable) si_enable_sclk_control() argument
3893 struct amdgpu_device *adev = (struct amdgpu_device *)handle; si_notify_hw_of_powersource() local
3907 si_send_msg_to_smc_with_parameter(struct amdgpu_device * adev,PPSMC_Msg msg,u32 parameter) si_send_msg_to_smc_with_parameter() argument
3914 si_restrict_performance_levels_before_switch(struct amdgpu_device * adev) si_restrict_performance_levels_before_switch() argument
3926 struct amdgpu_device *adev = (struct amdgpu_device *)handle; si_dpm_force_performance_level() local
3964 si_set_sw_state(struct amdgpu_device * adev) si_set_sw_state() argument
3970 si_halt_smc(struct amdgpu_device * adev) si_halt_smc() argument
3979 si_resume_smc(struct amdgpu_device * adev) si_resume_smc() argument
3988 si_dpm_start_smc(struct amdgpu_device * adev) si_dpm_start_smc() argument
3995 si_dpm_stop_smc(struct amdgpu_device * adev) si_dpm_stop_smc() argument
4001 si_process_firmware_header(struct amdgpu_device * adev) si_process_firmware_header() argument
4091 si_read_clock_registers(struct amdgpu_device * adev) si_read_clock_registers() argument
4112 si_enable_thermal_protection(struct amdgpu_device * adev,bool enable) si_enable_thermal_protection() argument
4121 si_enable_acpi_power_management(struct amdgpu_device * adev) si_enable_acpi_power_management() argument
4154 si_notify_smc_display_change(struct amdgpu_device * adev,bool has_display) si_notify_smc_display_change() argument
4164 si_program_response_times(struct amdgpu_device * adev) si_program_response_times() argument
4192 si_program_ds_registers(struct amdgpu_device * adev) si_program_ds_registers() argument
4210 si_program_display_gap(struct amdgpu_device * adev) si_program_display_gap() argument
4246 si_enable_spread_spectrum(struct amdgpu_device * adev,bool enable) si_enable_spread_spectrum() argument
4259 si_setup_bsp(struct amdgpu_device * adev) si_setup_bsp() argument
4283 si_program_git(struct amdgpu_device * adev) si_program_git() argument
4288 si_program_tp(struct amdgpu_device * adev) si_program_tp() argument
4308 si_program_tpp(struct amdgpu_device * adev) si_program_tpp() argument
4313 si_program_sstp(struct amdgpu_device * adev) si_program_sstp() argument
4318 si_enable_display_gap(struct amdgpu_device * adev) si_enable_display_gap() argument
4332 si_program_vc(struct amdgpu_device * adev) si_program_vc() argument
4339 si_clear_vc(struct amdgpu_device * adev) si_clear_vc() argument
4379 si_get_strobe_mode_settings(struct amdgpu_device * adev,u32 mclk) si_get_strobe_mode_settings() argument
4399 si_upload_firmware(struct amdgpu_device * adev) si_upload_firmware() argument
4409 si_validate_phase_shedding_tables(struct amdgpu_device * adev,const struct atom_voltage_table * table,const struct amdgpu_phase_shedding_limits_table * limits) si_validate_phase_shedding_tables() argument
4436 si_trim_voltage_table_to_fit_state_table(struct amdgpu_device * adev,u32 max_voltage_steps,struct atom_voltage_table * voltage_table) si_trim_voltage_table_to_fit_state_table() argument
4453 si_get_svi2_voltage_table(struct amdgpu_device * adev,struct amdgpu_clock_voltage_dependency_table * voltage_dependency_table,struct atom_voltage_table * voltage_table) si_get_svi2_voltage_table() argument
4474 si_construct_voltage_tables(struct amdgpu_device * adev) si_construct_voltage_tables() argument
4554 si_populate_smc_voltage_table(struct amdgpu_device * adev,const struct atom_voltage_table * voltage_table,SISLANDS_SMC_STATETABLE * table) si_populate_smc_voltage_table() argument
4564 si_populate_smc_voltage_tables(struct amdgpu_device * adev,SISLANDS_SMC_STATETABLE * table) si_populate_smc_voltage_tables() argument
4627 si_populate_voltage_value(struct amdgpu_device * adev,const struct atom_voltage_table * table,u16 value,SISLANDS_SMC_VOLTAGE_VALUE * voltage) si_populate_voltage_value() argument
4647 si_populate_mvdd_value(struct amdgpu_device * adev,u32 mclk,SISLANDS_SMC_VOLTAGE_VALUE * voltage) si_populate_mvdd_value() argument
4664 si_get_std_voltage_value(struct amdgpu_device * adev,SISLANDS_SMC_VOLTAGE_VALUE * voltage,u16 * std_voltage) si_get_std_voltage_value() argument
4715 si_populate_std_voltage_value(struct amdgpu_device * adev,u16 value,u8 index,SISLANDS_SMC_VOLTAGE_VALUE * voltage) si_populate_std_voltage_value() argument
4725 si_populate_phase_shedding_value(struct amdgpu_device * adev,const struct amdgpu_phase_shedding_limits_table * limits,u16 voltage,u32 sclk,u32 mclk,SISLANDS_SMC_VOLTAGE_VALUE * smc_voltage) si_populate_phase_shedding_value() argument
4744 si_init_arb_table_index(struct amdgpu_device * adev) si_init_arb_table_index() argument
4762 si_initial_switch_from_arb_f0_to_f1(struct amdgpu_device * adev) si_initial_switch_from_arb_f0_to_f1() argument
4767 si_reset_to_default(struct amdgpu_device * adev) si_reset_to_default() argument
4773 si_force_switch_to_arb_f0(struct amdgpu_device * adev) si_force_switch_to_arb_f0() argument
4792 si_calculate_memory_refresh_rate(struct amdgpu_device * adev,u32 engine_clock) si_calculate_memory_refresh_rate() argument
4811 si_populate_memory_timing_parameters(struct amdgpu_device * adev,struct rv7xx_pl * pl,SMC_SIslands_MCArbDramTimingRegisterSet * arb_regs) si_populate_memory_timing_parameters() argument
4839 si_do_program_memory_timing_parameters(struct amdgpu_device * adev,struct amdgpu_ps * amdgpu_state,unsigned int first_arb_set) si_do_program_memory_timing_parameters() argument
4866 si_program_memory_timing_parameters(struct amdgpu_device * adev,struct amdgpu_ps * amdgpu_new_state) si_program_memory_timing_parameters() argument
4873 si_populate_initial_mvdd_value(struct amdgpu_device * adev,struct SISLANDS_SMC_VOLTAGE_VALUE * voltage) si_populate_initial_mvdd_value() argument
4886 si_populate_smc_initial_state(struct amdgpu_device * adev,struct amdgpu_ps * amdgpu_initial_state,SISLANDS_SMC_STATETABLE * table) si_populate_smc_initial_state() argument
5010 si_gen_pcie_gen_support(struct amdgpu_device * adev,u32 sys_mask,enum si_pcie_gen asic_gen,enum si_pcie_gen default_gen) si_gen_pcie_gen_support() argument
5035 si_populate_smc_acpi_state(struct amdgpu_device * adev,SISLANDS_SMC_STATETABLE * table) si_populate_smc_acpi_state() argument
5177 si_populate_ulv_state(struct amdgpu_device * adev,struct SISLANDS_SMC_SWSTATE_SINGLE * state) si_populate_ulv_state() argument
5208 si_program_ulv_memory_timing_parameters(struct amdgpu_device * adev) si_program_ulv_memory_timing_parameters() argument
5234 si_get_mvdd_configuration(struct amdgpu_device * adev) si_get_mvdd_configuration() argument
5241 si_init_smc_table(struct amdgpu_device * adev) si_init_smc_table() argument
5330 si_calculate_sclk_params(struct amdgpu_device * adev,u32 engine_clock,SISLANDS_SMC_SCLK_VALUE * sclk) si_calculate_sclk_params() argument
5400 si_populate_sclk_value(struct amdgpu_device * adev,u32 engine_clock,SISLANDS_SMC_SCLK_VALUE * sclk) si_populate_sclk_value() argument
5421 si_populate_mclk_value(struct amdgpu_device * adev,u32 engine_clock,u32 memory_clock,SISLANDS_SMC_MCLK_VALUE * mclk,bool strobe_mode,bool dll_state_on) si_populate_mclk_value() argument
5510 si_populate_smc_sp(struct amdgpu_device * adev,struct amdgpu_ps * amdgpu_state,SISLANDS_SMC_SWSTATE * smc_state) si_populate_smc_sp() argument
5525 si_convert_power_level_to_smc(struct amdgpu_device * adev,struct rv7xx_pl * pl,SISLANDS_SMC_HW_PERFORMANCE_LEVEL * level) si_convert_power_level_to_smc() argument
5630 si_populate_smc_t(struct amdgpu_device * adev,struct amdgpu_ps * amdgpu_state,SISLANDS_SMC_SWSTATE * smc_state) si_populate_smc_t() argument
5679 si_disable_ulv(struct amdgpu_device * adev) si_disable_ulv() argument
5687 si_is_state_ulv_compatible(struct amdgpu_device * adev,struct amdgpu_ps * amdgpu_state) si_is_state_ulv_compatible() argument
5715 si_set_power_state_conditionally_enable_ulv(struct amdgpu_device * adev,struct amdgpu_ps * amdgpu_new_state) si_set_power_state_conditionally_enable_ulv() argument
5729 si_convert_power_state_to_smc(struct amdgpu_device * adev,struct amdgpu_ps * amdgpu_state,SISLANDS_SMC_SWSTATE * smc_state) si_convert_power_state_to_smc() argument
5809 si_upload_sw_state(struct amdgpu_device * adev,struct amdgpu_ps * amdgpu_new_state) si_upload_sw_state() argument
5830 si_upload_ulv_state(struct amdgpu_device * adev) si_upload_ulv_state() argument
5853 si_upload_smc_data(struct amdgpu_device * adev) si_upload_smc_data() argument
5889 si_set_mc_special_registers(struct amdgpu_device * adev,struct si_mc_reg_table * table) si_set_mc_special_registers() argument
6060 si_initialize_mc_reg_table(struct amdgpu_device * adev) si_initialize_mc_reg_table() argument
6110 si_populate_mc_reg_addresses(struct amdgpu_device * adev,SMC_SIslands_MCRegisters * mc_reg_table) si_populate_mc_reg_addresses() argument
6144 si_convert_mc_reg_table_entry_to_smc(struct amdgpu_device * adev,struct rv7xx_pl * pl,SMC_SIslands_MCRegisterSet * mc_reg_table_data) si_convert_mc_reg_table_entry_to_smc() argument
6164 si_convert_mc_reg_table_to_smc(struct amdgpu_device * adev,struct amdgpu_ps * amdgpu_state,SMC_SIslands_MCRegisters * mc_reg_table) si_convert_mc_reg_table_to_smc() argument
6178 si_populate_mc_reg_table(struct amdgpu_device * adev,struct amdgpu_ps * amdgpu_boot_state) si_populate_mc_reg_table() argument
6216 si_upload_mc_reg_table(struct amdgpu_device * adev,struct amdgpu_ps * amdgpu_new_state) si_upload_mc_reg_table() argument
6236 si_enable_voltage_control(struct amdgpu_device * adev,bool enable) si_enable_voltage_control() argument
6244 si_get_maximum_link_speed(struct amdgpu_device * adev,struct amdgpu_ps * amdgpu_state) si_get_maximum_link_speed() argument
6259 si_get_current_pcie_speed(struct amdgpu_device * adev) si_get_current_pcie_speed() argument
6269 si_request_link_speed_change_before_state_change(struct amdgpu_device * adev,struct amdgpu_ps * amdgpu_new_state,struct amdgpu_ps * amdgpu_current_state) si_request_link_speed_change_before_state_change() argument
6309 si_notify_link_speed_change_after_state_change(struct amdgpu_device * adev,struct amdgpu_ps * amdgpu_new_state,struct amdgpu_ps * amdgpu_current_state) si_notify_link_speed_change_after_state_change() argument
6354 si_set_max_cu_value(struct amdgpu_device * adev) si_set_max_cu_value() argument
6395 si_patch_single_dependency_table_based_on_leakage(struct amdgpu_device * adev,struct amdgpu_clock_voltage_dependency_table * table) si_patch_single_dependency_table_based_on_leakage() argument
6426 si_patch_dependency_tables_based_on_leakage(struct amdgpu_device * adev) si_patch_dependency_tables_based_on_leakage() argument
6445 si_set_pcie_lane_width_in_smc(struct amdgpu_device * adev,struct amdgpu_ps * amdgpu_new_state,struct amdgpu_ps * amdgpu_current_state) si_set_pcie_lane_width_in_smc() argument
6462 si_dpm_setup_asic(struct amdgpu_device * adev) si_dpm_setup_asic() argument
6468 si_thermal_enable_alert(struct amdgpu_device * adev,bool enable) si_thermal_enable_alert() argument
6491 si_thermal_set_temperature_range(struct amdgpu_device * adev,int min_temp,int max_temp) si_thermal_set_temperature_range() argument
6516 si_fan_ctrl_set_static_mode(struct amdgpu_device * adev,u32 mode) si_fan_ctrl_set_static_mode() argument
6538 si_thermal_setup_fan_table(struct amdgpu_device * adev) si_thermal_setup_fan_table() argument
6607 si_fan_ctrl_start_smc_fan_control(struct amdgpu_device * adev) si_fan_ctrl_start_smc_fan_control() argument
6621 si_fan_ctrl_stop_smc_fan_control(struct amdgpu_device * adev) si_fan_ctrl_stop_smc_fan_control() argument
6641 struct amdgpu_device *adev = (struct amdgpu_device *)handle; si_dpm_get_fan_speed_pwm() local
6665 struct amdgpu_device *adev = (struct amdgpu_device *)handle; si_dpm_set_fan_speed_pwm() local
6698 struct amdgpu_device *adev = (struct amdgpu_device *)handle; si_dpm_set_fan_control_mode() local
6721 struct amdgpu_device *adev = (struct amdgpu_device *)handle; si_dpm_get_fan_control_mode() local
6789 si_fan_ctrl_set_default_mode(struct amdgpu_device * adev) si_fan_ctrl_set_default_mode() argument
6806 si_thermal_start_smc_fan_control(struct amdgpu_device * adev) si_thermal_start_smc_fan_control() argument
6814 si_thermal_initialize(struct amdgpu_device * adev) si_thermal_initialize() argument
6829 si_thermal_start_thermal_controller(struct amdgpu_device * adev) si_thermal_start_thermal_controller() argument
6856 si_thermal_stop_thermal_controller(struct amdgpu_device * adev) si_thermal_stop_thermal_controller() argument
6864 si_dpm_enable(struct amdgpu_device * adev) si_dpm_enable() argument
6982 si_set_temperature_range(struct amdgpu_device * adev) si_set_temperature_range() argument
6999 si_dpm_disable(struct amdgpu_device * adev) si_dpm_disable() argument
7025 struct amdgpu_device *adev = (struct amdgpu_device *)handle; si_dpm_pre_set_power_state() local
7036 si_power_control_set_level(struct amdgpu_device * adev) si_power_control_set_level() argument
7059 si_set_vce_clock(struct amdgpu_device * adev,struct amdgpu_ps * new_rps,struct amdgpu_ps * old_rps) si_set_vce_clock() argument
7086 struct amdgpu_device *adev = (struct amdgpu_device *)handle; si_dpm_set_power_state() local
7190 struct amdgpu_device *adev = (struct amdgpu_device *)handle; si_dpm_post_set_power_state() local
7208 struct amdgpu_device *adev = (struct amdgpu_device *)handle; si_dpm_display_configuration_changed() local
7214 si_parse_pplib_non_clock_info(struct amdgpu_device * adev,struct amdgpu_ps * rps,struct _ATOM_PPLIB_NONCLOCK_INFO * non_clock_info,u8 table_rev) si_parse_pplib_non_clock_info() argument
7240 si_parse_pplib_clock_info(struct amdgpu_device * adev,struct amdgpu_ps * rps,int index,union pplib_clock_info * clock_info) si_parse_pplib_clock_info() argument
7340 si_parse_power_table(struct amdgpu_device * adev) si_parse_power_table() argument
7429 si_dpm_init(struct amdgpu_device * adev) si_dpm_init() argument
7587 si_dpm_fini(struct amdgpu_device * adev) si_dpm_fini() argument
7603 struct amdgpu_device *adev = (struct amdgpu_device *)handle; si_dpm_debugfs_print_current_performance_level() local
7623 si_dpm_set_interrupt_state(struct amdgpu_device * adev,struct amdgpu_irq_src * source,unsigned type,enum amdgpu_interrupt_state state) si_dpm_set_interrupt_state() argument
7671 si_dpm_process_interrupt(struct amdgpu_device * adev,struct amdgpu_irq_src * source,struct amdgpu_iv_entry * entry) si_dpm_process_interrupt() argument
7704 struct amdgpu_device *adev = ip_block->adev; si_dpm_late_init() local
7727 si_dpm_init_microcode(struct amdgpu_device * adev) si_dpm_init_microcode() argument
7802 struct amdgpu_device *adev = ip_block->adev; si_dpm_sw_init() local
7847 struct amdgpu_device *adev = ip_block->adev; si_dpm_sw_fini() local
7860 struct amdgpu_device *adev = ip_block->adev; si_dpm_hw_init() local
7879 struct amdgpu_device *adev = ip_block->adev; si_dpm_hw_fini() local
7889 struct amdgpu_device *adev = ip_block->adev; si_dpm_suspend() local
7909 struct amdgpu_device *adev = ip_block->adev; si_dpm_resume() local
7960 struct amdgpu_device *adev = (struct amdgpu_device *)handle; si_dpm_get_temp() local
7977 struct amdgpu_device *adev = (struct amdgpu_device *)handle; si_dpm_get_sclk() local
7989 struct amdgpu_device *adev = (struct amdgpu_device *)handle; si_dpm_get_mclk() local
8002 struct amdgpu_device *adev = (struct amdgpu_device *)handle; si_dpm_print_power_state() local
8023 struct amdgpu_device *adev = ip_block->adev; si_dpm_early_init() local
8051 struct amdgpu_device *adev = (struct amdgpu_device *)handle; si_check_state_equal() local
8088 struct amdgpu_device *adev = (struct amdgpu_device *)handle; si_dpm_read_sensor() local
8179 si_dpm_set_irq_funcs(struct amdgpu_device * adev) si_dpm_set_irq_funcs() argument
[all...]
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/tests/
H A Damdgpu_dm_irq_test.c199 static void dm_test_dmub_notify_callback(struct amdgpu_device *adev, in dm_test_dmub_notify_callback()
312 struct amdgpu_device *adev = data; in dm_test_free_irq_sources() local
742 struct amdgpu_device *adev; in dm_test_irq_init_initializes_lists() local
766 struct amdgpu_device *adev; in dm_test_irq_register_rejects_null_params() local
788 struct amdgpu_device *adev; in dm_test_irq_register_rejects_invalid_context() local
808 struct amdgpu_device *adev; in dm_test_irq_register_rejects_invalid_source() local
828 struct amdgpu_device *adev; in dm_test_irq_register_adds_low_context_handler() local
860 struct amdgpu_device *adev; in dm_test_irq_register_adds_high_context_handler() local
892 struct amdgpu_device *adev; in dm_test_irq_register_multiple_handlers() local
927 struct amdgpu_device *adev; in dm_test_irq_register_separate_contexts() local
[all …]

12345678910>>...21