Home
last modified time | relevance | path

Searched refs:pr_debug (Results 1 – 25 of 96) sorted by relevance

1234

/openbsd-src/sys/dev/pci/drm/amd/amdkfd/
H A Dkfd_queue.c33 pr_debug("Printing queue properties:\n"); in print_queue_properties()
34 pr_debug("Queue Type: %u\n", q->type); in print_queue_properties()
35 pr_debug("Queue Size: %llu\n", q->queue_size); in print_queue_properties()
36 pr_debug("Queue percent: %u\n", q->queue_percent); in print_queue_properties()
37 pr_debug("Queue Address: 0x%llX\n", q->queue_address); in print_queue_properties()
38 pr_debug("Queue Id: %u\n", q->queue_id); in print_queue_properties()
39 pr_debug("Queue Process Vmid: %u\n", q->vmid); in print_queue_properties()
40 pr_debug("Queue Read Pointer: 0x%px\n", q->read_ptr); in print_queue_properties()
41 pr_debug("Queue Write Pointer: 0x%px\n", q->write_ptr); in print_queue_properties()
42 pr_debug("Queue Doorbell Pointer: 0x%p\n", q->doorbell_ptr); in print_queue_properties()
[all …]
H A Dkfd_svm.c94 pr_debug("svms 0x%p prange 0x%p [0x%lx 0x%lx]\n", prange->svms, in svm_range_unlink()
111 pr_debug("svms 0x%p prange 0x%p [0x%lx 0x%lx]\n", prange->svms, in svm_range_add_notifier_locked()
130 pr_debug("svms 0x%p prange 0x%p [0x%lx 0x%lx]\n", prange->svms, in svm_range_add_to_svms()
141 pr_debug("remove notifier svms 0x%p prange 0x%p [0x%lx 0x%lx]\n", in svm_range_remove_notifier()
218 pr_debug("mapping to gpu idx 0x%x\n", gpuidx); in svm_range_dma_map()
221 pr_debug("failed to find device idx %d\n", gpuidx); in svm_range_dma_map()
269 pr_debug("failed to find device idx %d\n", gpuidx); in svm_range_free_dma_mappings()
285 pr_debug("svms 0x%p prange 0x%p [0x%lx 0x%lx]\n", prange->svms, prange, in svm_range_free()
292 pr_debug("unreserve prange 0x%p size: 0x%llx\n", prange, size); in svm_range_free()
354 pr_debug("svm in svm_range_new()
[all...]
H A Dkfd_migrate.c200 pr_debug("sdma copy memory fence done\n"); in svm_migrate_copy_done()
303 pr_debug("svms 0x%p [0x%lx 0x%lx 0x%llx]\n", prange->svms, prange->start, in svm_migrate_copy_to_vram()
368 pr_debug("failed %d to copy memory to vram\n", r); in svm_migrate_copy_to_vram()
440 pr_debug("failed collect migrate sys pages [0x%lx 0x%lx]\n", in svm_migrate_vma_to_vram()
445 pr_debug("partial migration, 0x%lx/0x%llx pages migrated\n", in svm_migrate_vma_to_vram()
448 pr_debug("0x%lx pages migrated\n", cpages); in svm_migrate_vma_to_vram()
453 pr_debug("successful/cpages/npages 0x%lx/0x%lx/0x%lx\n", in svm_migrate_vma_to_vram()
502 pr_debug("svms 0x%p [0x%lx 0x%lx] already on best_loc 0x%x\n", in svm_migrate_ram_to_vram()
509 pr_debug("failed to get kfd node by id 0x%x\n", best_loc); in svm_migrate_ram_to_vram()
513 pr_debug("svms 0x%p [0x%lx 0x%lx] to gpu 0x%x\n", prange->svms, in svm_migrate_ram_to_vram()
[all …]
H A Dkfd_doorbell.c95 pr_debug("Doorbell kernel address == %p\n", kfd->doorbell_kernel_ptr); in kfd_doorbell_init()
132 pr_debug("Mapping doorbell page\n" in kfd_doorbell_mmap()
170 pr_debug("Get kernel queue doorbell\n" in kfd_get_kernel_doorbell()
194 pr_debug("Writing %d to doorbell address %p\n", value, db); in write_kernel_doorbell()
204 pr_debug("writing %llu to doorbell address %p\n", value, db); in write_kernel_doorbell64()
219 pr_debug("reserved doorbell 0x%03x - 0x%03x\n", range_start, range_end); in init_doorbell_bitmap()
220 pr_debug("reserved doorbell 0x%03x - 0x%03x\n", in init_doorbell_bitmap()
H A Dkfd_packet_manager.c69 pr_debug("Over subscribed runlist\n"); in pm_calc_rlib_size()
84 pr_debug("runlist ib size %d\n", *rlib_size); in pm_calc_rlib_size()
145 pr_debug("Building runlist ib process count: %d queues count %d\n", in pm_create_runlist_ib()
153 pr_debug("Not enough space left in runlist IB\n"); in pm_create_runlist_ib()
170 pr_debug("static_queue, mapping kernel q %d, is debug status %d\n", in pm_create_runlist_ib()
189 pr_debug("static_queue, mapping user queue %d, is debug status %d\n", in pm_create_runlist_ib()
206 pr_debug("Finished map process and queues to runlist\n"); in pm_create_runlist_ib()
219 pr_debug("0x%2X ", rl_buffer[i]); in pm_create_runlist_ib()
220 pr_debug("\n"); in pm_create_runlist_ib()
313 pr_debug("runlist IB address: 0x%llX\n", rl_gpu_ib_addr); in pm_send_runlist()
H A Dkfd_chardev.c230 pr_debug("Can't access eop buffer"); in set_queue_properties_from_user()
237 pr_debug("Can't access ctx save restore buffer"); in set_queue_properties_from_user()
272 pr_debug("Queue Percentage: %d, %d\n", in set_queue_properties_from_user()
275 pr_debug("Queue Priority: %d, %d\n", in set_queue_properties_from_user()
278 pr_debug("Queue Address: 0x%llX, 0x%llX\n", in set_queue_properties_from_user()
281 pr_debug("Queue Size: 0x%llX, %u\n", in set_queue_properties_from_user()
284 pr_debug("Queue r/w Pointers: %px, %px\n", in set_queue_properties_from_user()
288 pr_debug("Queue Format: %d\n", q_properties->format); in set_queue_properties_from_user()
290 pr_debug("Queue EOP: 0x%llX\n", q_properties->eop_ring_buffer_address); in set_queue_properties_from_user()
292 pr_debug("Queu in set_queue_properties_from_user()
[all...]
H A Dkfd_mqd_manager_v10.c63 pr_debug("update cu mask to %#x %#x %#x %#x\n", in update_cu_mask()
174 pr_debug("cp_hqd_pq_control 0x%x\n", m->cp_hqd_pq_control); in update_mqd()
187 pr_debug("cp_hqd_pq_doorbell_control 0x%x\n", in update_mqd()
302 pr_debug("cp_hqd_pq_doorbell_control 0x%x\n", in restore_mqd()
337 pr_debug("Destroy HIQ MQD failed: %d\n", err); in destroy_hiq_mqd()
459 pr_debug("%s@%i\n", __func__, __LINE__); in mqd_manager_init_v10()
475 pr_debug("%s@%i\n", __func__, __LINE__); in mqd_manager_init_v10()
478 pr_debug("%s@%i\n", __func__, __LINE__); in mqd_manager_init_v10()
492 pr_debug("%s@%i\n", __func__, __LINE__); in mqd_manager_init_v10()
508 pr_debug("%s@%i\n", __func__, __LINE__); in mqd_manager_init_v10()
[all …]
H A Dkfd_kernel_queue.c51 pr_debug("Initializing queue type %d size %d\n", KFD_QUEUE_TYPE_HIQ, in kq_initialize()
157 pr_debug("Assigning hiq to hqd\n"); in kq_initialize()
248 pr_debug("rptr: %d\n", rptr); in kq_acquire_packet_buffer()
249 pr_debug("wptr: %d\n", wptr); in kq_acquire_packet_buffer()
250 pr_debug("queue_address 0x%p\n", queue_address); in kq_acquire_packet_buffer()
295 pr_debug("0x%2X ", kq->pq_kernel_addr[i]); in kq_submit_packet()
297 pr_debug("\n"); in kq_submit_packet()
299 pr_debug("\n"); in kq_submit_packet()
H A Dkfd_mqd_manager_v11.c85 pr_debug("update cu mask to %#x %#x %#x %#x %#x %#x %#x %#x\n", in update_cu_mask()
228 pr_debug("cp_hqd_pq_control 0x%x\n", m->cp_hqd_pq_control); in update_mqd()
241 pr_debug("cp_hqd_pq_doorbell_control 0x%x\n", in update_mqd()
355 pr_debug("cp_hqd_pq_doorbell_control 0x%x\n", in restore_mqd()
391 pr_debug("Destroy HIQ MQD failed: %d\n", err); in destroy_hiq_mqd()
488 pr_debug("%s@%i\n", __func__, __LINE__); in mqd_manager_init_v11()
504 pr_debug("%s@%i\n", __func__, __LINE__); in mqd_manager_init_v11()
507 pr_debug("%s@%i\n", __func__, __LINE__); in mqd_manager_init_v11()
521 pr_debug("%s@%i\n", __func__, __LINE__); in mqd_manager_init_v11()
537 pr_debug("%s@%i\n", __func__, __LINE__); in mqd_manager_init_v11()
[all …]
H A Dkfd_process_queue_manager.c69 pr_debug("The new slot id %lu\n", found); in find_available_queue_slot()
264 pr_debug("PQM After init queue"); in init_user_queue()
364 pr_debug("Over-subscription is not allowed when amdkfd.sched_policy == 1\n"); in pqm_create_queue()
421 pr_debug("PQM After DQM create queue\n"); in pqm_create_queue()
426 pr_debug("PQM done creating queue\n"); in pqm_create_queue()
522 pr_debug("No queue %d exists for update operation\n", qid); in pqm_update_queue_properties()
548 pr_debug("No queue %d exists for update operation\n", qid); in pqm_update_mqd()
565 pr_debug("CUs must be adjacent pairwise enabled.\n"); in pqm_update_mqd()
614 pr_debug("amdkfd: No queue %d exists for operation\n", in pqm_get_wave_state()
732 pr_debug("amdkf in pqm_checkpoint_mqd()
[all...]
H A Dkfd_device_queue_manager.c400 pr_debug("No doorbells available"); in allocate_doorbell()
462 pr_debug("vmid allocated: %d\n", allocated_vmid); in allocate_vmid()
569 pr_debug("Loading mqd to hqd on pipe %d, queue %d\n", in create_queue_nocpsch()
628 pr_debug("Total of %d queues are accountable so far\n", in create_queue_nocpsch()
677 pr_debug("hqd slot - pipe %d, queue %d\n", q->pipe, q->queue); in allocate_hqd()
709 pr_debug("Killing all process wavefronts\n"); in dbgdev_wave_reset_wavefronts()
726 pr_debug("Killing wave fronts of vmid %d and pasid 0x%x\n", in dbgdev_wave_reset_wavefronts()
777 pr_debug("q->properties.type %d is invalid\n", in destroy_queue_nocpsch_locked()
969 pr_debug("Suspending PASID %u queue [%i]\n", in suspend_single_queue()
976 pr_debug("Suspen in suspend_single_queue()
[all...]
H A Dkfd_mqd_manager_v9.c86 pr_debug("update cu mask to %#x %#x %#x %#x %#x %#x %#x %#x\n", in update_cu_mask()
96 pr_debug("inst: %u, update cu mask to %#x %#x %#x %#x\n", in update_cu_mask()
248 pr_debug("cp_hqd_pq_control 0x%x\n", m->cp_hqd_pq_control); in update_mqd()
261 pr_debug("cp_hqd_pq_doorbell_control 0x%x\n", in update_mqd()
398 pr_debug("cp_hqd_pq_doorbell_control 0x%x\n", in restore_mqd()
432 pr_debug("Destroy HIQ MQD failed: %d\n", err); in destroy_hiq_mqd()
565 pr_debug("Failed to load HIQ MQD for XCC: %d\n", inst); in hiq_load_mqd_kiq_v9_4_3()
592 pr_debug("Destroy HIQ MQD failed for xcc: %d\n", inst); in destroy_hiq_mqd_v9_4_3()
730 pr_debug("Destroy MQD failed for xcc: %d\n", inst); in destroy_mqd_v9_4_3()
757 pr_debug("Loa in load_mqd_v9_4_3()
[all...]
H A Dkfd_events.c84 pr_debug("Allocated new event signal page at %p, for process %p\n", in allocate_signal_page()
195 pr_debug("Signal event wasn't created because limit was reached\n"); in create_signal_event()
210 pr_debug("Signal event number %zu created with id %d, address %p\n", in create_signal_event()
570 pr_debug("Checkpointed event[%d] id = 0x%08x auto_reset = %x type = %x signaled = %x\n", in kfd_criu_checkpoint_events()
1066 pr_debug("Signal page could not be found\n"); in kfd_event_mmap()
1076 pr_debug("Mapping signal page\n"); in kfd_event_mmap()
1077 pr_debug(" start user address == 0x%08lx\n", vma->vm_start); in kfd_event_mmap()
1078 pr_debug(" end user address == 0x%08lx\n", vma->vm_end); in kfd_event_mmap()
1079 pr_debug(" pfn == 0x%016lX\n", pfn); in kfd_event_mmap()
1080 pr_debug(" vm_flags == 0x%08lX\n", vma->vm_flags); in kfd_event_mmap()
[all …]
H A Dkfd_device.c829 pr_debug("Starting kfd with the following scheduling policy %d\n", in kgd2kfd_device_init()
1144 pr_debug("gtt_sa_num_of_chunks = %d, gtt_sa_bitmap = %p\n", in kfd_gtt_sa_init()
1188 pr_debug("Allocated mem_obj = %p for size = %d\n", *mem_obj, size); in kfd_gtt_sa_allocate()
1200 pr_debug("Found = %d\n", found); in kfd_gtt_sa_allocate()
1218 pr_debug("gpu_addr = %p, cpu_addr = %p\n", in kfd_gtt_sa_allocate()
1223 pr_debug("Single bit\n"); in kfd_gtt_sa_allocate()
1258 pr_debug("range_start = %d, range_end = %d\n", in kfd_gtt_sa_allocate()
1270 pr_debug("Allocation failed with mem_obj = %p\n", *mem_obj); in kfd_gtt_sa_allocate()
1284 pr_debug("Free mem_obj = %p, range_start = %d, range_end = %d\n", in kfd_gtt_sa_free()
H A Dkfd_process.c194 pr_debug("Failed to read SDMA queue active counter for queue id: %d", in kfd_sdma_activity_worker()
282 pr_debug("Gpu-Id: %d has no active queues for process %d\n", in kfd_get_cu_occupancy()
731 pr_debug("Sync memory failed, wait interrupted by user signal\n"); in kfd_process_alloc_gpuvm()
739 pr_debug("Map GTT BO to kernel failed\n"); in kfd_process_alloc_gpuvm()
822 pr_debug("KFD is locked! Cannot create process"); in kfd_create_process()
830 pr_debug("Process already found\n"); in kfd_create_process()
1029 pr_debug("Releasing pdd (topology id %d) for process (pasid 0x%x)\n", in kfd_process_destroy_pdds()
1322 pr_debug("set tba :0x%llx, tma:0x%llx, cwsr_kaddr:%p for pqm.\n", in kfd_process_init_cwsr_apu()
1361 pr_debug("set tba :0x%llx, tma:0x%llx, cwsr_kaddr:%p for pqm.\n", in kfd_process_device_init_cwsr_dgpu()
1939 pr_debug("Starte in evict_process_worker()
[all...]
H A Dkfd_crat.c939 pr_debug("CU CPU: cores=%d id_base=%d\n", cu->num_cpu_cores, in kfd_populated_cu_info_cpu()
957 pr_debug("CU GPU: id_base=%d\n", cu->processor_id_low); in kfd_populated_cu_info_gpu()
968 pr_debug("Found CU entry in CRAT table with proximity_domain=%d caps=%x\n", in kfd_parse_subtype_cu()
1012 pr_debug("Found memory entry in CRAT table with proximity_domain=%d\n", in kfd_parse_subtype_mem()
1081 pr_debug("Found cache entry in CRAT table with processor_id=%d\n", id); in kfd_parse_subtype_cache()
1151 pr_debug("Found IO link entry in CRAT table with id_from=%d, id_to %d\n", in kfd_parse_subtype_iolink()
1243 pr_debug("Found TLB entry in CRAT table (not processing)\n"); in kfd_parse_subtype()
1249 pr_debug("Found CCOMPUTE entry in CRAT table (not processing)\n"); in kfd_parse_subtype()
1295 pr_debug("Parsing CRAT table with %d nodes\n", num_nodes); in kfd_parse_crat_table()
1806 pr_debug("Fill gpu memory affinity - type 0x%x size 0x%llx\n", in kfd_fill_gpu_memory_affinity()
[all …]
/openbsd-src/sys/dev/pci/drm/amd/display/include/
H A Dlogger_types.h38 #define DC_LOG_SURFACE(...) pr_debug("[SURFACE]:"__VA_ARGS__)
39 #define DC_LOG_CURSOR(...) pr_debug("[CURSOR]:"__VA_ARGS__)
40 #define DC_LOG_PFLIP(...) pr_debug("[PFLIP]:"__VA_ARGS__)
41 #define DC_LOG_VBLANK(...) pr_debug("[VBLANK]:"__VA_ARGS__)
43 #define DC_LOG_HW_LINK_TRAINING(...) pr_debug("[HW_LINK_TRAINING]:"__VA_ARGS__)
46 #define DC_LOG_HW_AUDIO(...) pr_debug("[HW_AUDIO]:"__VA_ARGS__)
49 #define DC_LOG_SCALER(...) pr_debug("[SCALER]:"__VA_ARGS__)
50 #define DC_LOG_BIOS(...) pr_debug("[BIOS]:"__VA_ARGS__)
51 #define DC_LOG_BANDWIDTH_CALCS(...) pr_debug("[BANDWIDTH_CALCS]:"__VA_ARGS__)
60 #define DC_LOG_DML(...) pr_debug("[DML]:"__VA_ARGS__)
[all …]
/openbsd-src/sys/dev/pci/drm/i915/gvt/
H A Ddebug.h39 pr_debug("gvt: core: "fmt, ##args)
42 pr_debug("gvt: irq: "fmt, ##args)
45 pr_debug("gvt: mm: "fmt, ##args)
48 pr_debug("gvt: mmio: "fmt, ##args)
51 pr_debug("gvt: dpy: "fmt, ##args)
54 pr_debug("gvt: el: "fmt, ##args)
57 pr_debug("gvt: sched: "fmt, ##args)
60 pr_debug("gvt: render: "fmt, ##args)
63 pr_debug("gvt: cmd: "fmt, ##args)
/openbsd-src/sys/dev/pci/drm/amd/amdgpu/
H A Damdgpu_amdkfd_gpuvm.c126 pr_debug("Kernel memory limit %lluM, TTM limit %lluM\n", in amdgpu_amdkfd_gpuvm_init_mem_limits()
209 pr_debug("Set no_system_mem_limit=1 if using shared memory\n"); in amdgpu_amdkfd_reserve_mem_limit()
629 pr_debug("%d BO size: %d\n", mmio, mem->bo->tbo.sg->sgl->length); in kfd_mem_dmamap_sg_bo()
630 pr_debug("%d BO address before DMA mapping: %llx\n", mmio, dma_addr); in kfd_mem_dmamap_sg_bo()
636 pr_debug("%d BO address after DMA mapping: %llx\n", mmio, dma_addr); in kfd_mem_dmamap_sg_bo()
740 pr_debug("SG Table of BO is NULL"); in kfd_mem_dmaunmap_sg_bo()
868 pr_debug("\t add VA 0x%llx - 0x%llx to vm %p\n", va, in kfd_mem_attach()
908 pr_debug("Employ DMABUF mechanism to enable peer GPU access\n"); in kfd_mem_attach()
918 pr_debug("Unable to reserve BO during memory attach"); in kfd_mem_attach()
960 pr_debug("\ in kfd_mem_detach()
[all...]
H A Damdgpu_amdkfd_gfx_v10.c108 pr_debug("pasid 0x%x vmid %d, reg value %x\n", pasid, vmid, pasid_mapping); in kgd_set_pasid_vmid_mapping()
110 pr_debug("ATHUB, reg %x\n", SOC15_REG_OFFSET(ATHUB, 0, mmATC_VMID0_PASID_MAPPING) + vmid); in kgd_set_pasid_vmid_mapping()
122 pr_debug("ATHUB mapping update finished\n"); in kgd_set_pasid_vmid_mapping()
129 pr_debug("update mapping for IH block and mmhub"); in kgd_set_pasid_vmid_mapping()
180 pr_debug("RLC register offset for SDMA%d RLC%d: 0x%x\n", engine_id, in get_sdma_rlc_reg_offset()
192 pr_debug("kfd: reg watch base address: 0x%x\n", retval);
219 pr_debug("Load hqd of pipe %d queue %d\n", pipe_id, queue_id); in kgd_hqd_load()
271 pr_debug("%s setting CP_PQ_WPTR_POLL_CNTL1 to %x\n", __func__, in kgd_hqd_load()
306 pr_debug("kfd: set HIQ, mec:%d, pipe:%d, queue:%d.\n", in kgd_hiq_mqd_load()
564 pr_debug("HW is processing IQ\n"); in kgd_hqd_destroy()
[all …]
H A Damdgpu_amdkfd_gfx_v10_3.c102 pr_debug("mapping vmid %d -> pasid %d in IH block for GFX client\n", in set_pasid_vmid_mapping_v10_3()
163 pr_debug("RLC register offset for SDMA%d RLC%d: 0x%x\n", engine_id, in get_sdma_rlc_reg_offset()
190 pr_debug("Load hqd of pipe %d queue %d\n", pipe_id, queue_id); in hqd_load_v10_3()
200 pr_debug("kfd: set HIQ, mec:%d, pipe:%d, queue:%d.\n", in hqd_load_v10_3()
257 pr_debug("%s setting CP_PQ_WPTR_POLL_CNTL1 to %x\n", __func__, in hqd_load_v10_3()
292 pr_debug("kfd: set HIQ, mec:%d, pipe:%d, queue:%d.\n", in hiq_mqd_load_v10_3()
H A Damdgpu_amdkfd_gfx_v8.c138 pr_debug("RLC register offset for SDMA%d RLC%d: 0x%x\n", in get_sdma_rlc_reg_offset()
175 pr_debug("kfd: set HIQ, mec:%d, pipe:%d, queue:%d.\n", in kgd_hqd_load()
434 pr_debug("HW is processing IQ\n"); in kgd_hqd_destroy()
448 pr_debug("IQ timer is active\n"); in kgd_hqd_destroy()
464 pr_debug("Dequeue request is pending\n"); in kgd_hqd_destroy()
H A Damdgpu_amdkfd_gfx_v11.c98 pr_debug("mapping vmid %d -> pasid %d in IH block for GFX client\n", in set_pasid_vmid_mapping_v11()
148 pr_debug("RLC register offset for SDMA%d RLC%d: 0x%x\n", engine_id, in get_sdma_rlc_reg_offset()
175 pr_debug("Load hqd of pipe %d queue %d\n", pipe_id, queue_id); in hqd_load_v11()
185 pr_debug("kfd: set HIQ, mec:%d, pipe:%d, queue:%d.\n", in hqd_load_v11()
242 pr_debug("%s setting CP_PQ_WPTR_POLL_CNTL1 to %x\n", __func__, in hqd_load_v11()
277 pr_debug("kfd: set HIQ, mec:%d, pipe:%d, queue:%d.\n", in hiq_mqd_load_v11()
/openbsd-src/sys/dev/pci/drm/include/linux/
H A Dprintk.h50 #define pr_debug(fmt, arg...) printk(KERN_DEBUG pr_fmt(fmt), ## arg) macro
55 #define pr_debug(fmt, arg...) do { } while(0) macro
/openbsd-src/sys/dev/pci/drm/amd/display/modules/hdcp/
H A Dhdcp_log.h32 #define HDCP_LOG_TOP(hdcp, ...) pr_debug("[HDCP_TOP]:"__VA_ARGS__)
33 #define HDCP_LOG_DDC(hdcp, ...) pr_debug("[HDCP_DDC]:"__VA_ARGS__)

1234