/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc_vm_helper.c | 26 #include "vm_helper.h" 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() 66 in_use |= dc->vm_helper->hubp_vmid_usage[i].vmid_usage[0] in dc_get_vmid_use_vector() 67 | dc->vm_helper->hubp_vmid_usage[i].vmid_usage[1]; in dc_get_vmid_use_vector() 71 void vm_helper_init(struct vm_helper *vm_helper, unsigned int num_vmid) in vm_helper_init() argument 73 vm_helper->num_vmid = num_vmid; in vm_helper_init() 75 memset(vm_helper in vm_helper_init() [all...] |
H A D | dc.c | 65 #include "vm_helper.h" 589 kfree(dc->vm_helper); in dc_destruct() 590 dc->vm_helper = NULL; in dc_destruct() 642 // Allocate memory for the vm_helper in dc_construct() 643 dc->vm_helper = kzalloc(sizeof(struct vm_helper), GFP_KERNEL); in dc_construct() 644 if (!dc->vm_helper) { in dc_construct() 645 dm_error("%s: failed to create dc->vm_helper\n", __func__); in dc_construct()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc_vm_helper.c | 26 #include "vm_helper.h" 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 in vm_helper_init() [all...] |
H A D | dc.c | 64 #include "vm_helper.h" 848 kfree(dc->vm_helper); in dc_destruct() 849 dc->vm_helper = NULL; in dc_destruct() 903 // Allocate memory for the vm_helper in dc_construct() 904 dc->vm_helper = kzalloc(sizeof(struct vm_helper), GFP_KERNEL); in dc_construct() 905 if (!dc->vm_helper) { in dc_construct() 906 dm_error("%s: failed to create dc->vm_helper\n", __func__); in dc_construct()
|
/kernel/linux/linux-5.10/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); 45 struct vm_helper *vm_helper,
|
/kernel/linux/linux-6.6/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); 45 struct vm_helper *vm_helper,
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/ |
H A D | dc.h | 616 struct vm_helper *vm_helper; member
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/ |
H A D | dc.h | 975 struct vm_helper *vm_helper; member
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn302/ |
H A D | dcn302_resource.c | 65 #include "vm_helper.h" 1291 // Init the vm_helper in dcn302_resource_construct() 1292 if (dc->vm_helper) in dcn302_resource_construct() 1293 vm_helper_init(dc->vm_helper, 16); in dcn302_resource_construct()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn303/ |
H A D | dcn303_resource.c | 48 #include "vm_helper.h" 1215 // Init the vm_helper in dcn303_resource_construct() 1216 if (dc->vm_helper) in dcn303_resource_construct() 1217 vm_helper_init(dc->vm_helper, 16); in dcn303_resource_construct()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn21/ |
H A D | dcn21_resource.c | 86 #include "vm_helper.h" 1878 // Init the vm_helper in dcn21_resource_construct() 1879 if (dc->vm_helper) in dcn21_resource_construct() 1880 vm_helper_init(dc->vm_helper, 16); in dcn21_resource_construct()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn31/ |
H A D | dcn31_resource.c | 102 #include "vm_helper.h" 1964 // Init the vm_helper in dcn31_resource_construct() 1965 if (dc->vm_helper) in dcn31_resource_construct() 1966 vm_helper_init(dc->vm_helper, 16); in dcn31_resource_construct()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn321/ |
H A D | dcn321_resource.c | 92 #include "vm_helper.h" 1779 // Init the vm_helper in dcn321_resource_construct() 1780 if (dc->vm_helper) in dcn321_resource_construct() 1781 vm_helper_init(dc->vm_helper, 16); in dcn321_resource_construct()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn21/ |
H A D | dcn21_resource.c | 88 #include "vm_helper.h" 1486 // Init the vm_helper in dcn21_resource_construct() 1487 if (dc->vm_helper) in dcn21_resource_construct() 1488 vm_helper_init(dc->vm_helper, 16); in dcn21_resource_construct()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn301/ |
H A D | dcn301_resource.c | 88 #include "vm_helper.h" 1493 // Init the vm_helper in dcn301_resource_construct() 1494 if (dc->vm_helper) in dcn301_resource_construct() 1495 vm_helper_init(dc->vm_helper, 16); in dcn301_resource_construct()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn315/ |
H A D | dcn315_resource.c | 132 #include "vm_helper.h" 1929 // Init the vm_helper in dcn315_resource_construct() 1930 if (dc->vm_helper) in dcn315_resource_construct() 1931 vm_helper_init(dc->vm_helper, 16); in dcn315_resource_construct()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn314/ |
H A D | dcn314_resource.c | 100 #include "vm_helper.h" 1945 // Init the vm_helper in dcn314_resource_construct() 1946 if (dc->vm_helper) in dcn314_resource_construct() 1947 vm_helper_init(dc->vm_helper, 16); in dcn314_resource_construct()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn316/ |
H A D | dcn316_resource.c | 122 #include "vm_helper.h" 1816 // Init the vm_helper in dcn316_resource_construct() 1817 if (dc->vm_helper) in dcn316_resource_construct() 1818 vm_helper_init(dc->vm_helper, 16); in dcn316_resource_construct()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A D | dcn30_resource.c | 89 #include "vm_helper.h" 2358 // Init the vm_helper in dcn30_resource_construct() 2359 if (dc->vm_helper) in dcn30_resource_construct() 2360 vm_helper_init(dc->vm_helper, 16); in dcn30_resource_construct()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn20/ |
H A D | dcn20_resource.c | 87 #include "vm_helper.h" 2475 // Init the vm_helper in dcn20_resource_construct() 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 | 49 #include "vm_helper.h" 2409 vm_helper_mark_vmid_used(dc->vm_helper, plane_state->address.vmid, pipe_ctx->plane_res.hubp->inst); in dcn20_update_plane_addr()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn32/ |
H A D | dcn32_resource.c | 88 #include "vm_helper.h" 2238 // Init the vm_helper in dcn32_resource_construct() 2239 if (dc->vm_helper) in dcn32_resource_construct() 2240 vm_helper_init(dc->vm_helper, 16); in dcn32_resource_construct()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A D | dcn30_resource.c | 87 #include "vm_helper.h" 2691 // Init the vm_helper in dcn30_resource_construct() 2692 if (dc->vm_helper) in dcn30_resource_construct() 2693 vm_helper_init(dc->vm_helper, 16); in dcn30_resource_construct()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn20/ |
H A D | dcn20_resource.c | 86 #include "vm_helper.h" 3867 // Init the vm_helper 3868 if (dc->vm_helper) 3869 vm_helper_init(dc->vm_helper, 16);
|
H A D | dcn20_hwseq.c | 50 #include "vm_helper.h" 2061 vm_helper_mark_vmid_used(dc->vm_helper, plane_state->address.vmid, pipe_ctx->plane_res.hubp->inst); in dcn20_update_plane_addr()
|