Home
last modified time | relevance | path

Searched refs:rlc (Results 1 – 22 of 22) sorted by relevance

/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_rlc.c39 if (adev->gfx.rlc.in_safe_mode) in amdgpu_gfx_rlc_enter_safe_mode()
50 adev->gfx.rlc.in_safe_mode = true; in amdgpu_gfx_rlc_enter_safe_mode()
63 if (!(adev->gfx.rlc.in_safe_mode)) in amdgpu_gfx_rlc_exit_safe_mode()
74 adev->gfx.rlc.in_safe_mode = false; in amdgpu_gfx_rlc_exit_safe_mode()
107 src_ptr = adev->gfx.rlc.reg_list; in amdgpu_gfx_rlc_init_sr()
108 dst_ptr = adev->gfx.rlc.sr_ptr; in amdgpu_gfx_rlc_init_sr()
131 adev->gfx.rlc.clear_state_size = dws = adev->gfx.rlc.funcs->get_csb_size(adev); in amdgpu_gfx_rlc_init_csb()
134 &adev->gfx.rlc.clear_state_obj, in amdgpu_gfx_rlc_init_csb()
160 &adev->gfx.rlc.cp_table_obj, in amdgpu_gfx_rlc_init_cpt()
195 dst_ptr = adev->gfx.rlc.cp_table_ptr; in amdgpu_gfx_rlc_setup_cp_table()
[all …]
A Dsoc15_common.h31 ((amdgpu_sriov_vf(adev) && adev->gfx.rlc.funcs && adev->gfx.rlc.funcs->sriov_wreg) ? \
32 adev->gfx.rlc.funcs->sriov_wreg(adev, reg, value, flag, hwip) : \
36 ((amdgpu_sriov_vf(adev) && adev->gfx.rlc.funcs && adev->gfx.rlc.funcs->sriov_rreg) ? \
37 adev->gfx.rlc.funcs->sriov_rreg(adev, reg, flag, hwip) : \
A Damdgpu_ucode.c610 ucode->ucode_size = adev->gfx.rlc.save_restore_list_cntl_size_bytes; in amdgpu_ucode_init_single_fw()
611 ucode_addr = adev->gfx.rlc.save_restore_list_cntl; in amdgpu_ucode_init_single_fw()
614 ucode->ucode_size = adev->gfx.rlc.save_restore_list_gpm_size_bytes; in amdgpu_ucode_init_single_fw()
615 ucode_addr = adev->gfx.rlc.save_restore_list_gpm; in amdgpu_ucode_init_single_fw()
618 ucode->ucode_size = adev->gfx.rlc.save_restore_list_srm_size_bytes; in amdgpu_ucode_init_single_fw()
619 ucode_addr = adev->gfx.rlc.save_restore_list_srm; in amdgpu_ucode_init_single_fw()
622 ucode->ucode_size = adev->gfx.rlc.rlc_iram_ucode_size_bytes; in amdgpu_ucode_init_single_fw()
623 ucode_addr = adev->gfx.rlc.rlc_iram_ucode; in amdgpu_ucode_init_single_fw()
626 ucode->ucode_size = adev->gfx.rlc.rlc_dram_ucode_size_bytes; in amdgpu_ucode_init_single_fw()
627 ucode_addr = adev->gfx.rlc.rlc_dram_ucode; in amdgpu_ucode_init_single_fw()
A Dgfx_v9_0.c1332 !adev->gfx.rlc.is_rlc_v2_1)) in gfx_v9_0_check_if_need_gfxoff()
1509 adev->gfx.rlc.register_restore = adev->gfx.rlc.register_list_format + i; in gfx_v9_0_init_rlc_microcode()
1516 if (adev->gfx.rlc.is_rlc_v2_1) in gfx_v9_0_init_rlc_microcode()
1527 if (adev->gfx.rlc.is_rlc_v2_1 && in gfx_v9_0_init_rlc_microcode()
1958 cs_data = adev->gfx.rlc.cs_data; in gfx_v9_0_rlc_init()
2731 adev->gfx.rlc.funcs->get_csb_buffer(adev, adev->gfx.rlc.cs_ptr); in gfx_v9_0_init_csb()
3060 if (adev->gfx.rlc.is_rlc_v2_1) { in gfx_v9_0_init_pg()
3160 adev->gfx.rlc.funcs->stop(adev); in gfx_v9_0_rlc_resume()
3192 adev->gfx.rlc.funcs->start(adev); in gfx_v9_0_rlc_resume()
4070 adev->gfx.rlc.funcs->stop(adev); in gfx_v9_0_hw_fini()
[all …]
A Dgfx_v7_0.c3308 adev->gfx.rlc.reg_list_size = in gfx_v7_0_rlc_init()
3312 adev->gfx.rlc.reg_list_size = in gfx_v7_0_rlc_init()
3320 src_ptr = adev->gfx.rlc.reg_list; in gfx_v7_0_rlc_init()
3324 cs_data = adev->gfx.rlc.cs_data; in gfx_v7_0_rlc_init()
3400 if (tmp != rlc) in gfx_v7_0_update_rlc()
3401 WREG32(mmRLC_CNTL, rlc); in gfx_v7_0_update_rlc()
3532 adev->gfx.rlc.funcs->stop(adev); in gfx_v7_0_rlc_resume()
3902 if (adev->gfx.rlc.cs_data) { in gfx_v7_0_init_gfx_cgpg()
3912 if (adev->gfx.rlc.reg_list) { in gfx_v7_0_init_gfx_cgpg()
4585 adev->gfx.rlc.funcs->get_csb_buffer(adev, adev->gfx.rlc.cs_ptr); in gfx_v7_0_hw_init()
[all …]
A Dgfx_v6_0.c2381 adev->gfx.rlc.reg_list_size = in gfx_v6_0_rlc_init()
2385 src_ptr = adev->gfx.rlc.reg_list; in gfx_v6_0_rlc_init()
2386 dws = adev->gfx.rlc.reg_list_size; in gfx_v6_0_rlc_init()
2387 cs_data = adev->gfx.rlc.cs_data; in gfx_v6_0_rlc_init()
2413 dst_ptr = adev->gfx.rlc.cs_ptr; in gfx_v6_0_rlc_init()
2458 if (tmp != rlc) in gfx_v6_0_update_rlc()
2459 WREG32(mmRLC_CNTL, rlc); in gfx_v6_0_update_rlc()
2529 adev->gfx.rlc.funcs->stop(adev); in gfx_v6_0_rlc_resume()
2530 adev->gfx.rlc.funcs->reset(adev); in gfx_v6_0_rlc_resume()
2558 adev->gfx.rlc.funcs->start(adev); in gfx_v6_0_rlc_resume()
[all …]
A Dgfx_v8_0.c1101 adev->gfx.rlc.reg_list_size_bytes = in gfx_v8_0_init_microcode()
1118 adev->gfx.rlc.register_restore = adev->gfx.rlc.register_list_format + i; in gfx_v8_0_init_microcode()
1259 if (adev->gfx.rlc.cs_data == NULL) in gfx_v8_0_get_csb_buffer()
1314 cs_data = adev->gfx.rlc.cs_data; in gfx_v8_0_rlc_init()
3909 adev->gfx.rlc.funcs->get_csb_buffer(adev, adev->gfx.rlc.cs_ptr); in gfx_v8_0_init_csb()
4127 adev->gfx.rlc.funcs->stop(adev); in gfx_v8_0_rlc_resume()
4128 adev->gfx.rlc.funcs->reset(adev); in gfx_v8_0_rlc_resume()
4130 adev->gfx.rlc.funcs->start(adev); in gfx_v8_0_rlc_resume()
4952 adev->gfx.rlc.funcs->stop(adev); in gfx_v8_0_hw_fini()
5044 adev->gfx.rlc.funcs->stop(adev); in gfx_v8_0_pre_soft_reset()
[all …]
A Dgfx_v10_0.c4176 adev->gfx.rlc.reg_list_size_bytes = in gfx_v10_0_init_microcode()
4191 adev->gfx.rlc.register_restore = adev->gfx.rlc.register_list_format + i; in gfx_v10_0_init_microcode()
4398 if (adev->gfx.rlc.cs_data == NULL) in gfx_v10_0_get_csb_buffer()
4443 (void **)&adev->gfx.rlc.cs_ptr); in gfx_v10_0_rlc_fini()
4447 &adev->gfx.rlc.cp_table_gpu_addr, in gfx_v10_0_rlc_fini()
4458 cs_data = adev->gfx.rlc.cs_data; in gfx_v10_0_rlc_init()
5304 adev->gfx.rlc.funcs->get_csb_buffer(adev, adev->gfx.rlc.cs_ptr); in gfx_v10_0_init_csb()
5432 adev->gfx.rlc.funcs->stop(adev); in gfx_v10_0_rlc_resume()
5454 adev->gfx.rlc.funcs->start(adev); in gfx_v10_0_rlc_resume()
5478 &adev->gfx.rlc.rlc_toc_bo, in gfx_v10_0_parse_rlc_toc()
[all …]
A Damdgpu_ucode.h329 struct rlc_firmware_header_v1_0 rlc; member
A Daldebaran.c260 adev->gfx.rlc.funcs->resume(adev); in aldebaran_mode2_restore_ip()
A Damdgpu_gfx.h272 struct amdgpu_rlc rlc; member
A Damdgpu_device.c565 adev->gfx.rlc.funcs && in amdgpu_mm_wreg_mmio_rlc()
566 adev->gfx.rlc.funcs->is_rlcg_access_range) { in amdgpu_mm_wreg_mmio_rlc()
567 if (adev->gfx.rlc.funcs->is_rlcg_access_range(adev, reg)) in amdgpu_mm_wreg_mmio_rlc()
568 return adev->gfx.rlc.funcs->sriov_wreg(adev, reg, v, 0, 0); in amdgpu_mm_wreg_mmio_rlc()
A Damdgpu_vm.c1188 if (update_spm_vmid_needed && adev->gfx.rlc.funcs->update_spm_vmid) in amdgpu_vm_flush()
1189 adev->gfx.rlc.funcs->update_spm_vmid(adev, job->vmid); in amdgpu_vm_flush()
/linux/drivers/gpu/drm/radeon/
A Devergreen.c4140 if (rdev->rlc.cp_table_obj) { in sumo_rlc_fini()
4164 src_ptr = rdev->rlc.reg_list; in sumo_rlc_init()
4165 dws = rdev->rlc.reg_list_size; in sumo_rlc_init()
4169 cs_data = rdev->rlc.cs_data; in sumo_rlc_init()
4197 r = radeon_bo_kmap(rdev->rlc.save_restore_obj, (void **)&rdev->rlc.sr_ptr); in sumo_rlc_init()
4204 dst_ptr = rdev->rlc.sr_ptr; in sumo_rlc_init()
4276 r = radeon_bo_kmap(rdev->rlc.clear_state_obj, (void **)&rdev->rlc.cs_ptr); in sumo_rlc_init()
4283 dst_ptr = rdev->rlc.cs_ptr; in sumo_rlc_init()
4327 if (rdev->rlc.cp_table_size) { in sumo_rlc_init()
4354 r = radeon_bo_kmap(rdev->rlc.cp_table_obj, (void **)&rdev->rlc.cp_table_ptr); in sumo_rlc_init()
[all …]
A Dradeon_ucode.h215 struct rlc_firmware_header_v1_0 rlc; member
A Dcik.c5811 if (tmp != rlc) in cik_update_rlc()
5812 WREG32(RLC_CNTL, rlc); in cik_update_rlc()
6420 if (rdev->rlc.cp_table_ptr == NULL) in cik_init_cp_pg_table()
6424 dst_ptr = rdev->rlc.cp_table_ptr; in cik_init_cp_pg_table()
6616 if (rdev->rlc.cs_data) { in cik_init_gfx_cgpg()
6626 if (rdev->rlc.reg_list) { in cik_init_gfx_cgpg()
6673 if (rdev->rlc.cs_data == NULL) in cik_get_csb_size()
6705 if (rdev->rlc.cs_data == NULL) in cik_get_csb_buffer()
8311 rdev->rlc.reg_list_size = in cik_startup()
8315 rdev->rlc.reg_list_size = in cik_startup()
[all …]
A Dsi.c5216 static void si_update_rlc(struct radeon_device *rdev, u32 rlc) in si_update_rlc() argument
5221 if (tmp != rlc) in si_update_rlc()
5222 WREG32(RLC_CNTL, rlc); in si_update_rlc()
5278 WREG32(RLC_SAVE_AND_RESTORE_BASE, rdev->rlc.save_restore_gpu_addr >> 8); in si_init_gfx_cgpg()
5684 if (rdev->rlc.cs_data == NULL) in si_get_csb_size()
5692 for (sect = rdev->rlc.cs_data; sect->section != NULL; ++sect) { in si_get_csb_size()
5716 if (rdev->rlc.cs_data == NULL) in si_get_csb_buffer()
5728 for (sect = rdev->rlc.cs_data; sect->section != NULL; ++sect) { in si_get_csb_buffer()
6639 rdev->rlc.reg_list = verde_rlc_save_restore_register_list; in si_startup()
6640 rdev->rlc.reg_list_size = in si_startup()
[all …]
A Dni.c2177 rdev->rlc.reg_list = tn_rlc_save_restore_register_list; in cayman_startup()
2178 rdev->rlc.reg_list_size = in cayman_startup()
2180 rdev->rlc.cs_data = cayman_cs_data; in cayman_startup()
A Dradeon.h2445 struct radeon_rlc rlc; member
/linux/arch/arc/lib/
A Dstrcmp.S77 rlc r0,0 ; r0 := r2 > r3 ? 1 : 0
/linux/drivers/media/test-drivers/vicodec/
A Dcodec-fwht.c55 rlc(const s16 *in, __be16 *output, int blocktype) in rlc() function
732 size = rlc(cf->coeffs, *rlco, blocktype); in encode_plane()
/linux/drivers/gpu/drm/amd/pm/swsmu/
A Damdgpu_smu.c1478 adev->gfx.rlc.funcs->stop) in smu_disable_dpms()
1479 adev->gfx.rlc.funcs->stop(adev); in smu_disable_dpms()

Completed in 149 milliseconds