Home
last modified time | relevance | path

Searched refs:vm_helper (Results 1 - 25 of 25) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_vm_helper.c26 #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 Ddc.c65 #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 Ddc_vm_helper.c26 #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 Ddc.c64 #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 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);
45 struct vm_helper *vm_helper,
/kernel/linux/linux-6.6/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);
45 struct vm_helper *vm_helper,
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/
H A Ddc.h616 struct vm_helper *vm_helper; member
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/
H A Ddc.h975 struct vm_helper *vm_helper; member
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn302/
H A Ddcn302_resource.c65 #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 Ddcn303_resource.c48 #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 Ddcn21_resource.c86 #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 Ddcn31_resource.c102 #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 Ddcn321_resource.c92 #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 Ddcn21_resource.c88 #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 Ddcn301_resource.c88 #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 Ddcn315_resource.c132 #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 Ddcn314_resource.c100 #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 Ddcn316_resource.c122 #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 Ddcn30_resource.c89 #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 Ddcn20_resource.c87 #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 Ddcn20_hwseq.c49 #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 Ddcn32_resource.c88 #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 Ddcn30_resource.c87 #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 Ddcn20_resource.c86 #include "vm_helper.h"
3867 // Init the vm_helper
3868 if (dc->vm_helper)
3869 vm_helper_init(dc->vm_helper, 16);
H A Ddcn20_hwseq.c50 #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()

Completed in 63 milliseconds