Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/gpu/drm/amd/amdgpu/
Dvcn_v3_0.c181 volatile struct amdgpu_fw_shared *fw_shared; in vcn_v3_0_sw_init() local
248 fw_shared = adev->vcn.inst[i].fw_shared_cpu_addr; in vcn_v3_0_sw_init()
249 fw_shared->present_flag_0 |= cpu_to_le32(AMDGPU_VCN_SW_RING_FLAG) | in vcn_v3_0_sw_init()
252 fw_shared->sw_ring.is_enabled = cpu_to_le32(DEC_SW_RING_ENABLED); in vcn_v3_0_sw_init()
280 volatile struct amdgpu_fw_shared *fw_shared; in vcn_v3_0_sw_fini() local
284 fw_shared = adev->vcn.inst[i].fw_shared_cpu_addr; in vcn_v3_0_sw_fini()
285 fw_shared->present_flag_0 = 0; in vcn_v3_0_sw_fini()
286 fw_shared->sw_ring.is_enabled = false; in vcn_v3_0_sw_fini()
958 volatile struct amdgpu_fw_shared *fw_shared = adev->vcn.inst[inst_idx].fw_shared_cpu_addr; in vcn_v3_0_start_dpg_mode() local
1072 fw_shared->multi_queue.decode_queue_mode |= cpu_to_le32(FW_QUEUE_RING_RESET); in vcn_v3_0_start_dpg_mode()
[all …]
Dvcn_v2_0.c96 volatile struct amdgpu_fw_shared *fw_shared; in vcn_v2_0_sw_init() local
181 fw_shared = adev->vcn.inst->fw_shared_cpu_addr; in vcn_v2_0_sw_init()
182 fw_shared->present_flag_0 = cpu_to_le32(AMDGPU_VCN_MULTI_QUEUE_FLAG); in vcn_v2_0_sw_init()
197 volatile struct amdgpu_fw_shared *fw_shared = adev->vcn.inst->fw_shared_cpu_addr; in vcn_v2_0_sw_fini() local
199 fw_shared->present_flag_0 = 0; in vcn_v2_0_sw_fini()
790 volatile struct amdgpu_fw_shared *fw_shared = adev->vcn.inst->fw_shared_cpu_addr; in vcn_v2_0_start_dpg_mode() local
894 fw_shared->multi_queue.decode_queue_mode |= FW_QUEUE_RING_RESET; in vcn_v2_0_start_dpg_mode()
918 fw_shared->multi_queue.decode_queue_mode &= ~FW_QUEUE_RING_RESET; in vcn_v2_0_start_dpg_mode()
927 volatile struct amdgpu_fw_shared *fw_shared = adev->vcn.inst->fw_shared_cpu_addr; in vcn_v2_0_start() local
1062 fw_shared->multi_queue.decode_queue_mode |= FW_QUEUE_RING_RESET; in vcn_v2_0_start()
[all …]
Dvcn_v2_5.c163 volatile struct amdgpu_fw_shared *fw_shared; in vcn_v2_5_sw_init() local
211 fw_shared = adev->vcn.inst[j].fw_shared_cpu_addr; in vcn_v2_5_sw_init()
212 fw_shared->present_flag_0 = cpu_to_le32(AMDGPU_VCN_MULTI_QUEUE_FLAG); in vcn_v2_5_sw_init()
238 volatile struct amdgpu_fw_shared *fw_shared; in vcn_v2_5_sw_fini() local
243 fw_shared = adev->vcn.inst[i].fw_shared_cpu_addr; in vcn_v2_5_sw_fini()
244 fw_shared->present_flag_0 = 0; in vcn_v2_5_sw_fini()
768 volatile struct amdgpu_fw_shared *fw_shared = adev->vcn.inst[inst_idx].fw_shared_cpu_addr; in vcn_v2_5_start_dpg_mode() local
878 fw_shared->multi_queue.decode_queue_mode |= FW_QUEUE_RING_RESET; in vcn_v2_5_start_dpg_mode()
902 fw_shared->multi_queue.decode_queue_mode &= ~FW_QUEUE_RING_RESET; in vcn_v2_5_start_dpg_mode()
992 volatile struct amdgpu_fw_shared *fw_shared = adev->vcn.inst[i].fw_shared_cpu_addr; in vcn_v2_5_start() local
[all …]