/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_vm_helper.c | 29 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()
|
D | dc.c | 849 kfree(dc->vm_helper); in dc_destruct() 850 dc->vm_helper = NULL; in dc_destruct() 902 dc->vm_helper = kzalloc(sizeof(struct vm_helper), GFP_KERNEL); in dc_construct() 903 if (!dc->vm_helper) { in dc_construct()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/ |
D | vm_helper.h | 37 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.1.9/drivers/gpu/drm/amd/display/dc/ |
D | dc.h | 908 struct vm_helper *vm_helper; member
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn302/ |
D | dcn302_resource.c | 1293 if (dc->vm_helper) in dcn302_resource_construct() 1294 vm_helper_init(dc->vm_helper, 16); in dcn302_resource_construct()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn303/ |
D | dcn303_resource.c | 1224 if (dc->vm_helper) in dcn303_resource_construct() 1225 vm_helper_init(dc->vm_helper, 16); in dcn303_resource_construct()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn21/ |
D | dcn21_resource.c | 1516 if (dc->vm_helper) in dcn21_resource_construct() 1517 vm_helper_init(dc->vm_helper, 16); in dcn21_resource_construct()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn301/ |
D | dcn301_resource.c | 1518 if (dc->vm_helper) in dcn301_resource_construct() 1519 vm_helper_init(dc->vm_helper, 16); in dcn301_resource_construct()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn314/ |
D | dcn314_resource.c | 1837 if (dc->vm_helper) in dcn314_resource_construct() 1838 vm_helper_init(dc->vm_helper, 16); in dcn314_resource_construct()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn315/ |
D | dcn315_resource.c | 1846 if (dc->vm_helper) in dcn315_resource_construct() 1847 vm_helper_init(dc->vm_helper, 16); in dcn315_resource_construct()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn316/ |
D | dcn316_resource.c | 1848 if (dc->vm_helper) in dcn316_resource_construct() 1849 vm_helper_init(dc->vm_helper, 16); in dcn316_resource_construct()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn321/ |
D | dcn321_resource.c | 1779 if (dc->vm_helper) in dcn321_resource_construct() 1780 vm_helper_init(dc->vm_helper, 16); in dcn321_resource_construct()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn31/ |
D | dcn31_resource.c | 1969 if (dc->vm_helper) in dcn31_resource_construct() 1970 vm_helper_init(dc->vm_helper, 16); in dcn31_resource_construct()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_resource.c | 2364 if (dc->vm_helper) in dcn30_resource_construct() 2365 vm_helper_init(dc->vm_helper, 16); in dcn30_resource_construct()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn32/ |
D | dcn32_resource.c | 2196 if (dc->vm_helper) in dcn32_resource_construct() 2197 vm_helper_init(dc->vm_helper, 16); in dcn32_resource_construct()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_resource.c | 2481 if (dc->vm_helper) in dcn20_resource_construct() 2482 vm_helper_init(dc->vm_helper, 16); in dcn20_resource_construct()
|
D | dcn20_hwseq.c | 2290 vm_helper_mark_vmid_used(dc->vm_helper, plane_state->address.vmid, pipe_ctx->plane_res.hubp->inst); in dcn20_update_plane_addr()
|