Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpu/drm/amd/display/dc/core/
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()
67 in_use |= dc->vm_helper->hubp_vmid_usage[i].vmid_usage[0] in dc_get_vmid_use_vector()
68 | dc->vm_helper->hubp_vmid_usage[i].vmid_usage[1]; in dc_get_vmid_use_vector()
72 void vm_helper_init(struct vm_helper *vm_helper, unsigned int num_vmid) in vm_helper_init() argument
74 vm_helper->num_vmid = num_vmid; in vm_helper_init()
76 memset(vm_helper->hubp_vmid_usage, 0, sizeof(vm_helper->hubp_vmid_usage[0]) * MAX_HUBP); in vm_helper_init()
Ddc.c848 kfree(dc->vm_helper); in dc_destruct()
849 dc->vm_helper = NULL; in dc_destruct()
904 dc->vm_helper = kzalloc(sizeof(struct vm_helper), GFP_KERNEL); in dc_construct()
905 if (!dc->vm_helper) { in dc_construct()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/inc/
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-v6.6/drivers/gpu/drm/amd/display/dc/
Ddc.h970 struct vm_helper *vm_helper; member
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn302/
Ddcn302_resource.c1292 if (dc->vm_helper) in dcn302_resource_construct()
1293 vm_helper_init(dc->vm_helper, 16); in dcn302_resource_construct()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn303/
Ddcn303_resource.c1216 if (dc->vm_helper) in dcn303_resource_construct()
1217 vm_helper_init(dc->vm_helper, 16); in dcn303_resource_construct()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn21/
Ddcn21_resource.c1487 if (dc->vm_helper) in dcn21_resource_construct()
1488 vm_helper_init(dc->vm_helper, 16); in dcn21_resource_construct()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn301/
Ddcn301_resource.c1494 if (dc->vm_helper) in dcn301_resource_construct()
1495 vm_helper_init(dc->vm_helper, 16); in dcn301_resource_construct()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn316/
Ddcn316_resource.c1817 if (dc->vm_helper) in dcn316_resource_construct()
1818 vm_helper_init(dc->vm_helper, 16); in dcn316_resource_construct()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn314/
Ddcn314_resource.c1946 if (dc->vm_helper) in dcn314_resource_construct()
1947 vm_helper_init(dc->vm_helper, 16); in dcn314_resource_construct()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn315/
Ddcn315_resource.c1930 if (dc->vm_helper) in dcn315_resource_construct()
1931 vm_helper_init(dc->vm_helper, 16); in dcn315_resource_construct()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn321/
Ddcn321_resource.c1780 if (dc->vm_helper) in dcn321_resource_construct()
1781 vm_helper_init(dc->vm_helper, 16); in dcn321_resource_construct()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn31/
Ddcn31_resource.c1965 if (dc->vm_helper) in dcn31_resource_construct()
1966 vm_helper_init(dc->vm_helper, 16); in dcn31_resource_construct()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_resource.c2359 if (dc->vm_helper) in dcn30_resource_construct()
2360 vm_helper_init(dc->vm_helper, 16); in dcn30_resource_construct()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_resource.c2476 if (dc->vm_helper) in dcn20_resource_construct()
2477 vm_helper_init(dc->vm_helper, 16); in dcn20_resource_construct()
Ddcn20_hwseq.c2381 vm_helper_mark_vmid_used(dc->vm_helper, plane_state->address.vmid, pipe_ctx->plane_res.hubp->inst); in dcn20_update_plane_addr()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_resource.c2239 if (dc->vm_helper) in dcn32_resource_construct()
2240 vm_helper_init(dc->vm_helper, 16); in dcn32_resource_construct()