Home
last modified time | relevance | path

Searched refs:topo_dev (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_queue.c235 struct kfd_topology_device *topo_dev; in kfd_queue_acquire_buffers() local
240 topo_dev = kfd_topology_device_by_id(pdd->dev->id); in kfd_queue_acquire_buffers()
241 if (!topo_dev) in kfd_queue_acquire_buffers()
268 if (properties->eop_ring_buffer_size != topo_dev->node_props.eop_buffer_size) { in kfd_queue_acquire_buffers()
271 topo_dev->node_props.eop_buffer_size); in kfd_queue_acquire_buffers()
282 if (properties->ctl_stack_size != topo_dev->node_props.ctl_stack_size) { in kfd_queue_acquire_buffers()
285 topo_dev->node_props.ctl_stack_size); in kfd_queue_acquire_buffers()
290 if (properties->ctx_save_restore_area_size != topo_dev->node_props.cwsr_size) { in kfd_queue_acquire_buffers()
293 topo_dev->node_props.cwsr_size); in kfd_queue_acquire_buffers()
298 total_cwsr_size = (topo_dev->node_props.cwsr_size + topo_dev->node_props.debug_memory_size) in kfd_queue_acquire_buffers()
[all …]
H A Dkfd_debug.c502 struct kfd_topology_device *topo_dev = in kfd_dbg_trap_set_flags() local
504 uint32_t caps = topo_dev->node_props.capability; in kfd_dbg_trap_set_flags()
1056 struct kfd_topology_device *topo_dev = kfd_topology_device_by_id(pdd->dev->id); in kfd_dbg_trap_device_snapshot() local
1066 device_info.location_id = topo_dev->node_props.location_id; in kfd_dbg_trap_device_snapshot()
1067 device_info.vendor_id = topo_dev->node_props.vendor_id; in kfd_dbg_trap_device_snapshot()
1068 device_info.device_id = topo_dev->node_props.device_id; in kfd_dbg_trap_device_snapshot()
1074 topo_dev->node_props.gfx_target_version; in kfd_dbg_trap_device_snapshot()
1075 device_info.simd_count = topo_dev->node_props.simd_count; in kfd_dbg_trap_device_snapshot()
1077 topo_dev->node_props.max_waves_per_simd; in kfd_dbg_trap_device_snapshot()
1078 device_info.array_count = topo_dev->node_props.array_count; in kfd_dbg_trap_device_snapshot()
[all …]