/linux/drivers/gpu/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() 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 D | dc.c | 980 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 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/drivers/gpu/drm/amd/display/dc/ |
H A D | dc.h | 1462 struct vm_helper *vm_helper; member
|
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn302/ |
H A D | dcn302_resource.c | 1297 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 D | dcn303_resource.c | 1242 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 D | dcn301_resource.c | 1506 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 D | dcn21_resource.c | 1466 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 D | dcn316_resource.c | 1821 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 D | dcn314_resource.c | 1917 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 D | dcn31_resource.c | 1980 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 D | dcn321_resource.c | 1808 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 D | dcn35_resource.c | 1934 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 D | dcn351_resource.c | 1905 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 D | dcn315_resource.c | 1947 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 D | dcn401_resource.c | 1949 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 D | dcn30_resource.c | 2383 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 D | dcn20_resource.c | 2482 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 D | dcn32_resource.c | 2255 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 D | dcn20_hwseq.c | 2730 vm_helper_mark_vmid_used(dc->vm_helper, plane_state->address.vmid, pipe_ctx->plane_res.hubp->inst); in dcn20_update_plane_addr()
|