Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
66 in_use |= dc->vm_helper->hubp_vmid_usage[i].vmid_usage[0] in dc_get_vmid_use_vector()
67 | dc->vm_helper->hubp_vmid_usage[i].vmid_usage[1]; in dc_get_vmid_use_vector()
71 void vm_helper_init(struct vm_helper *vm_helper, unsigned int num_vmid) in vm_helper_init() argument
73 vm_helper->num_vmid = num_vmid; in vm_helper_init()
75 memset(vm_helper->hubp_vmid_usage, 0, sizeof(vm_helper->hubp_vmid_usage[0]) * MAX_HUBP); in vm_helper_init()
Ddc.c589 kfree(dc->vm_helper); in dc_destruct()
590 dc->vm_helper = NULL; in dc_destruct()
642 dc->vm_helper = kzalloc(sizeof(struct vm_helper), GFP_KERNEL); in dc_construct()
643 if (!dc->vm_helper) { in dc_construct()
/kernel/linux/linux-5.10/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,
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/
Ddc.h616 struct vm_helper *vm_helper; member
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn21/
Ddcn21_resource.c1878 if (dc->vm_helper) in dcn21_resource_construct()
1879 vm_helper_init(dc->vm_helper, 16); in dcn21_resource_construct()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_resource.c2668 if (dc->vm_helper) in dcn30_resource_construct()
2669 vm_helper_init(dc->vm_helper, 16); in dcn30_resource_construct()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_resource.c3868 if (dc->vm_helper)
3869 vm_helper_init(dc->vm_helper, 16);
Ddcn20_hwseq.c2060 vm_helper_mark_vmid_used(dc->vm_helper, plane_state->address.vmid, pipe_ctx->plane_res.hubp->inst); in dcn20_update_plane_addr()