/openbsd/sys/dev/pci/drm/amd/display/dc/core/ |
H A 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() 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()
|
H A D | amdgpu_dc.c | 848 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()
|
/openbsd/sys/dev/pci/drm/amd/display/dc/inc/ |
H A 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,
|
/openbsd/sys/dev/pci/drm/amd/display/dc/ |
H A D | dc.h | 975 struct vm_helper *vm_helper; member
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn302/ |
H A D | dcn302_resource.c | 1292 if (dc->vm_helper) in dcn302_resource_construct() 1293 vm_helper_init(dc->vm_helper, 16); in dcn302_resource_construct()
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn303/ |
H A D | dcn303_resource.c | 1216 if (dc->vm_helper) in dcn303_resource_construct() 1217 vm_helper_init(dc->vm_helper, 16); in dcn303_resource_construct()
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn21/ |
H A D | dcn21_resource.c | 1487 if (dc->vm_helper) in dcn21_resource_construct() 1488 vm_helper_init(dc->vm_helper, 16); in dcn21_resource_construct()
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn301/ |
H A D | dcn301_resource.c | 1494 if (dc->vm_helper) in dcn301_resource_construct() 1495 vm_helper_init(dc->vm_helper, 16); in dcn301_resource_construct()
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn316/ |
H A D | dcn316_resource.c | 1819 if (dc->vm_helper) in dcn316_resource_construct() 1820 vm_helper_init(dc->vm_helper, 16); in dcn316_resource_construct()
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn314/ |
H A D | dcn314_resource.c | 1951 if (dc->vm_helper) in dcn314_resource_construct() 1952 vm_helper_init(dc->vm_helper, 16); in dcn314_resource_construct()
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn315/ |
H A D | dcn315_resource.c | 1932 if (dc->vm_helper) in dcn315_resource_construct() 1933 vm_helper_init(dc->vm_helper, 16); in dcn315_resource_construct()
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn321/ |
H A D | dcn321_resource.c | 1785 if (dc->vm_helper) in dcn321_resource_construct() 1786 vm_helper_init(dc->vm_helper, 16); in dcn321_resource_construct()
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn31/ |
H A D | dcn31_resource.c | 1970 if (dc->vm_helper) in dcn31_resource_construct() 1971 vm_helper_init(dc->vm_helper, 16); in dcn31_resource_construct()
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn30/ |
H A D | dcn30_resource.c | 2362 if (dc->vm_helper) in dcn30_resource_construct() 2363 vm_helper_init(dc->vm_helper, 16); in dcn30_resource_construct()
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn20/ |
H A D | dcn20_resource.c | 2476 if (dc->vm_helper) in dcn20_resource_construct() 2477 vm_helper_init(dc->vm_helper, 16); in dcn20_resource_construct()
|
H A D | dcn20_hwseq.c | 2420 vm_helper_mark_vmid_used(dc->vm_helper, plane_state->address.vmid, pipe_ctx->plane_res.hubp->inst); in dcn20_update_plane_addr()
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn32/ |
H A D | dcn32_resource.c | 2247 if (dc->vm_helper) in dcn32_resource_construct() 2248 vm_helper_init(dc->vm_helper, 16); in dcn32_resource_construct()
|