Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/soc/qcom/
Drmtfs_mem.c179 int num_vmids; in qcom_rmtfs_mem_probe() local
239 num_vmids = of_property_count_u32_elems(node, "qcom,vmid"); in qcom_rmtfs_mem_probe()
240 if (num_vmids == -EINVAL) { in qcom_rmtfs_mem_probe()
242 num_vmids = 0; in qcom_rmtfs_mem_probe()
243 } else if (num_vmids < 0) { in qcom_rmtfs_mem_probe()
244 dev_err(&pdev->dev, "failed to count qcom,vmid elements: %d\n", num_vmids); in qcom_rmtfs_mem_probe()
245 ret = num_vmids; in qcom_rmtfs_mem_probe()
247 } else if (num_vmids > NUM_MAX_VMIDS) { in qcom_rmtfs_mem_probe()
250 num_vmids, NUM_MAX_VMIDS); in qcom_rmtfs_mem_probe()
251 num_vmids = NUM_MAX_VMIDS; in qcom_rmtfs_mem_probe()
[all …]
/linux-6.12.1/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()
54 return num_vmids; in dc_setup_system_context()