Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/display/dc/core/
H 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()
68 in_use |= dc->vm_helper->hubp_vmid_usage[i].vmid_usage[0] in dc_get_vmid_use_vector()
69 | dc->vm_helper->hubp_vmid_usage[i].vmid_usage[1]; in dc_get_vmid_use_vector()
73 void vm_helper_init(struct vm_helper *vm_helper, unsigned int num_vmid) in vm_helper_init() argument
75 vm_helper->num_vmid = num_vmid; in vm_helper_init()
77 memset(vm_helper->hubp_vmid_usage, 0, sizeof(vm_helper->hubp_vmid_usage[0]) * MAX_HUBP); in vm_helper_init()
H A Ddc.c980 kfree(dc->vm_helper); in dc_destruct()
981 dc->vm_helper = NULL; in dc_destruct()
1046 dc->vm_helper = kzalloc(sizeof(struct vm_helper), GFP_KERNEL); in dc_construct()
1047 if (!dc->vm_helper) { in dc_construct()
/linux/drivers/gpu/drm/amd/display/dc/inc/
H 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/drivers/gpu/drm/amd/display/dc/
H A Ddc.h1462 struct vm_helper *vm_helper; member
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn302/
H A Ddcn302_resource.c1297 if (dc->vm_helper) in dcn302_resource_construct()
1298 vm_helper_init(dc->vm_helper, 16); in dcn302_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn303/
H A Ddcn303_resource.c1242 if (dc->vm_helper) in dcn303_resource_construct()
1243 vm_helper_init(dc->vm_helper, 16); in dcn303_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn301/
H A Ddcn301_resource.c1506 if (dc->vm_helper) in dcn301_resource_construct()
1507 vm_helper_init(dc->vm_helper, 16); in dcn301_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn21/
H A Ddcn21_resource.c1466 if (dc->vm_helper) in dcn21_resource_construct()
1467 vm_helper_init(dc->vm_helper, 16); in dcn21_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn316/
H A Ddcn316_resource.c1821 if (dc->vm_helper) in dcn316_resource_construct()
1822 vm_helper_init(dc->vm_helper, 16); in dcn316_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn314/
H A Ddcn314_resource.c1917 if (dc->vm_helper) in dcn314_resource_construct()
1918 vm_helper_init(dc->vm_helper, 16); in dcn314_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn31/
H A Ddcn31_resource.c1980 if (dc->vm_helper) in dcn31_resource_construct()
1981 vm_helper_init(dc->vm_helper, 16); in dcn31_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn321/
H A Ddcn321_resource.c1808 if (dc->vm_helper) in dcn321_resource_construct()
1809 vm_helper_init(dc->vm_helper, 16); in dcn321_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn35/
H A Ddcn35_resource.c1934 if (dc->vm_helper) in dcn35_resource_construct()
1935 vm_helper_init(dc->vm_helper, 16); in dcn35_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn351/
H A Ddcn351_resource.c1905 if (dc->vm_helper) in dcn351_resource_construct()
1906 vm_helper_init(dc->vm_helper, 16); in dcn351_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn315/
H A Ddcn315_resource.c1947 if (dc->vm_helper) in dcn315_resource_construct()
1948 vm_helper_init(dc->vm_helper, 16); in dcn315_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn401/
H A Ddcn401_resource.c1949 if (dc->vm_helper) in dcn401_resource_construct()
1950 vm_helper_init(dc->vm_helper, 16); in dcn401_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn30/
H A Ddcn30_resource.c2383 if (dc->vm_helper) in dcn30_resource_construct()
2384 vm_helper_init(dc->vm_helper, 16); in dcn30_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn20/
H A Ddcn20_resource.c2482 if (dc->vm_helper) in dcn20_resource_construct()
2483 vm_helper_init(dc->vm_helper, 16); in dcn20_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn32/
H A Ddcn32_resource.c2255 if (dc->vm_helper) in dcn32_resource_construct()
2256 vm_helper_init(dc->vm_helper, 16); in dcn32_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn20/
H A Ddcn20_hwseq.c2730 vm_helper_mark_vmid_used(dc->vm_helper, plane_state->address.vmid, pipe_ctx->plane_res.hubp->inst); in dcn20_update_plane_addr()