Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/display/dc/core/
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()
A Ddc.c966 kfree(dc->vm_helper); in dc_destruct()
967 dc->vm_helper = NULL; in dc_destruct()
1034 dc->vm_helper = kzalloc(sizeof(struct vm_helper), GFP_KERNEL); in dc_construct()
1035 if (!dc->vm_helper) { in dc_construct()
/drivers/gpu/drm/amd/display/dc/inc/
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,
/drivers/gpu/drm/amd/display/dc/
A Ddc.h1711 struct vm_helper *vm_helper; member
/drivers/gpu/drm/amd/display/dc/resource/dcn302/
A Ddcn302_resource.c1297 if (dc->vm_helper) in dcn302_resource_construct()
1298 vm_helper_init(dc->vm_helper, 16); in dcn302_resource_construct()
/drivers/gpu/drm/amd/display/dc/resource/dcn303/
A Ddcn303_resource.c1242 if (dc->vm_helper) in dcn303_resource_construct()
1243 vm_helper_init(dc->vm_helper, 16); in dcn303_resource_construct()
/drivers/gpu/drm/amd/display/dc/resource/dcn21/
A Ddcn21_resource.c1466 if (dc->vm_helper) in dcn21_resource_construct()
1467 vm_helper_init(dc->vm_helper, 16); in dcn21_resource_construct()
/drivers/gpu/drm/amd/display/dc/resource/dcn301/
A Ddcn301_resource.c1506 if (dc->vm_helper) in dcn301_resource_construct()
1507 vm_helper_init(dc->vm_helper, 16); in dcn301_resource_construct()
/drivers/gpu/drm/amd/display/dc/resource/dcn316/
A Ddcn316_resource.c1823 if (dc->vm_helper) in dcn316_resource_construct()
1824 vm_helper_init(dc->vm_helper, 16); in dcn316_resource_construct()
/drivers/gpu/drm/amd/display/dc/resource/dcn314/
A Ddcn314_resource.c1924 if (dc->vm_helper) in dcn314_resource_construct()
1925 vm_helper_init(dc->vm_helper, 16); in dcn314_resource_construct()
/drivers/gpu/drm/amd/display/dc/resource/dcn31/
A Ddcn31_resource.c1986 if (dc->vm_helper) in dcn31_resource_construct()
1987 vm_helper_init(dc->vm_helper, 16); in dcn31_resource_construct()
/drivers/gpu/drm/amd/display/dc/resource/dcn321/
A Ddcn321_resource.c1805 if (dc->vm_helper) in dcn321_resource_construct()
1806 vm_helper_init(dc->vm_helper, 16); in dcn321_resource_construct()
/drivers/gpu/drm/amd/display/dc/resource/dcn35/
A Ddcn35_resource.c1944 if (dc->vm_helper) in dcn35_resource_construct()
1945 vm_helper_init(dc->vm_helper, 16); in dcn35_resource_construct()
/drivers/gpu/drm/amd/display/dc/resource/dcn315/
A Ddcn315_resource.c1947 if (dc->vm_helper) in dcn315_resource_construct()
1948 vm_helper_init(dc->vm_helper, 16); in dcn315_resource_construct()
/drivers/gpu/drm/amd/display/dc/resource/dcn351/
A Ddcn351_resource.c1915 if (dc->vm_helper) in dcn351_resource_construct()
1916 vm_helper_init(dc->vm_helper, 16); in dcn351_resource_construct()
/drivers/gpu/drm/amd/display/dc/resource/dcn36/
A Ddcn36_resource.c1917 if (dc->vm_helper) in dcn36_resource_construct()
1918 vm_helper_init(dc->vm_helper, 16); in dcn36_resource_construct()
/drivers/gpu/drm/amd/display/dc/resource/dcn30/
A Ddcn30_resource.c2382 if (dc->vm_helper) in dcn30_resource_construct()
2383 vm_helper_init(dc->vm_helper, 16); in dcn30_resource_construct()
/drivers/gpu/drm/amd/display/dc/resource/dcn401/
A Ddcn401_resource.c1999 if (dc->vm_helper) in dcn401_resource_construct()
2000 vm_helper_init(dc->vm_helper, 16); in dcn401_resource_construct()
/drivers/gpu/drm/amd/display/dc/resource/dcn20/
A Ddcn20_resource.c2483 if (dc->vm_helper) in dcn20_resource_construct()
2484 vm_helper_init(dc->vm_helper, 16); in dcn20_resource_construct()
/drivers/gpu/drm/amd/display/dc/resource/dcn32/
A Ddcn32_resource.c2301 if (dc->vm_helper) in dcn32_resource_construct()
2302 vm_helper_init(dc->vm_helper, 16); in dcn32_resource_construct()
/drivers/gpu/drm/amd/display/dc/hwss/dcn20/
A Ddcn20_hwseq.c2735 vm_helper_mark_vmid_used(dc->vm_helper, plane_state->address.vmid, pipe_ctx->plane_res.hubp->inst); in dcn20_update_plane_addr()

Completed in 93 milliseconds