Home
last modified time | relevance | path

Searched refs:harvest_config (Results 1 - 25 of 36) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
H A 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 in jpeg_v2_5_wait_for_idle()
[all...]
H A 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 in vce_v3_0_start()
[all...]
H A 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 in vcn_v2_5_disable_clock_gating()
[all...]
H A 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 in vcn_v3_0_stop()
[all...]
H A 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 in uvd_v7_0_start()
[all...]
H A Damdgpu_jpeg.h46 unsigned harvest_config; member
H A 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()
H A Damdgpu_vce.h50 unsigned harvest_config; member
H A 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()
H A Damdgpu_uvd.h67 unsigned harvest_config; member
H A 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()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A 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 in vce_v3_0_start()
[all...]
H A Djpeg_v2_5.c68 adev->jpeg.harvest_config |= 1 << i; in jpeg_v2_5_early_init()
70 if (adev->jpeg.harvest_config == (AMDGPU_JPEG_HARVEST_JPEG0 | in jpeg_v2_5_early_init()
95 if (adev->jpeg.harvest_config & (1 << i)) in jpeg_v2_5_sw_init()
126 if (adev->jpeg.harvest_config & (1 << i)) in jpeg_v2_5_sw_init()
187 if (adev->jpeg.harvest_config & (1 << i)) in jpeg_v2_5_hw_init()
219 if (adev->jpeg.harvest_config & (1 << i)) in jpeg_v2_5_hw_fini()
330 if (adev->jpeg.harvest_config & (1 << i)) in jpeg_v2_5_start()
384 if (adev->jpeg.harvest_config & (1 << i)) in jpeg_v2_5_stop()
495 if (adev->jpeg.harvest_config & (1 << i)) in jpeg_v2_5_is_idle()
512 if (adev->jpeg.harvest_config in jpeg_v2_5_wait_for_idle()
[all...]
H A Dvcn_v2_5.c87 adev->vcn.harvest_config = 0; in vcn_v2_5_early_init()
96 adev->vcn.harvest_config |= 1 << i; in vcn_v2_5_early_init()
98 if (adev->vcn.harvest_config == (AMDGPU_VCN_HARVEST_VCN0 | in vcn_v2_5_early_init()
128 if (adev->vcn.harvest_config & (1 << j)) in vcn_v2_5_sw_init()
164 if (adev->vcn.harvest_config & (1 << j)) in vcn_v2_5_sw_init()
261 if (adev->vcn.harvest_config & (1 << i)) in vcn_v2_5_sw_fini()
299 if (adev->vcn.harvest_config & (1 << j)) in vcn_v2_5_hw_init()
350 if (adev->vcn.harvest_config & (1 << i)) in vcn_v2_5_hw_fini()
421 if (adev->vcn.harvest_config & (1 << i)) in vcn_v2_5_mc_resume()
578 if (adev->vcn.harvest_config in vcn_v2_5_disable_clock_gating()
[all...]
H A Duvd_v7_0.c376 adev->uvd.harvest_config |= 1 << i; in uvd_v7_0_early_init()
379 if (adev->uvd.harvest_config == (AMDGPU_UVD_HARVEST_UVD0 | in uvd_v7_0_early_init()
406 if (adev->uvd.harvest_config & (1 << j)) in uvd_v7_0_sw_init()
443 if (adev->uvd.harvest_config & (1 << j)) in uvd_v7_0_sw_init()
506 if (adev->uvd.harvest_config & (1 << j)) in uvd_v7_0_sw_fini()
536 if (adev->uvd.harvest_config & (1 << j)) in uvd_v7_0_hw_init()
677 if (adev->uvd.harvest_config & (1 << i)) in uvd_v7_0_mc_resume()
756 if (adev->uvd.harvest_config & (1 << i)) in uvd_v7_0_mmsch_start()
814 if (adev->uvd.harvest_config & (1 << i)) in uvd_v7_0_sriov_start()
959 if (adev->uvd.harvest_config in uvd_v7_0_start()
[all...]
H A Damdgpu_jpeg.c51 if (adev->jpeg.harvest_config & (1 << i)) in amdgpu_jpeg_sw_fini()
83 if (adev->jpeg.harvest_config & (1 << i)) in amdgpu_jpeg_idle_work_handler()
258 if (adev->jpeg.harvest_config & (1 << i) || in amdgpu_jpeg_ras_late_init()
H A Dvcn_v4_0.c84 adev->vcn.harvest_config = VCN_HARVEST_MMSCH; in vcn_v4_0_early_init()
87 adev->vcn.harvest_config |= 1 << i; in vcn_v4_0_early_init()
129 if (adev->vcn.harvest_config & (1 << i)) in vcn_v4_0_sw_init()
217 if (adev->vcn.harvest_config & (1 << i)) in vcn_v4_0_sw_fini()
259 if (adev->vcn.harvest_config & (1 << i)) in vcn_v4_0_hw_init()
271 if (adev->vcn.harvest_config & (1 << i)) in vcn_v4_0_hw_init()
309 if (adev->vcn.harvest_config & (1 << i)) in vcn_v4_0_hw_fini()
1259 if (adev->vcn.harvest_config & (1 << i)) in vcn_v4_0_start_sriov()
1653 if (p->adev->vcn.harvest_config & AMDGPU_VCN_HARVEST_VCN0) in vcn_v4_0_limit_sched()
1849 if (adev->vcn.harvest_config in vcn_v4_0_set_unified_ring_funcs()
[all...]
H A Dvcn_v3_0.c94 adev->vcn.harvest_config = 0; in vcn_v3_0_early_init()
98 if (adev->vcn.harvest_config == (AMDGPU_VCN_HARVEST_VCN0 | in vcn_v3_0_early_init()
156 if (adev->vcn.harvest_config & (1 << i)) in vcn_v3_0_sw_init()
266 if (adev->vcn.harvest_config & (1 << i)) in vcn_v3_0_sw_fini()
308 if (adev->vcn.harvest_config & (1 << i)) in vcn_v3_0_hw_init()
339 if (adev->vcn.harvest_config & (1 << i)) in vcn_v3_0_hw_init()
383 if (adev->vcn.harvest_config & (1 << i)) in vcn_v3_0_hw_fini()
1105 if (adev->vcn.harvest_config & (1 << i)) in vcn_v3_0_start()
1323 if (adev->vcn.harvest_config & (1 << i)) in vcn_v3_0_start_sriov()
1528 if (adev->vcn.harvest_config in vcn_v3_0_stop()
[all...]
H A Damdgpu_jpeg.h56 unsigned harvest_config; member
H A Dsoc21.c153 if (adev->vcn.num_vcn_inst == hweight8(adev->vcn.harvest_config)) in soc21_query_video_codecs()
161 if ((adev->vcn.harvest_config & AMDGPU_VCN_HARVEST_VCN0) || in soc21_query_video_codecs()
174 if ((adev->vcn.harvest_config & AMDGPU_VCN_HARVEST_VCN0)) { in soc21_query_video_codecs()
710 if ((adev->vcn.harvest_config & AMDGPU_VCN_HARVEST_VCN0) || in soc21_common_late_init()
H A Damdgpu_vcn.c186 if (adev->vcn.harvest_config & (1 << i)) in amdgpu_vcn_sw_init()
235 if (adev->vcn.harvest_config & (1 << j)) in amdgpu_vcn_sw_fini()
305 if (adev->vcn.harvest_config & (1 << i)) in amdgpu_vcn_suspend()
332 if (adev->vcn.harvest_config & (1 << i)) in amdgpu_vcn_resume()
377 if (adev->vcn.harvest_config & (1 << j)) in amdgpu_vcn_idle_work_handler()
1043 if (adev->vcn.harvest_config & (1 << i)) in amdgpu_vcn_setup_ucode()
1208 if (adev->vcn.harvest_config & (1 << i) || in amdgpu_vcn_ras_late_init()
H A Damdgpu_uvd.h67 unsigned harvest_config; member
H A Damdgpu_vce.h50 unsigned harvest_config; member
H A Dnv.c214 if (adev->vcn.num_vcn_inst == hweight8(adev->vcn.harvest_config)) in nv_query_video_codecs()
222 if (adev->vcn.harvest_config & AMDGPU_VCN_HARVEST_VCN0) { in nv_query_video_codecs()
234 if (adev->vcn.harvest_config & AMDGPU_VCN_HARVEST_VCN0) { in nv_query_video_codecs()
960 if (adev->vcn.harvest_config & AMDGPU_VCN_HARVEST_VCN0) { in nv_common_late_init()
H A Damdgpu_uvd.c323 if (adev->uvd.harvest_config & (1 << j)) in amdgpu_uvd_sw_init()
378 if (adev->uvd.harvest_config & (1 << j)) in amdgpu_uvd_sw_fini()
441 if (adev->uvd.harvest_config & (1 << j)) in amdgpu_uvd_suspend()
477 if (adev->uvd.harvest_config & (1 << i)) in amdgpu_uvd_resume()
1262 if (adev->uvd.harvest_config & (1 << i)) in amdgpu_uvd_idle_work_handler()

Completed in 25 milliseconds

12