Home
last modified time | relevance | path

Searched refs:num_vmids (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/soc/qcom/
Drmtfs_mem.c179 int num_vmids; in qcom_rmtfs_mem_probe() local
230 num_vmids = of_property_count_u32_elems(node, "qcom,vmid"); in qcom_rmtfs_mem_probe()
231 if (num_vmids == -EINVAL) { in qcom_rmtfs_mem_probe()
233 num_vmids = 0; in qcom_rmtfs_mem_probe()
234 } else if (num_vmids < 0) { in qcom_rmtfs_mem_probe()
235 dev_err(&pdev->dev, "failed to count qcom,vmid elements: %d\n", num_vmids); in qcom_rmtfs_mem_probe()
236 ret = num_vmids; in qcom_rmtfs_mem_probe()
238 } else if (num_vmids > NUM_MAX_VMIDS) { in qcom_rmtfs_mem_probe()
241 num_vmids, NUM_MAX_VMIDS); in qcom_rmtfs_mem_probe()
242 num_vmids = NUM_MAX_VMIDS; in qcom_rmtfs_mem_probe()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/core/
Ddc_vm_helper.c39 int num_vmids = 0; in dc_setup_system_context() local
43 num_vmids = dc->hwss.init_sys_ctx(dc->hwseq, dc, pa_config); in dc_setup_system_context()
53 return num_vmids; in dc_setup_system_context()