Home
last modified time | relevance | path

Searched refs:v9_mqd (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_mqd_manager_v9.c47 ALIGN(sizeof(struct v9_mqd), PAGE_SIZE); in mqd_stride_v9()
52 static inline struct v9_mqd *get_mqd(void *mqd) in get_mqd()
54 return (struct v9_mqd *)mqd; in get_mqd()
65 struct v9_mqd *m; in update_cu_mask()
104 static void set_priority(struct v9_mqd *m, struct queue_properties *q) in set_priority()
138 ALIGN(sizeof(struct v9_mqd), PAGE_SIZE)) * in allocate_mqd()
149 retval = kfd_gtt_sa_allocate(node, sizeof(struct v9_mqd), in allocate_mqd()
163 struct v9_mqd *m; in init_mqd()
165 m = (struct v9_mqd *) mqd_mem_obj->cpu_ptr; in init_mqd()
168 memset(m, 0, sizeof(struct v9_mqd)); in init_mqd()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_amdkfd_gc_9_4_3.c279 static inline struct v9_mqd *get_mqd(void *mqd) in get_mqd()
281 return (struct v9_mqd *)mqd; in get_mqd()
289 struct v9_mqd *m; in kgd_gfx_v9_4_3_hqd_load()
H A Damdgpu_amdkfd_gfx_v9.c212 static inline struct v9_mqd *get_mqd(void *mqd) in get_mqd()
214 return (struct v9_mqd *)mqd; in get_mqd()
228 struct v9_mqd *m; in kgd_gfx_v9_hqd_load()
308 struct v9_mqd *m; in kgd_gfx_v9_hiq_mqd_load()
534 struct v9_mqd *m = get_mqd(mqd); in kgd_gfx_v9_hqd_destroy()
H A Dgfx_v9_4_3.c1457 static void gfx_v9_4_3_mqd_set_priority(struct amdgpu_ring *ring, struct v9_mqd *mqd) in gfx_v9_4_3_mqd_set_priority()
1473 struct v9_mqd *mqd = ring->mqd_ptr; in gfx_v9_4_3_xcc_mqd_init()
1602 struct v9_mqd *mqd = ring->mqd_ptr; in gfx_v9_4_3_xcc_kiq_init_register()
1755 struct v9_mqd *mqd = ring->mqd_ptr; in gfx_v9_4_3_xcc_kiq_init_queue()
1756 struct v9_mqd *tmp_mqd; in gfx_v9_4_3_xcc_kiq_init_queue()
1765 tmp_mqd = (struct v9_mqd *)adev->gfx.kiq[xcc_id].mqd_backup; in gfx_v9_4_3_xcc_kiq_init_queue()
1802 struct v9_mqd *mqd = ring->mqd_ptr; in gfx_v9_4_3_xcc_kcq_init_queue()
1804 struct v9_mqd *tmp_mqd; in gfx_v9_4_3_xcc_kcq_init_queue()
1809 tmp_mqd = (struct v9_mqd *)adev->gfx.mec.mqd_backup[mqd_idx]; in gfx_v9_4_3_xcc_kcq_init_queue()
H A Dgfx_v9_0.c3235 static void gfx_v9_0_mqd_set_priority(struct amdgpu_ring *ring, struct v9_mqd *mqd) in gfx_v9_0_mqd_set_priority()
3251 struct v9_mqd *mqd = ring->mqd_ptr; in gfx_v9_0_mqd_init()
3383 struct v9_mqd *mqd = ring->mqd_ptr; in gfx_v9_0_kiq_init_register()
3536 struct v9_mqd *mqd = ring->mqd_ptr; in gfx_v9_0_kiq_init_queue()
3537 struct v9_mqd *tmp_mqd; in gfx_v9_0_kiq_init_queue()
3546 tmp_mqd = (struct v9_mqd *)adev->gfx.kiq[0].mqd_backup; in gfx_v9_0_kiq_init_queue()
3584 struct v9_mqd *mqd = ring->mqd_ptr; in gfx_v9_0_kcq_init_queue()
3586 struct v9_mqd *tmp_mqd; in gfx_v9_0_kcq_init_queue()
3591 tmp_mqd = (struct v9_mqd *)adev->gfx.mec.mqd_backup[mqd_idx]; in gfx_v9_0_kcq_init_queue()
/openbmc/linux/drivers/gpu/drm/amd/include/
H A Dv9_structs.h159 struct v9_mqd { struct
693 struct v9_mqd mqd; argument