Home
last modified time | relevance | path

Searched refs:vm_helper (Results 1 – 17 of 17) sorted by relevance

/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/core/
A Ddc_vm_helper.c29 void vm_helper_mark_vmid_used(struct vm_helper *vm_helper, unsigned int pos, uint8_t hubp_idx) in vm_helper_mark_vmid_used() argument
31 struct vmid_usage vmids = vm_helper->hubp_vmid_usage[hubp_idx]; in vm_helper_mark_vmid_used()
69 in_use |= dc->vm_helper->hubp_vmid_usage[i].vmid_usage[0] in dc_get_vmid_use_vector()
70 | dc->vm_helper->hubp_vmid_usage[i].vmid_usage[1]; in dc_get_vmid_use_vector()
74 void vm_helper_init(struct vm_helper *vm_helper, unsigned int num_vmid) in vm_helper_init() argument
76 vm_helper->num_vmid = num_vmid; in vm_helper_init()
78 memset(vm_helper->hubp_vmid_usage, 0, sizeof(vm_helper->hubp_vmid_usage[0]) * MAX_HUBP); in vm_helper_init()
A Ddc.c840 kfree(dc->vm_helper); in dc_destruct()
841 dc->vm_helper = NULL; in dc_destruct()
894 dc->vm_helper = kzalloc(sizeof(struct vm_helper), GFP_KERNEL); in dc_construct()
895 if (!dc->vm_helper) { in dc_construct()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/inc/
A Dvm_helper.h37 struct vm_helper { struct
42 void vm_helper_mark_vmid_used(struct vm_helper *vm_helper, unsigned int pos, uint8_t hubp_idx); argument
45 struct vm_helper *vm_helper,
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/
A Ddc.h928 struct vm_helper *vm_helper; member
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn303/
A Ddcn303_resource.c1240 if (dc->vm_helper) in dcn303_resource_construct()
1241 vm_helper_init(dc->vm_helper, 16); in dcn303_resource_construct()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn302/
A Ddcn302_resource.c1315 if (dc->vm_helper) in dcn302_resource_construct()
1316 vm_helper_init(dc->vm_helper, 16); in dcn302_resource_construct()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn21/
A Ddcn21_resource.c1515 if (dc->vm_helper) in dcn21_resource_construct()
1516 vm_helper_init(dc->vm_helper, 16); in dcn21_resource_construct()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn301/
A Ddcn301_resource.c1523 if (dc->vm_helper) in dcn301_resource_construct()
1524 vm_helper_init(dc->vm_helper, 16); in dcn301_resource_construct()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn316/
A Ddcn316_resource.c1854 if (dc->vm_helper) in dcn316_resource_construct()
1855 vm_helper_init(dc->vm_helper, 16); in dcn316_resource_construct()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn314/
A Ddcn314_resource.c1905 if (dc->vm_helper) in dcn314_resource_construct()
1906 vm_helper_init(dc->vm_helper, 16); in dcn314_resource_construct()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn315/
A Ddcn315_resource.c1855 if (dc->vm_helper) in dcn315_resource_construct()
1856 vm_helper_init(dc->vm_helper, 16); in dcn315_resource_construct()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn321/
A Ddcn321_resource.c1792 if (dc->vm_helper) in dcn321_resource_construct()
1793 vm_helper_init(dc->vm_helper, 16); in dcn321_resource_construct()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn31/
A Ddcn31_resource.c1996 if (dc->vm_helper) in dcn31_resource_construct()
1997 vm_helper_init(dc->vm_helper, 16); in dcn31_resource_construct()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn32/
A Ddcn32_resource.c2246 if (dc->vm_helper) in dcn32_resource_construct()
2247 vm_helper_init(dc->vm_helper, 16); in dcn32_resource_construct()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn30/
A Ddcn30_resource.c2379 if (dc->vm_helper) in dcn30_resource_construct()
2380 vm_helper_init(dc->vm_helper, 16); in dcn30_resource_construct()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn20/
A Ddcn20_resource.c2503 if (dc->vm_helper) in dcn20_resource_construct()
2504 vm_helper_init(dc->vm_helper, 16); in dcn20_resource_construct()
A Ddcn20_hwseq.c2365 vm_helper_mark_vmid_used(dc->vm_helper, plane_state->address.vmid, pipe_ctx->plane_res.hubp->inst); in dcn20_update_plane_addr()

Completed in 63 milliseconds