Home
last modified time | relevance | path

Searched refs:fw_shared (Results 1 – 7 of 7) sorted by relevance

/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/
A Dvcn_v3_0.c154 volatile struct amdgpu_fw_shared *fw_shared; in vcn_v3_0_sw_init() local
222 fw_shared = adev->vcn.inst[i].fw_shared.cpu_addr; in vcn_v3_0_sw_init()
262 volatile struct amdgpu_fw_shared *fw_shared; in vcn_v3_0_sw_fini() local
266 fw_shared = adev->vcn.inst[i].fw_shared.cpu_addr; in vcn_v3_0_sw_fini()
267 fw_shared->present_flag_0 = 0; in vcn_v3_0_sw_fini()
268 fw_shared->sw_ring.is_enabled = false; in vcn_v3_0_sw_fini()
942 volatile struct amdgpu_fw_shared *fw_shared = adev->vcn.inst[inst_idx].fw_shared.cpu_addr; in vcn_v3_0_start_dpg_mode() local
1081 fw_shared->rb.rptr = 0; in vcn_v3_0_start_dpg_mode()
1239 fw_shared = adev->vcn.inst[i].fw_shared.cpu_addr; in vcn_v3_0_start()
1633 fw_shared = adev->vcn.inst[inst_idx].fw_shared.cpu_addr; in vcn_v3_0_pause_dpg_mode()
[all …]
A Dvcn_v4_0.c127 volatile struct amdgpu_vcn4_fw_shared *fw_shared; in vcn_v4_0_sw_init() local
160 fw_shared = adev->vcn.inst[i].fw_shared.cpu_addr; in vcn_v4_0_sw_init()
162 fw_shared->sq.is_enabled = 1; in vcn_v4_0_sw_init()
206 fw_shared = adev->vcn.inst[i].fw_shared.cpu_addr; in vcn_v4_0_sw_fini()
207 fw_shared->present_flag_0 = 0; in vcn_v4_0_sw_fini()
208 fw_shared->sq.is_enabled = 0; in vcn_v4_0_sw_fini()
902 volatile struct amdgpu_vcn4_fw_shared *fw_shared = adev->vcn.inst[inst_idx].fw_shared.cpu_addr; in vcn_v4_0_start_dpg_mode() local
1040 fw_shared = adev->vcn.inst[i].fw_shared.cpu_addr; in vcn_v4_0_start()
1315 fw_shared = adev->vcn.inst[i].fw_shared.cpu_addr; in vcn_v4_0_start_sriov()
1316 rb_setup = &fw_shared->rb_setup; in vcn_v4_0_start_sriov()
[all …]
A Dvcn_v2_0.c100 volatile struct amdgpu_fw_shared *fw_shared; in vcn_v2_0_sw_init() local
179 fw_shared = adev->vcn.inst->fw_shared.cpu_addr; in vcn_v2_0_sw_init()
199 volatile struct amdgpu_fw_shared *fw_shared = adev->vcn.inst->fw_shared.cpu_addr; in vcn_v2_0_sw_fini() local
202 fw_shared->present_flag_0 = 0; in vcn_v2_0_sw_fini()
375 lower_32_bits(adev->vcn.inst->fw_shared.gpu_addr)); in vcn_v2_0_mc_resume()
377 upper_32_bits(adev->vcn.inst->fw_shared.gpu_addr)); in vcn_v2_0_mc_resume()
466 lower_32_bits(adev->vcn.inst->fw_shared.gpu_addr), 0, indirect); in vcn_v2_0_mc_resume_dpg_mode()
469 upper_32_bits(adev->vcn.inst->fw_shared.gpu_addr), 0, indirect); in vcn_v2_0_mc_resume_dpg_mode()
795 volatile struct amdgpu_fw_shared *fw_shared = adev->vcn.inst->fw_shared.cpu_addr; in vcn_v2_0_start_dpg_mode() local
932 volatile struct amdgpu_fw_shared *fw_shared = adev->vcn.inst->fw_shared.cpu_addr; in vcn_v2_0_start() local
[all …]
A Dvcn_v2_5.c162 volatile struct amdgpu_fw_shared *fw_shared; in vcn_v2_5_sw_init() local
212 fw_shared = adev->vcn.inst[j].fw_shared.cpu_addr; in vcn_v2_5_sw_init()
242 volatile struct amdgpu_fw_shared *fw_shared; in vcn_v2_5_sw_fini() local
248 fw_shared = adev->vcn.inst[i].fw_shared.cpu_addr; in vcn_v2_5_sw_fini()
249 fw_shared->present_flag_0 = 0; in vcn_v2_5_sw_fini()
442 lower_32_bits(adev->vcn.inst[i].fw_shared.gpu_addr)); in vcn_v2_5_mc_resume()
444 upper_32_bits(adev->vcn.inst[i].fw_shared.gpu_addr)); in vcn_v2_5_mc_resume()
803 volatile struct amdgpu_fw_shared *fw_shared = adev->vcn.inst[inst_idx].fw_shared.cpu_addr; in vcn_v2_5_start_dpg_mode() local
915 fw_shared->multi_queue.decode_queue_mode |= FW_QUEUE_RING_RESET; in vcn_v2_5_start_dpg_mode()
1029 volatile struct amdgpu_fw_shared *fw_shared = adev->vcn.inst[i].fw_shared.cpu_addr; in vcn_v2_5_start() local
[all …]
A Damdgpu_vcn.c179 adev->vcn.inst[i].fw_shared.cpu_addr = adev->vcn.inst[i].cpu_addr + in amdgpu_vcn_sw_init()
181 adev->vcn.inst[i].fw_shared.gpu_addr = adev->vcn.inst[i].gpu_addr + in amdgpu_vcn_sw_init()
184 adev->vcn.inst[i].fw_shared.mem_size = fw_shared_size; in amdgpu_vcn_sw_init()
187 adev->vcn.inst[i].fw_shared.cpu_addr -= AMDGPU_VCNFW_LOG_SIZE; in amdgpu_vcn_sw_init()
188 adev->vcn.inst[i].fw_shared.gpu_addr -= AMDGPU_VCNFW_LOG_SIZE; in amdgpu_vcn_sw_init()
189 adev->vcn.inst[i].fw_shared.log_offset = log_offset; in amdgpu_vcn_sw_init()
1047 if (!vcn->fw_shared.cpu_addr || !amdgpu_vcnfw_log) in amdgpu_debugfs_vcn_fwlog_read()
1050 log_buf = vcn->fw_shared.cpu_addr + vcn->fw_shared.mem_size; in amdgpu_debugfs_vcn_fwlog_read()
1119 volatile uint32_t *flag = vcn->fw_shared.cpu_addr; in amdgpu_vcn_fwlog_init()
1120 void *fw_log_cpu_addr = vcn->fw_shared.cpu_addr + vcn->fw_shared.mem_size; in amdgpu_vcn_fwlog_init()
[all …]
A Damdgpu_vcn.h244 struct amdgpu_vcn_fw_shared fw_shared; member
A Dvcn_v1_0.c154 volatile struct amdgpu_fw_shared *fw_shared = adev->vcn.inst->fw_shared.cpu_addr; in vcn_v1_0_sw_init() local
156 fw_shared->present_flag_0 = 0; in vcn_v1_0_sw_init()

Completed in 22 milliseconds