Searched refs:ptb (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/modules/vmid/ |
H A D | vmid.c | 41 static void add_ptb_to_table(struct core_vmid *core_vmid, unsigned int vmid, uint64_t ptb) in add_ptb_to_table() argument 44 core_vmid->ptb_assigned_to_vmid[vmid] = ptb; in add_ptb_to_table() 69 // Return value of -1 indicates vmid table unitialized or ptb dne in the table 70 static int get_existing_vmid_for_ptb(struct core_vmid *core_vmid, uint64_t ptb) in get_existing_vmid_for_ptb() argument 75 if (core_vmid->ptb_assigned_to_vmid[i] == ptb) in get_existing_vmid_for_ptb() 95 uint8_t mod_vmid_get_for_ptb(struct mod_vmid *mod_vmid, uint64_t ptb) in mod_vmid_get_for_ptb() argument 101 if (ptb == 0) in mod_vmid_get_for_ptb() 104 vmid = get_existing_vmid_for_ptb(core_vmid, ptb); in mod_vmid_get_for_ptb() 109 va_config.page_table_base_addr = ptb; in mod_vmid_get_for_ptb() 116 add_ptb_to_table(core_vmid, vmid, ptb); in mod_vmid_get_for_ptb() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/modules/vmid/ |
H A D | vmid.c | 41 static void add_ptb_to_table(struct core_vmid *core_vmid, unsigned int vmid, uint64_t ptb) in add_ptb_to_table() argument 44 core_vmid->ptb_assigned_to_vmid[vmid] = ptb; in add_ptb_to_table() 69 // Return value of -1 indicates vmid table uninitialized or ptb dne in the table 70 static int get_existing_vmid_for_ptb(struct core_vmid *core_vmid, uint64_t ptb) in get_existing_vmid_for_ptb() argument 75 if (core_vmid->ptb_assigned_to_vmid[i] == ptb) in get_existing_vmid_for_ptb() 95 uint8_t mod_vmid_get_for_ptb(struct mod_vmid *mod_vmid, uint64_t ptb) in mod_vmid_get_for_ptb() argument 101 if (ptb == 0) in mod_vmid_get_for_ptb() 104 vmid = get_existing_vmid_for_ptb(core_vmid, ptb); in mod_vmid_get_for_ptb() 109 va_config.page_table_base_addr = ptb; in mod_vmid_get_for_ptb() 116 add_ptb_to_table(core_vmid, vmid, ptb); in mod_vmid_get_for_ptb() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/modules/inc/ |
H A D | mod_vmid.h | 37 uint8_t mod_vmid_get_for_ptb(struct mod_vmid *mod_vmid, uint64_t ptb);
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/modules/inc/ |
H A D | mod_vmid.h | 37 uint8_t mod_vmid_get_for_ptb(struct mod_vmid *mod_vmid, uint64_t ptb);
|
Completed in 2 milliseconds