Home
last modified time | relevance | path

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

12345678910>>...25

/drivers/gpu/drm/amd/amdgpu/
Damdgpu_device.c157 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_device_get_pcie_replay_count() local
179 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_device_supports_px() local
196 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_device_supports_boco() local
214 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_device_supports_baco() local
247 void amdgpu_device_mm_access(struct amdgpu_device *adev, loff_t pos, in amdgpu_device_mm_access()
291 size_t amdgpu_device_aper_access(struct amdgpu_device *adev, loff_t pos, in amdgpu_device_aper_access()
340 void amdgpu_device_vram_access(struct amdgpu_device *adev, loff_t pos, in amdgpu_device_vram_access()
361 bool amdgpu_device_skip_hw_access(struct amdgpu_device *adev) in amdgpu_device_skip_hw_access()
397 uint32_t amdgpu_device_rreg(struct amdgpu_device *adev, in amdgpu_device_rreg()
436 uint8_t amdgpu_mm_rreg8(struct amdgpu_device *adev, uint32_t offset) in amdgpu_mm_rreg8()
[all …]
Dnbio_v4_3.c32 static void nbio_v4_3_remap_hdp_registers(struct amdgpu_device *adev) in nbio_v4_3_remap_hdp_registers()
40 static u32 nbio_v4_3_get_rev_id(struct amdgpu_device *adev) in nbio_v4_3_get_rev_id()
50 static void nbio_v4_3_mc_access_enable(struct amdgpu_device *adev, bool enable) in nbio_v4_3_mc_access_enable()
60 static u32 nbio_v4_3_get_memsize(struct amdgpu_device *adev) in nbio_v4_3_get_memsize()
65 static void nbio_v4_3_sdma_doorbell_range(struct amdgpu_device *adev, int instance, in nbio_v4_3_sdma_doorbell_range()
103 static void nbio_v4_3_vcn_doorbell_range(struct amdgpu_device *adev, bool use_doorbell, in nbio_v4_3_vcn_doorbell_range()
146 static void nbio_v4_3_gc_doorbell_init(struct amdgpu_device *adev) in nbio_v4_3_gc_doorbell_init()
152 static void nbio_v4_3_enable_doorbell_aperture(struct amdgpu_device *adev, in nbio_v4_3_enable_doorbell_aperture()
159 static void nbio_v4_3_enable_doorbell_selfring_aperture(struct amdgpu_device *adev, in nbio_v4_3_enable_doorbell_selfring_aperture()
182 static void nbio_v4_3_ih_doorbell_range(struct amdgpu_device *adev, in nbio_v4_3_ih_doorbell_range()
[all …]
Dgfx_v6_0.c311 static int gfx_v6_0_init_microcode(struct amdgpu_device *adev) in gfx_v6_0_init_microcode()
383 static void gfx_v6_0_tiling_mode_table_init(struct amdgpu_device *adev) in gfx_v6_0_tiling_mode_table_init()
1287 static void gfx_v6_0_select_se_sh(struct amdgpu_device *adev, u32 se_num, in gfx_v6_0_select_se_sh()
1312 static u32 gfx_v6_0_get_rb_active_bitmap(struct amdgpu_device *adev) in gfx_v6_0_get_rb_active_bitmap()
1327 static void gfx_v6_0_raster_config(struct amdgpu_device *adev, u32 *rconf) in gfx_v6_0_raster_config()
1359 static void gfx_v6_0_write_harvested_raster_configs(struct amdgpu_device *adev, in gfx_v6_0_write_harvested_raster_configs()
1449 static void gfx_v6_0_setup_rb(struct amdgpu_device *adev) in gfx_v6_0_setup_rb()
1503 static void gfx_v6_0_set_user_cu_inactive_bitmap(struct amdgpu_device *adev, in gfx_v6_0_set_user_cu_inactive_bitmap()
1517 static u32 gfx_v6_0_get_cu_enabled(struct amdgpu_device *adev) in gfx_v6_0_get_cu_enabled()
1529 static void gfx_v6_0_setup_spi(struct amdgpu_device *adev) in gfx_v6_0_setup_spi()
[all …]
Dsoc15.c174 static int soc15_query_video_codecs(struct amdgpu_device *adev, bool encode, in soc15_query_video_codecs()
218 static u32 soc15_uvd_ctx_rreg(struct amdgpu_device *adev, u32 reg) in soc15_uvd_ctx_rreg()
233 static void soc15_uvd_ctx_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in soc15_uvd_ctx_wreg()
246 static u32 soc15_didt_rreg(struct amdgpu_device *adev, u32 reg) in soc15_didt_rreg()
261 static void soc15_didt_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in soc15_didt_wreg()
274 static u32 soc15_gc_cac_rreg(struct amdgpu_device *adev, u32 reg) in soc15_gc_cac_rreg()
286 static void soc15_gc_cac_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in soc15_gc_cac_wreg()
296 static u32 soc15_se_cac_rreg(struct amdgpu_device *adev, u32 reg) in soc15_se_cac_rreg()
308 static void soc15_se_cac_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in soc15_se_cac_wreg()
318 static u32 soc15_get_config_memsize(struct amdgpu_device *adev) in soc15_get_config_memsize()
[all …]
Damdgpu_amdkfd.c69 void amdgpu_amdkfd_device_probe(struct amdgpu_device *adev) in amdgpu_amdkfd_device_probe()
92 static void amdgpu_doorbell_get_kfd_info(struct amdgpu_device *adev, in amdgpu_doorbell_get_kfd_info()
126 struct amdgpu_device *adev = container_of(work, struct amdgpu_device, in amdgpu_amdkfd_reset_work() local
140 void amdgpu_amdkfd_device_init(struct amdgpu_device *adev) in amdgpu_amdkfd_device_init()
207 void amdgpu_amdkfd_device_fini_sw(struct amdgpu_device *adev) in amdgpu_amdkfd_device_fini_sw()
216 void amdgpu_amdkfd_interrupt(struct amdgpu_device *adev, in amdgpu_amdkfd_interrupt()
223 void amdgpu_amdkfd_suspend(struct amdgpu_device *adev, bool run_pm) in amdgpu_amdkfd_suspend()
229 int amdgpu_amdkfd_resume(struct amdgpu_device *adev, bool run_pm) in amdgpu_amdkfd_resume()
239 int amdgpu_amdkfd_pre_reset(struct amdgpu_device *adev) in amdgpu_amdkfd_pre_reset()
249 int amdgpu_amdkfd_post_reset(struct amdgpu_device *adev) in amdgpu_amdkfd_post_reset()
[all …]
Dnbio_v7_9.c47 static void nbio_v7_9_remap_hdp_registers(struct amdgpu_device *adev) in nbio_v7_9_remap_hdp_registers()
55 static u32 nbio_v7_9_get_rev_id(struct amdgpu_device *adev) in nbio_v7_9_get_rev_id()
65 static void nbio_v7_9_mc_access_enable(struct amdgpu_device *adev, bool enable) in nbio_v7_9_mc_access_enable()
74 static u32 nbio_v7_9_get_memsize(struct amdgpu_device *adev) in nbio_v7_9_get_memsize()
79 static void nbio_v7_9_sdma_doorbell_range(struct amdgpu_device *adev, int instance, in nbio_v7_9_sdma_doorbell_range()
180 static void nbio_v7_9_vcn_doorbell_range(struct amdgpu_device *adev, bool use_doorbell, in nbio_v7_9_vcn_doorbell_range()
236 static void nbio_v7_9_enable_doorbell_aperture(struct amdgpu_device *adev, in nbio_v7_9_enable_doorbell_aperture()
245 static void nbio_v7_9_enable_doorbell_selfring_aperture(struct amdgpu_device *adev, in nbio_v7_9_enable_doorbell_selfring_aperture()
267 static void nbio_v7_9_ih_doorbell_range(struct amdgpu_device *adev, in nbio_v7_9_ih_doorbell_range()
311 static void nbio_v7_9_update_medium_grain_clock_gating(struct amdgpu_device *adev, in nbio_v7_9_update_medium_grain_clock_gating()
[all …]
Dvce_v2_0.c57 struct amdgpu_device *adev = ring->adev; in vce_v2_0_ring_get_rptr() local
74 struct amdgpu_device *adev = ring->adev; in vce_v2_0_ring_get_wptr() local
91 struct amdgpu_device *adev = ring->adev; in vce_v2_0_ring_set_wptr() local
99 static int vce_v2_0_lmi_clean(struct amdgpu_device *adev) in vce_v2_0_lmi_clean()
116 static int vce_v2_0_firmware_loaded(struct amdgpu_device *adev) in vce_v2_0_firmware_loaded()
142 static void vce_v2_0_disable_cg(struct amdgpu_device *adev) in vce_v2_0_disable_cg()
147 static void vce_v2_0_init_cg(struct amdgpu_device *adev) in vce_v2_0_init_cg()
168 static void vce_v2_0_mc_resume(struct amdgpu_device *adev) in vce_v2_0_mc_resume()
206 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vce_v2_0_is_idle() local
213 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vce_v2_0_wait_for_idle() local
[all …]
Dvi.c257 static int vi_query_video_codecs(struct amdgpu_device *adev, bool encode, in vi_query_video_codecs()
298 static u32 vi_pcie_rreg(struct amdgpu_device *adev, u32 reg) in vi_pcie_rreg()
311 static void vi_pcie_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in vi_pcie_wreg()
323 static u32 vi_smc_rreg(struct amdgpu_device *adev, u32 reg) in vi_smc_rreg()
335 static void vi_smc_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in vi_smc_wreg()
349 static u32 cz_smc_rreg(struct amdgpu_device *adev, u32 reg) in cz_smc_rreg()
361 static void cz_smc_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in cz_smc_wreg()
371 static u32 vi_uvd_ctx_rreg(struct amdgpu_device *adev, u32 reg) in vi_uvd_ctx_rreg()
383 static void vi_uvd_ctx_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in vi_uvd_ctx_wreg()
393 static u32 vi_didt_rreg(struct amdgpu_device *adev, u32 reg) in vi_didt_rreg()
[all …]
Dgfx_v11_0.c196 struct amdgpu_device *adev = kiq_ring->adev; in gfx11_kiq_unmap_queues() local
265 static void gfx_v11_0_set_kiq_pm4_funcs(struct amdgpu_device *adev) in gfx_v11_0_set_kiq_pm4_funcs()
270 static void gfx_v11_0_init_golden_registers(struct amdgpu_device *adev) in gfx_v11_0_init_golden_registers()
323 struct amdgpu_device *adev = ring->adev; in gfx_v11_0_ring_test_ring() local
364 struct amdgpu_device *adev = ring->adev; in gfx_v11_0_ring_test_ib() local
441 static void gfx_v11_0_free_microcode(struct amdgpu_device *adev) in gfx_v11_0_free_microcode()
451 static int gfx_v11_0_init_toc_microcode(struct amdgpu_device *adev, const char *ucode_prefix) in gfx_v11_0_init_toc_microcode()
474 static void gfx_v11_0_check_fw_cp_gfx_shadow(struct amdgpu_device *adev) in gfx_v11_0_check_fw_cp_gfx_shadow()
495 static int gfx_v11_0_init_microcode(struct amdgpu_device *adev) in gfx_v11_0_init_microcode()
583 static u32 gfx_v11_0_get_csb_size(struct amdgpu_device *adev) in gfx_v11_0_get_csb_size()
[all …]
Djpeg_v3_0.c51 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v3_0_early_init() local
84 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v3_0_sw_init() local
127 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v3_0_sw_fini() local
147 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v3_0_hw_init() local
172 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v3_0_hw_fini() local
192 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v3_0_suspend() local
213 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v3_0_resume() local
225 static void jpeg_v3_0_disable_clock_gating(struct amdgpu_device *adev) in jpeg_v3_0_disable_clock_gating()
255 static void jpeg_v3_0_enable_clock_gating(struct amdgpu_device *adev) in jpeg_v3_0_enable_clock_gating()
268 static int jpeg_v3_0_disable_static_power_gating(struct amdgpu_device *adev) in jpeg_v3_0_disable_static_power_gating()
[all …]
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()
1210 static void gfx_v8_0_get_csb_buffer(struct amdgpu_device *adev, in gfx_v8_0_get_csb_buffer()
1257 static int gfx_v8_0_cp_jump_table_num(struct amdgpu_device *adev) in gfx_v8_0_cp_jump_table_num()
1265 static int gfx_v8_0_rlc_init(struct amdgpu_device *adev) in gfx_v8_0_rlc_init()
1296 static void gfx_v8_0_mec_fini(struct amdgpu_device *adev) in gfx_v8_0_mec_fini()
1301 static int gfx_v8_0_mec_init(struct amdgpu_device *adev) in gfx_v8_0_mec_init()
[all …]
Dgmc_v8_0.c121 static void gmc_v8_0_init_golden_registers(struct amdgpu_device *adev) in gmc_v8_0_init_golden_registers()
170 static void gmc_v8_0_mc_stop(struct amdgpu_device *adev) in gmc_v8_0_mc_stop()
189 static void gmc_v8_0_mc_resume(struct amdgpu_device *adev) in gmc_v8_0_mc_resume()
212 static int gmc_v8_0_init_microcode(struct amdgpu_device *adev) in gmc_v8_0_init_microcode()
275 static int gmc_v8_0_tonga_mc_load_microcode(struct amdgpu_device *adev) in gmc_v8_0_tonga_mc_load_microcode()
344 static int gmc_v8_0_polaris_mc_load_microcode(struct amdgpu_device *adev) in gmc_v8_0_polaris_mc_load_microcode()
407 static void gmc_v8_0_vram_gtt_location(struct amdgpu_device *adev, in gmc_v8_0_vram_gtt_location()
428 static void gmc_v8_0_mc_program(struct amdgpu_device *adev) in gmc_v8_0_mc_program()
500 static int gmc_v8_0_mc_init(struct amdgpu_device *adev) in gmc_v8_0_mc_init()
615 static int gmc_v8_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev, in gmc_v8_0_flush_gpu_tlb_pasid()
[all …]
Dgmc_v11_0.c51 static int gmc_v11_0_ecc_interrupt_state(struct amdgpu_device *adev, in gmc_v11_0_ecc_interrupt_state()
60 gmc_v11_0_vm_fault_interrupt_state(struct amdgpu_device *adev, in gmc_v11_0_vm_fault_interrupt_state()
96 static int gmc_v11_0_process_interrupt(struct amdgpu_device *adev, in gmc_v11_0_process_interrupt()
153 static void gmc_v11_0_set_irq_funcs(struct amdgpu_device *adev) in gmc_v11_0_set_irq_funcs()
171 static bool gmc_v11_0_use_invalidate_semaphore(struct amdgpu_device *adev, in gmc_v11_0_use_invalidate_semaphore()
179 struct amdgpu_device *adev, in gmc_v11_0_get_vmid_pasid_mapping_info()
194 static void gmc_v11_0_flush_vm_hub(struct amdgpu_device *adev, uint32_t vmid, in gmc_v11_0_flush_vm_hub()
285 static void gmc_v11_0_flush_gpu_tlb(struct amdgpu_device *adev, uint32_t vmid, in gmc_v11_0_flush_gpu_tlb()
326 static int gmc_v11_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev, in gmc_v11_0_flush_gpu_tlb_pasid()
432 struct amdgpu_device *adev = ring->adev; in gmc_v11_0_emit_pasid_mapping() local
[all …]
Damdgpu_virt.c45 bool amdgpu_virt_mmio_blocked(struct amdgpu_device *adev) in amdgpu_virt_mmio_blocked()
53 void amdgpu_virt_init_setting(struct amdgpu_device *adev) in amdgpu_virt_init_setting()
74 void amdgpu_virt_kiq_reg_write_reg_wait(struct amdgpu_device *adev, in amdgpu_virt_kiq_reg_write_reg_wait()
133 int amdgpu_virt_request_full_gpu(struct amdgpu_device *adev, bool init) in amdgpu_virt_request_full_gpu()
156 int amdgpu_virt_release_full_gpu(struct amdgpu_device *adev, bool init) in amdgpu_virt_release_full_gpu()
177 int amdgpu_virt_reset_gpu(struct amdgpu_device *adev) in amdgpu_virt_reset_gpu()
193 void amdgpu_virt_request_init_data(struct amdgpu_device *adev) in amdgpu_virt_request_init_data()
212 int amdgpu_virt_wait_reset(struct amdgpu_device *adev) in amdgpu_virt_wait_reset()
228 int amdgpu_virt_alloc_mm_table(struct amdgpu_device *adev) in amdgpu_virt_alloc_mm_table()
258 void amdgpu_virt_free_mm_table(struct amdgpu_device *adev) in amdgpu_virt_free_mm_table()
[all …]
Dvcn_v1_0.c69 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vcn_v1_0_early_init() local
93 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vcn_v1_0_sw_init() local
177 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vcn_v1_0_sw_fini() local
199 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vcn_v1_0_hw_init() local
236 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vcn_v1_0_hw_fini() local
259 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vcn_v1_0_suspend() local
287 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vcn_v1_0_resume() local
305 static void vcn_v1_0_mc_resume_spg_mode(struct amdgpu_device *adev) in vcn_v1_0_mc_resume_spg_mode()
372 static void vcn_v1_0_mc_resume_dpg_mode(struct amdgpu_device *adev) in vcn_v1_0_mc_resume_dpg_mode()
451 static void vcn_v1_0_disable_clock_gating(struct amdgpu_device *adev) in vcn_v1_0_disable_clock_gating()
[all …]
Djpeg_v4_0.c57 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v4_0_early_init() local
79 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v4_0_sw_init() local
139 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v4_0_sw_fini() local
159 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v4_0_hw_init() local
198 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v4_0_hw_fini() local
221 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v4_0_suspend() local
242 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in jpeg_v4_0_resume() local
254 static void jpeg_v4_0_disable_clock_gating(struct amdgpu_device *adev) in jpeg_v4_0_disable_clock_gating()
278 static void jpeg_v4_0_enable_clock_gating(struct amdgpu_device *adev) in jpeg_v4_0_enable_clock_gating()
302 static int jpeg_v4_0_disable_static_power_gating(struct amdgpu_device *adev) in jpeg_v4_0_disable_static_power_gating()
[all …]
Dgfx_v7_0.c887 static void gfx_v7_0_free_microcode(struct amdgpu_device *adev) in gfx_v7_0_free_microcode()
909 static int gfx_v7_0_init_microcode(struct amdgpu_device *adev) in gfx_v7_0_init_microcode()
987 static void gfx_v7_0_tiling_mode_table_init(struct amdgpu_device *adev) in gfx_v7_0_tiling_mode_table_init()
1552 static void gfx_v7_0_select_se_sh(struct amdgpu_device *adev, in gfx_v7_0_select_se_sh()
1586 static u32 gfx_v7_0_get_rb_active_bitmap(struct amdgpu_device *adev) in gfx_v7_0_get_rb_active_bitmap()
1603 gfx_v7_0_raster_config(struct amdgpu_device *adev, u32 *rconf, u32 *rconf1) in gfx_v7_0_raster_config()
1635 gfx_v7_0_write_harvested_raster_configs(struct amdgpu_device *adev, in gfx_v7_0_write_harvested_raster_configs()
1750 static void gfx_v7_0_setup_rb(struct amdgpu_device *adev) in gfx_v7_0_setup_rb()
1816 static void gfx_v7_0_init_compute_vmid(struct amdgpu_device *adev) in gfx_v7_0_init_compute_vmid()
1854 static void gfx_v7_0_init_gds_vmid(struct amdgpu_device *adev) in gfx_v7_0_init_gds_vmid()
[all …]
Dsoc21.c150 static int soc21_query_video_codecs(struct amdgpu_device *adev, bool encode, in soc21_query_video_codecs()
192 static u32 soc21_didt_rreg(struct amdgpu_device *adev, u32 reg) in soc21_didt_rreg()
207 static void soc21_didt_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in soc21_didt_wreg()
220 static u32 soc21_get_config_memsize(struct amdgpu_device *adev) in soc21_get_config_memsize()
225 static u32 soc21_get_xclk(struct amdgpu_device *adev) in soc21_get_xclk()
231 void soc21_grbm_select(struct amdgpu_device *adev, in soc21_grbm_select()
243 static bool soc21_read_disabled_bios(struct amdgpu_device *adev) in soc21_read_disabled_bios()
271 static uint32_t soc21_read_indexed_register(struct amdgpu_device *adev, u32 se_num, in soc21_read_indexed_register()
288 static uint32_t soc21_get_register_value(struct amdgpu_device *adev, in soc21_get_register_value()
301 static int soc21_read_register(struct amdgpu_device *adev, u32 se_num, in soc21_read_register()
[all …]
Dsi.c989 static int si_query_video_codecs(struct amdgpu_device *adev, bool encode, in si_query_video_codecs()
1018 static u32 si_pcie_rreg(struct amdgpu_device *adev, u32 reg) in si_pcie_rreg()
1031 static void si_pcie_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in si_pcie_wreg()
1043 static u32 si_pciep_rreg(struct amdgpu_device *adev, u32 reg) in si_pciep_rreg()
1056 static void si_pciep_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in si_pciep_wreg()
1068 static u32 si_smc_rreg(struct amdgpu_device *adev, u32 reg) in si_smc_rreg()
1080 static void si_smc_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in si_smc_wreg()
1090 static u32 si_uvd_ctx_rreg(struct amdgpu_device *adev, u32 reg) in si_uvd_ctx_rreg()
1102 static void si_uvd_ctx_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in si_uvd_ctx_wreg()
1164 static uint32_t si_get_register_value(struct amdgpu_device *adev, in si_get_register_value()
[all …]
Dmxgpu_nv.c36 static void xgpu_nv_mailbox_send_ack(struct amdgpu_device *adev) in xgpu_nv_mailbox_send_ack()
41 static void xgpu_nv_mailbox_set_valid(struct amdgpu_device *adev, bool val) in xgpu_nv_mailbox_set_valid()
55 static enum idh_event xgpu_nv_mailbox_peek_msg(struct amdgpu_device *adev) in xgpu_nv_mailbox_peek_msg()
61 static int xgpu_nv_mailbox_rcv_msg(struct amdgpu_device *adev, in xgpu_nv_mailbox_rcv_msg()
75 static uint8_t xgpu_nv_peek_ack(struct amdgpu_device *adev) in xgpu_nv_peek_ack()
80 static int xgpu_nv_poll_ack(struct amdgpu_device *adev) in xgpu_nv_poll_ack()
99 static int xgpu_nv_poll_msg(struct amdgpu_device *adev, enum idh_event event) in xgpu_nv_poll_msg()
120 static void xgpu_nv_mailbox_trans_msg (struct amdgpu_device *adev, in xgpu_nv_mailbox_trans_msg()
155 static int xgpu_nv_send_access_requests(struct amdgpu_device *adev, in xgpu_nv_send_access_requests()
209 static int xgpu_nv_request_reset(struct amdgpu_device *adev) in xgpu_nv_request_reset()
[all …]
Dmxgpu_ai.c37 static void xgpu_ai_mailbox_send_ack(struct amdgpu_device *adev) in xgpu_ai_mailbox_send_ack()
42 static void xgpu_ai_mailbox_set_valid(struct amdgpu_device *adev, bool val) in xgpu_ai_mailbox_set_valid()
56 static enum idh_event xgpu_ai_mailbox_peek_msg(struct amdgpu_device *adev) in xgpu_ai_mailbox_peek_msg()
63 static int xgpu_ai_mailbox_rcv_msg(struct amdgpu_device *adev, in xgpu_ai_mailbox_rcv_msg()
78 static uint8_t xgpu_ai_peek_ack(struct amdgpu_device *adev) { in xgpu_ai_peek_ack()
82 static int xgpu_ai_poll_ack(struct amdgpu_device *adev) in xgpu_ai_poll_ack()
101 static int xgpu_ai_poll_msg(struct amdgpu_device *adev, enum idh_event event) in xgpu_ai_poll_msg()
119 static void xgpu_ai_mailbox_trans_msg (struct amdgpu_device *adev, in xgpu_ai_mailbox_trans_msg()
163 static int xgpu_ai_send_access_requests(struct amdgpu_device *adev, in xgpu_ai_send_access_requests()
195 static int xgpu_ai_request_reset(struct amdgpu_device *adev) in xgpu_ai_request_reset()
[all …]
Damdgpu_ras.c139 void amdgpu_ras_set_error_query_ready(struct amdgpu_device *adev, bool ready) in amdgpu_ras_set_error_query_ready()
145 static bool amdgpu_ras_get_error_query_ready(struct amdgpu_device *adev) in amdgpu_ras_get_error_query_ready()
153 static int amdgpu_reserve_page_direct(struct amdgpu_device *adev, uint64_t address) in amdgpu_reserve_page_direct()
336 static void amdgpu_ras_instance_mask_check(struct amdgpu_device *adev, in amdgpu_ras_instance_mask_check()
460 struct amdgpu_device *adev = (struct amdgpu_device *)file_inode(f)->i_private; in amdgpu_ras_debugfs_ctrl_write() local
548 struct amdgpu_device *adev = in amdgpu_ras_debugfs_eeprom_write() local
638 static struct ras_manager *amdgpu_ras_create_obj(struct amdgpu_device *adev, in amdgpu_ras_create_obj()
671 struct ras_manager *amdgpu_ras_find_obj(struct amdgpu_device *adev, in amdgpu_ras_find_obj()
708 static int amdgpu_ras_is_feature_allowed(struct amdgpu_device *adev, in amdgpu_ras_is_feature_allowed()
714 static int amdgpu_ras_is_feature_enabled(struct amdgpu_device *adev, in amdgpu_ras_is_feature_enabled()
[all …]
Dgfx_v10_0.c3554 struct amdgpu_device *adev = kiq_ring->adev; in gfx10_kiq_unmap_queues() local
3623 static void gfx_v10_0_set_kiq_pm4_funcs(struct amdgpu_device *adev) in gfx_v10_0_set_kiq_pm4_funcs()
3628 static void gfx_v10_0_init_spm_golden_registers(struct amdgpu_device *adev) in gfx_v10_0_init_spm_golden_registers()
3651 static void gfx_v10_0_init_golden_registers(struct amdgpu_device *adev) in gfx_v10_0_init_golden_registers()
3768 struct amdgpu_device *adev = ring->adev; in gfx_v10_0_ring_test_ring() local
3806 struct amdgpu_device *adev = ring->adev; in gfx_v10_0_ring_test_ib() local
3878 static void gfx_v10_0_free_microcode(struct amdgpu_device *adev) in gfx_v10_0_free_microcode()
3890 static void gfx_v10_0_check_fw_write_wait(struct amdgpu_device *adev) in gfx_v10_0_check_fw_write_wait()
3926 static bool gfx_v10_0_navi10_gfxoff_should_enable(struct amdgpu_device *adev) in gfx_v10_0_navi10_gfxoff_should_enable()
3943 static void gfx_v10_0_check_gfxoff_flag(struct amdgpu_device *adev) in gfx_v10_0_check_gfxoff_flag()
[all …]
/drivers/gpu/drm/amd/pm/
Damdgpu_dpm.c36 #define amdgpu_dpm_enable_bapm(adev, e) \ 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, uint32_t block_type, bool gate) in amdgpu_dpm_set_powergating_by_smu()
112 int amdgpu_dpm_set_gfx_power_up_by_imu(struct amdgpu_device *adev) in amdgpu_dpm_set_gfx_power_up_by_imu()
126 int amdgpu_dpm_baco_enter(struct amdgpu_device *adev) in amdgpu_dpm_baco_enter()
145 int amdgpu_dpm_baco_exit(struct amdgpu_device *adev) in amdgpu_dpm_baco_exit()
164 int amdgpu_dpm_set_mp1_state(struct amdgpu_device *adev, in amdgpu_dpm_set_mp1_state()
183 bool amdgpu_dpm_is_baco_supported(struct amdgpu_device *adev) in amdgpu_dpm_is_baco_supported()
[all …]
/drivers/gpu/drm/amd/pm/legacy-dpm/
Dkv_dpm.c72 static u32 kv_convert_vid2_to_vid7(struct amdgpu_device *adev, in kv_convert_vid2_to_vid7()
94 static u32 kv_convert_vid7_to_vid2(struct amdgpu_device *adev, in kv_convert_vid7_to_vid2()
118 static void sumo_take_smu_control(struct amdgpu_device *adev, bool enable) in sumo_take_smu_control()
137 static void sumo_construct_sclk_voltage_mapping_table(struct amdgpu_device *adev, in sumo_construct_sclk_voltage_mapping_table()
159 static void sumo_construct_vid_mapping_table(struct amdgpu_device *adev, in sumo_construct_vid_mapping_table()
367 static struct kv_power_info *kv_get_pi(struct amdgpu_device *adev) in kv_get_pi()
400 static int kv_program_pt_config_registers(struct amdgpu_device *adev, in kv_program_pt_config_registers()
449 static void kv_do_enable_didt(struct amdgpu_device *adev, bool enable) in kv_do_enable_didt()
491 static int kv_enable_didt(struct amdgpu_device *adev, bool enable) in kv_enable_didt()
551 static int kv_enable_smc_cac(struct amdgpu_device *adev, bool enable) in kv_enable_smc_cac()
[all …]

12345678910>>...25