Home
last modified time | relevance | path

Searched refs:harvest_config (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.15/drivers/gpu/drm/amd/amdgpu/
Djpeg_v2_5.c65 adev->jpeg.harvest_config |= 1 << i; in jpeg_v2_5_early_init()
67 if (adev->jpeg.harvest_config == (AMDGPU_JPEG_HARVEST_JPEG0 | in jpeg_v2_5_early_init()
91 if (adev->jpeg.harvest_config & (1 << i)) in jpeg_v2_5_sw_init()
110 if (adev->jpeg.harvest_config & (1 << i)) in jpeg_v2_5_sw_init()
163 if (adev->jpeg.harvest_config & (1 << i)) in jpeg_v2_5_hw_init()
195 if (adev->jpeg.harvest_config & (1 << i)) in jpeg_v2_5_hw_fini()
303 if (adev->jpeg.harvest_config & (1 << i)) in jpeg_v2_5_start()
357 if (adev->jpeg.harvest_config & (1 << i)) in jpeg_v2_5_stop()
432 if (adev->jpeg.harvest_config & (1 << i)) in jpeg_v2_5_is_idle()
449 if (adev->jpeg.harvest_config & (1 << i)) in jpeg_v2_5_wait_for_idle()
[all …]
Dvce_v3_0.c83 if (adev->vce.harvest_config == 0 || in vce_v3_0_ring_get_rptr()
84 adev->vce.harvest_config == AMDGPU_VCE_HARVEST_VCE1) in vce_v3_0_ring_get_rptr()
86 else if (adev->vce.harvest_config == AMDGPU_VCE_HARVEST_VCE0) in vce_v3_0_ring_get_rptr()
115 if (adev->vce.harvest_config == 0 || in vce_v3_0_ring_get_wptr()
116 adev->vce.harvest_config == AMDGPU_VCE_HARVEST_VCE1) in vce_v3_0_ring_get_wptr()
118 else if (adev->vce.harvest_config == AMDGPU_VCE_HARVEST_VCE0) in vce_v3_0_ring_get_wptr()
146 if (adev->vce.harvest_config == 0 || in vce_v3_0_ring_set_wptr()
147 adev->vce.harvest_config == AMDGPU_VCE_HARVEST_VCE1) in vce_v3_0_ring_set_wptr()
149 else if (adev->vce.harvest_config == AMDGPU_VCE_HARVEST_VCE0) in vce_v3_0_ring_set_wptr()
272 if (adev->vce.harvest_config & (1 << idx)) in vce_v3_0_start()
[all …]
Dvcn_v2_5.c80 adev->vcn.harvest_config = 0; in vcn_v2_5_early_init()
89 adev->vcn.harvest_config |= 1 << i; in vcn_v2_5_early_init()
91 if (adev->vcn.harvest_config == (AMDGPU_VCN_HARVEST_VCN0 | in vcn_v2_5_early_init()
120 if (adev->vcn.harvest_config & (1 << j)) in vcn_v2_5_sw_init()
165 if (adev->vcn.harvest_config & (1 << j)) in vcn_v2_5_sw_init()
241 if (adev->vcn.harvest_config & (1 << i)) in vcn_v2_5_sw_fini()
276 if (adev->vcn.harvest_config & (1 << j)) in vcn_v2_5_hw_init()
327 if (adev->vcn.harvest_config & (1 << i)) in vcn_v2_5_hw_fini()
395 if (adev->vcn.harvest_config & (1 << i)) in vcn_v2_5_mc_resume()
552 if (adev->vcn.harvest_config & (1 << i)) in vcn_v2_5_disable_clock_gating()
[all …]
Duvd_v7_0.c384 adev->uvd.harvest_config |= 1 << i; in uvd_v7_0_early_init()
387 if (adev->uvd.harvest_config == (AMDGPU_UVD_HARVEST_UVD0 | in uvd_v7_0_early_init()
414 if (adev->uvd.harvest_config & (1 << j)) in uvd_v7_0_sw_init()
451 if (adev->uvd.harvest_config & (1 << j)) in uvd_v7_0_sw_init()
512 if (adev->uvd.harvest_config & (1 << j)) in uvd_v7_0_sw_fini()
542 if (adev->uvd.harvest_config & (1 << j)) in uvd_v7_0_hw_init()
681 if (adev->uvd.harvest_config & (1 << i)) in uvd_v7_0_mc_resume()
760 if (adev->uvd.harvest_config & (1 << i)) in uvd_v7_0_mmsch_start()
818 if (adev->uvd.harvest_config & (1 << i)) in uvd_v7_0_sriov_start()
963 if (adev->uvd.harvest_config & (1 << k)) in uvd_v7_0_start()
[all …]
Dvcn_v3_0.c94 adev->vcn.harvest_config = 0; in vcn_v3_0_early_init()
105 adev->vcn.harvest_config |= 1 << i; in vcn_v3_0_early_init()
108 if (adev->vcn.harvest_config == (AMDGPU_VCN_HARVEST_VCN0 | in vcn_v3_0_early_init()
183 if (adev->vcn.harvest_config & (1 << i)) in vcn_v3_0_sw_init()
282 if (adev->vcn.harvest_config & (1 << i)) in vcn_v3_0_sw_fini()
324 if (adev->vcn.harvest_config & (1 << i)) in vcn_v3_0_hw_init()
353 if (adev->vcn.harvest_config & (1 << i)) in vcn_v3_0_hw_init()
397 if (adev->vcn.harvest_config & (1 << i)) in vcn_v3_0_hw_fini()
1121 if (adev->vcn.harvest_config & (1 << i)) in vcn_v3_0_start()
1340 if (adev->vcn.harvest_config & (1 << i)) in vcn_v3_0_start_sriov()
[all …]
Damdgpu_jpeg.c51 if (adev->jpeg.harvest_config & (1 << i)) in amdgpu_jpeg_sw_fini()
82 if (adev->jpeg.harvest_config & (1 << i)) in amdgpu_jpeg_idle_work_handler()
Damdgpu_jpeg.h46 unsigned harvest_config; member
Damdgpu_vce.h50 unsigned harvest_config; member
Damdgpu_uvd.h67 unsigned harvest_config; member
Damdgpu_vcn.c227 if (adev->vcn.harvest_config & (1 << i)) in amdgpu_vcn_sw_init()
262 if (adev->vcn.harvest_config & (1 << j)) in amdgpu_vcn_sw_fini()
321 if (adev->vcn.harvest_config & (1 << i)) in amdgpu_vcn_suspend()
348 if (adev->vcn.harvest_config & (1 << i)) in amdgpu_vcn_resume()
393 if (adev->vcn.harvest_config & (1 << j)) in amdgpu_vcn_idle_work_handler()
Damdgpu_uvd.c285 if (adev->uvd.harvest_config & (1 << j)) in amdgpu_uvd_sw_init()
332 if (adev->uvd.harvest_config & (1 << j)) in amdgpu_uvd_sw_fini()
394 if (adev->uvd.harvest_config & (1 << j)) in amdgpu_uvd_suspend()
430 if (adev->uvd.harvest_config & (1 << i)) in amdgpu_uvd_resume()
1236 if (adev->uvd.harvest_config & (1 << i)) in amdgpu_uvd_idle_work_handler()
Damdgpu_kms.c443 if (adev->uvd.harvest_config & (1 << i)) in amdgpu_hw_ip_info()
463 if (adev->uvd.harvest_config & (1 << i)) in amdgpu_hw_ip_info()
476 if (adev->uvd.harvest_config & (1 << i)) in amdgpu_hw_ip_info()
488 if (adev->uvd.harvest_config & (1 << i)) in amdgpu_hw_ip_info()
503 if (adev->jpeg.harvest_config & (1 << i)) in amdgpu_hw_ip_info()
853 dev_info->vce_harvest_config = adev->vce.harvest_config; in amdgpu_info_ioctl()
Damdgpu_vcn.h243 unsigned harvest_config; member
Dvce_v4_0.c700 mask |= (adev->vce.harvest_config & AMDGPU_VCE_HARVEST_VCE0) ? 0 : SRBM_STATUS2__VCE0_BUSY_MASK;
701 mask |= (adev->vce.harvest_config & AMDGPU_VCE_HARVEST_VCE1) ? 0 : SRBM_STATUS2__VCE1_BUSY_MASK;
932 if (adev->vce.harvest_config & (1 << i))