Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.c81 adev->vcn.harvest_config = 0; in vcn_v2_5_early_init()
90 adev->vcn.harvest_config |= 1 << i; in vcn_v2_5_early_init()
92 if (adev->vcn.harvest_config == (AMDGPU_VCN_HARVEST_VCN0 | in vcn_v2_5_early_init()
121 if (adev->vcn.harvest_config & (1 << j)) in vcn_v2_5_sw_init()
166 if (adev->vcn.harvest_config & (1 << j)) in vcn_v2_5_sw_init()
243 if (adev->vcn.harvest_config & (1 << i)) in vcn_v2_5_sw_fini()
281 if (adev->vcn.harvest_config & (1 << j)) in vcn_v2_5_hw_init()
332 if (adev->vcn.harvest_config & (1 << i)) in vcn_v2_5_hw_fini()
400 if (adev->vcn.harvest_config & (1 << i)) in vcn_v2_5_mc_resume()
557 if (adev->vcn.harvest_config & (1 << i)) in vcn_v2_5_disable_clock_gating()
[all …]
Duvd_v7_0.c383 adev->uvd.harvest_config |= 1 << i; in uvd_v7_0_early_init()
386 if (adev->uvd.harvest_config == (AMDGPU_UVD_HARVEST_UVD0 | in uvd_v7_0_early_init()
413 if (adev->uvd.harvest_config & (1 << j)) in uvd_v7_0_sw_init()
450 if (adev->uvd.harvest_config & (1 << j)) in uvd_v7_0_sw_init()
511 if (adev->uvd.harvest_config & (1 << j)) in uvd_v7_0_sw_fini()
541 if (adev->uvd.harvest_config & (1 << j)) in uvd_v7_0_hw_init()
656 if (adev->uvd.harvest_config & (1 << i)) in uvd_v7_0_mc_resume()
735 if (adev->uvd.harvest_config & (1 << i)) in uvd_v7_0_mmsch_start()
793 if (adev->uvd.harvest_config & (1 << i)) in uvd_v7_0_sriov_start()
938 if (adev->uvd.harvest_config & (1 << k)) in uvd_v7_0_start()
[all …]
Dvcn_v3_0.c87 adev->vcn.harvest_config = 0; in vcn_v3_0_early_init()
99 adev->vcn.harvest_config |= 1 << i; in vcn_v3_0_early_init()
102 if (adev->vcn.harvest_config == (AMDGPU_VCN_HARVEST_VCN0 | in vcn_v3_0_early_init()
165 if (adev->vcn.harvest_config & (1 << i)) in vcn_v3_0_sw_init()
290 if (adev->vcn.harvest_config & (1 << i)) in vcn_v3_0_hw_init()
309 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_fini()
1051 if (adev->vcn.harvest_config & (1 << i)) in vcn_v3_0_start()
1261 if (adev->vcn.harvest_config & (1 << i)) in vcn_v3_0_start_sriov()
1467 if (adev->vcn.harvest_config & (1 << i)) in vcn_v3_0_stop()
[all …]
Damdgpu_jpeg.c53 if (adev->jpeg.harvest_config & (1 << i)) in amdgpu_jpeg_sw_fini()
84 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.c189 if (adev->vcn.harvest_config & (1 << i)) in amdgpu_vcn_sw_init()
226 if (adev->vcn.harvest_config & (1 << j)) in amdgpu_vcn_sw_fini()
262 if (adev->vcn.harvest_config & (1 << i)) in amdgpu_vcn_suspend()
286 if (adev->vcn.harvest_config & (1 << i)) in amdgpu_vcn_resume()
324 if (adev->vcn.harvest_config & (1 << j)) in amdgpu_vcn_idle_work_handler()
Damdgpu_uvd.c284 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()
426 if (adev->uvd.harvest_config & (1 << i)) in amdgpu_uvd_resume()
1226 if (adev->uvd.harvest_config & (1 << i)) in amdgpu_uvd_idle_work_handler()
Damdgpu_kms.c375 if (adev->uvd.harvest_config & (1 << i)) in amdgpu_hw_ip_info()
395 if (adev->uvd.harvest_config & (1 << i)) in amdgpu_hw_ip_info()
408 if (adev->uvd.harvest_config & (1 << i)) in amdgpu_hw_ip_info()
420 if (adev->uvd.harvest_config & (1 << i)) in amdgpu_hw_ip_info()
435 if (adev->jpeg.harvest_config & (1 << i)) in amdgpu_hw_ip_info()
781 dev_info.vce_harvest_config = adev->vce.harvest_config; in amdgpu_info_ioctl()
Damdgpu_vcn.h226 unsigned harvest_config; member
Dvce_v4_0.c669 mask |= (adev->vce.harvest_config & AMDGPU_VCE_HARVEST_VCE0) ? 0 : SRBM_STATUS2__VCE0_BUSY_MASK;
670 mask |= (adev->vce.harvest_config & AMDGPU_VCE_HARVEST_VCE1) ? 0 : SRBM_STATUS2__VCE1_BUSY_MASK;
901 if (adev->vce.harvest_config & (1 << i))