Home
last modified time | relevance | path

Searched refs:pmf (Results 1 – 25 of 34) sorted by relevance

12

/Linux-v6.1/drivers/gpu/drm/amd/amdkfd/
Dkfd_packet_manager.c72 map_queue_size = pm->pmf->map_queues_size; in pm_calc_rlib_size()
74 *rlib_size = process_count * pm->pmf->map_process_size + in pm_calc_rlib_size()
82 *rlib_size += pm->pmf->runlist_size; in pm_calc_rlib_size()
158 retval = pm->pmf->map_process(pm, &rl_buffer[rl_wptr], qpd); in pm_create_runlist_ib()
163 inc_wptr(&rl_wptr, pm->pmf->map_process_size, in pm_create_runlist_ib()
173 retval = pm->pmf->map_queues(pm, in pm_create_runlist_ib()
181 pm->pmf->map_queues_size, in pm_create_runlist_ib()
192 retval = pm->pmf->map_queues(pm, in pm_create_runlist_ib()
201 pm->pmf->map_queues_size, in pm_create_runlist_ib()
211 retval = pm->pmf->runlist(pm, &rl_buffer[rl_wptr], in pm_create_runlist_ib()
[all …]
Dkfd_device_queue_manager.c466 const struct packet_manager_funcs *pmf = qpd->dqm->packet_mgr.pmf; in flush_texture_cache_nocpsch() local
472 ret = pmf->release_mem(qpd->ib_base, (uint32_t *)qpd->ib_kaddr); in flush_texture_cache_nocpsch()
478 pmf->release_mem_size / sizeof(uint32_t)); in flush_texture_cache_nocpsch()
Dkfd_priv.h1255 const struct packet_manager_funcs *pmf; member
/Linux-v6.1/drivers/platform/x86/amd/pmf/
Dsps.c76 struct amd_pmf_dev *pmf = container_of(pprof, struct amd_pmf_dev, pprof); in amd_pmf_profile_get() local
78 *profile = pmf->current_profile; in amd_pmf_profile_get()
82 int amd_pmf_get_pprof_modes(struct amd_pmf_dev *pmf) in amd_pmf_get_pprof_modes() argument
86 switch (pmf->current_profile) { in amd_pmf_get_pprof_modes()
97 dev_err(pmf->dev, "Unknown Platform Profile.\n"); in amd_pmf_get_pprof_modes()
107 struct amd_pmf_dev *pmf = container_of(pprof, struct amd_pmf_dev, pprof); in amd_pmf_profile_set() local
110 pmf->current_profile = profile; in amd_pmf_profile_set()
111 mode = amd_pmf_get_pprof_modes(pmf); in amd_pmf_profile_set()
115 amd_pmf_update_slider(pmf, SLIDER_OP_SET, mode, NULL); in amd_pmf_profile_set()
DMakefile7 obj-$(CONFIG_AMD_PMF) += amd-pmf.o
8 amd-pmf-objs := core.o acpi.o sps.o \
Dpmf.h387 int amd_pmf_get_pprof_modes(struct amd_pmf_dev *pmf);
/Linux-v6.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gfx.c467 if (!kiq->pmf || !kiq->pmf->kiq_unmap_queues) in amdgpu_gfx_disable_kcq()
471 if (amdgpu_ring_alloc(kiq_ring, kiq->pmf->unmap_queues_size * in amdgpu_gfx_disable_kcq()
478 kiq->pmf->kiq_unmap_queues(kiq_ring, &adev->gfx.compute_ring[i], in amdgpu_gfx_disable_kcq()
508 if (!kiq->pmf || !kiq->pmf->kiq_map_queues || !kiq->pmf->kiq_set_resources) in amdgpu_gfx_enable_kcq()
529 r = amdgpu_ring_alloc(kiq_ring, kiq->pmf->map_queues_size * in amdgpu_gfx_enable_kcq()
531 kiq->pmf->set_resources_size); in amdgpu_gfx_enable_kcq()
541 kiq->pmf->kiq_set_resources(kiq_ring, queue_mask); in amdgpu_gfx_enable_kcq()
543 kiq->pmf->kiq_map_queues(kiq_ring, &adev->gfx.compute_ring[i]); in amdgpu_gfx_enable_kcq()
Dmes_v10_1.c887 if (!kiq->pmf || !kiq->pmf->kiq_map_queues) in mes_v10_1_kiq_enable_queue()
890 r = amdgpu_ring_alloc(kiq_ring, kiq->pmf->map_queues_size); in mes_v10_1_kiq_enable_queue()
896 kiq->pmf->kiq_map_queues(kiq_ring, &adev->mes.ring); in mes_v10_1_kiq_enable_queue()
Dmes_v11_0.c934 if (!kiq->pmf || !kiq->pmf->kiq_map_queues) in mes_v11_0_kiq_enable_queue()
937 r = amdgpu_ring_alloc(kiq_ring, kiq->pmf->map_queues_size); in mes_v11_0_kiq_enable_queue()
943 kiq->pmf->kiq_map_queues(kiq_ring, &adev->mes.ring); in mes_v11_0_kiq_enable_queue()
Dgmc_v9_0.c916 unsigned int ndw = kiq->pmf->invalidate_tlbs_size + 8; in gmc_v9_0_flush_gpu_tlb_pasid()
919 ndw += kiq->pmf->invalidate_tlbs_size; in gmc_v9_0_flush_gpu_tlb_pasid()
925 kiq->pmf->kiq_invalidate_tlbs(ring, in gmc_v9_0_flush_gpu_tlb_pasid()
927 kiq->pmf->kiq_invalidate_tlbs(ring, in gmc_v9_0_flush_gpu_tlb_pasid()
Dgmc_v11_0.c322 amdgpu_ring_alloc(ring, kiq->pmf->invalidate_tlbs_size + 8); in gmc_v11_0_flush_gpu_tlb_pasid()
323 kiq->pmf->kiq_invalidate_tlbs(ring, in gmc_v11_0_flush_gpu_tlb_pasid()
Dgfx_v11_0.c258 adev->gfx.kiq.pmf = &gfx_v11_0_kiq_pm4_funcs; in gfx_v11_0_set_kiq_pm4_funcs()
3688 if (!kiq->pmf || !kiq->pmf->kiq_map_queues) in gfx_v11_0_kiq_enable_kgq()
3691 r = amdgpu_ring_alloc(kiq_ring, kiq->pmf->map_queues_size * in gfx_v11_0_kiq_enable_kgq()
3699 kiq->pmf->kiq_map_queues(kiq_ring, &adev->gfx.gfx_ring[i]); in gfx_v11_0_kiq_enable_kgq()
4371 if (!kiq->pmf || !kiq->pmf->kiq_unmap_queues) in gfx_v11_0_kiq_disable_kgq()
4374 if (amdgpu_ring_alloc(kiq_ring, kiq->pmf->unmap_queues_size * in gfx_v11_0_kiq_disable_kgq()
4379 kiq->pmf->kiq_unmap_queues(kiq_ring, &adev->gfx.gfx_ring[i], in gfx_v11_0_kiq_disable_kgq()
5525 if (!kiq->pmf || !kiq->pmf->kiq_unmap_queues) in gfx_v11_0_ring_preempt_ib()
5530 if (amdgpu_ring_alloc(kiq_ring, kiq->pmf->unmap_queues_size)) { in gfx_v11_0_ring_preempt_ib()
5539 kiq->pmf->kiq_unmap_queues(kiq_ring, ring, PREEMPT_QUEUES_NO_UNMAP, in gfx_v11_0_ring_preempt_ib()
Damdgpu_gfx.h110 const struct kiq_pm4_funcs *pmf; member
Dgmc_v10_0.c429 amdgpu_ring_alloc(ring, kiq->pmf->invalidate_tlbs_size + 8); in gmc_v10_0_flush_gpu_tlb_pasid()
430 kiq->pmf->kiq_invalidate_tlbs(ring, in gmc_v10_0_flush_gpu_tlb_pasid()
Dgfx_v10_0.c3639 adev->gfx.kiq.pmf = &gfx_v10_0_kiq_pm4_funcs; in gfx_v10_0_set_kiq_pm4_funcs()
6610 if (!kiq->pmf || !kiq->pmf->kiq_map_queues) in gfx_v10_0_kiq_enable_kgq()
6613 r = amdgpu_ring_alloc(kiq_ring, kiq->pmf->map_queues_size * in gfx_v10_0_kiq_enable_kgq()
6621 kiq->pmf->kiq_map_queues(kiq_ring, &adev->gfx.gfx_ring[i]); in gfx_v10_0_kiq_enable_kgq()
7327 if (!kiq->pmf || !kiq->pmf->kiq_unmap_queues) in gfx_v10_0_kiq_disable_kgq()
7330 if (amdgpu_ring_alloc(kiq_ring, kiq->pmf->unmap_queues_size * in gfx_v10_0_kiq_disable_kgq()
7335 kiq->pmf->kiq_unmap_queues(kiq_ring, &adev->gfx.gfx_ring[i], in gfx_v10_0_kiq_disable_kgq()
8731 if (!kiq->pmf || !kiq->pmf->kiq_unmap_queues) in gfx_v10_0_ring_preempt_ib()
8736 if (amdgpu_ring_alloc(kiq_ring, kiq->pmf->unmap_queues_size)) { in gfx_v10_0_ring_preempt_ib()
8745 kiq->pmf->kiq_unmap_queues(kiq_ring, ring, PREEMPT_QUEUES_NO_UNMAP, in gfx_v10_0_ring_preempt_ib()
/Linux-v6.1/sound/aoa/core/
DMakefile5 gpio-pmf.o \
/Linux-v6.1/drivers/platform/x86/amd/
DMakefile11 obj-$(CONFIG_AMD_PMF) += pmf/
DKconfig6 source "drivers/platform/x86/amd/pmf/Kconfig"
/Linux-v6.1/drivers/media/platform/samsung/exynos4-is/
Dmedia-dev.c512 if (!fmd->pmf) in fimc_md_register_sensor_entities()
515 ret = pm_runtime_resume_and_get(fmd->pmf); in fimc_md_register_sensor_entities()
555 pm_runtime_put(fmd->pmf); in fimc_md_register_sensor_entities()
561 pm_runtime_put(fmd->pmf); in fimc_md_register_sensor_entities()
629 if (!fmd->pmf && fimc->pdev) in register_fimc_entity()
630 fmd->pmf = &fimc->pdev->dev; in register_fimc_entity()
1287 if (camclk->fmd->pmf == NULL) in cam_clk_prepare()
1290 return pm_runtime_resume_and_get(camclk->fmd->pmf); in cam_clk_prepare()
1297 if (camclk->fmd->pmf == NULL) in cam_clk_unprepare()
1300 pm_runtime_put_sync(camclk->fmd->pmf); in cam_clk_unprepare()
Dmedia-dev.h129 struct device *pmf; member
/Linux-v6.1/drivers/net/fddi/skfp/
DMakefile9 ecm.o pcmplc.o pmf.o queue.o rmt.o \
/Linux-v6.1/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_stats.c228 if (!bp->port.pmf || !bp->port.port_stx) { in bnx2x_stats_pmf_update()
277 if (!bp->link_vars.link_up || !bp->port.pmf) { in bnx2x_port_stats_init()
521 if (bp->port.pmf) in bnx2x_stats_start()
1102 if (bp->port.pmf) { in bnx2x_storm_stats_update()
1230 if (bp->port.pmf) in bnx2x_stats_update()
1330 if (bp->port.pmf) in bnx2x_stats_stop()
1338 if (bp->port.pmf) in bnx2x_stats_stop()
1409 if (!bp->port.pmf || !bp->port.port_stx) { in bnx2x_port_stats_base_init()
1592 if (bp->port.pmf && bp->port.port_stx) in bnx2x_memset_stats()
1626 if (!bp->stats_init && bp->port.pmf && bp->port.port_stx) in bnx2x_stats_init()
[all …]
Dbnx2x_cmn.c2065 return bnx2x_config_rss_eth(bp, bp->port.pmf || !CHIP_IS_E1x(bp)); in bnx2x_init_rss()
2423 bp->port.pmf = 1; in bnx2x_nic_load_pmf()
2430 bp->port.pmf = 0; in bnx2x_nic_load_pmf()
2433 DP(NETIF_MSG_LINK, "pmf %d\n", bp->port.pmf); in bnx2x_nic_load_pmf()
2836 if (bp->port.pmf) { in bnx2x_nic_load()
2879 if (bp->port.pmf) in bnx2x_nic_load()
2916 if (bp->port.pmf && (bp->state != BNX2X_STATE_DIAG)) in bnx2x_nic_load()
2948 bp->port.pmf = 0; in bnx2x_nic_load()
3110 bp->port.pmf = 0; in bnx2x_nic_unload()
Dbnx2x_main.c1619 if (bp->port.pmf) in bnx2x_hc_int_enable()
1680 if (bp->port.pmf) in bnx2x_igu_int_enable()
2589 if (bp->port.pmf) in bnx2x_cmng_fns_init()
2986 bp->port.pmf = 1; in bnx2x_pmf_update()
2987 DP(BNX2X_MSG_MCP, "pmf %d\n", bp->port.pmf); in bnx2x_pmf_update()
3341 if (bp->port.pmf) in bnx2x_pf_init()
4184 if ((attn & bp->link_vars.aeu_int_mask) && bp->port.pmf) { in bnx2x_attn_int_deasserted0()
4309 if ((bp->port.pmf == 0) && (val & DRV_STATUS_PMF)) in bnx2x_attn_int_deasserted3()
4312 if (bp->port.pmf && in bnx2x_attn_int_deasserted3()
9232 if (!bp->port.pmf) in bnx2x_func_wait_started()
[all …]
/Linux-v6.1/Documentation/admin-guide/
Ddynamic-debug-howto.rst275 modprobe foo dyndbg==pmf # override previous settings

12