Home
last modified time | relevance | path

Searched refs:drm_printf (Results 1 – 25 of 33) sorted by relevance

12

/Linux-v5.4/drivers/gpu/drm/i915/gt/
Dintel_engine_cs.c1151 drm_printf(m, "%s %llx:%llx%s%s %s @ %dms: %s\n", in print_request()
1179 drm_printf(m, "*\n"); in hexdump()
1189 drm_printf(m, "[%04zx] %s\n", pos, line); in hexdump()
1204 drm_printf(m, "\tCCID: 0x%08x\n", ENGINE_READ(engine, CCID)); in intel_engine_print_registers()
1205 drm_printf(m, "\tRING_START: 0x%08x\n", in intel_engine_print_registers()
1207 drm_printf(m, "\tRING_HEAD: 0x%08x\n", in intel_engine_print_registers()
1209 drm_printf(m, "\tRING_TAIL: 0x%08x\n", in intel_engine_print_registers()
1211 drm_printf(m, "\tRING_CTL: 0x%08x%s\n", in intel_engine_print_registers()
1215 drm_printf(m, "\tRING_MODE: 0x%08x%s\n", in intel_engine_print_registers()
1221 drm_printf(m, "\tRING_IMR: %08x\n", in intel_engine_print_registers()
[all …]
Dintel_breadcrumbs.c359 drm_printf(p, "Signals:\n"); in intel_engine_print_breadcrumbs()
364 drm_printf(p, "\t[%llx:%llx%s] @ %dms\n", in intel_engine_print_breadcrumbs()
/Linux-v5.4/drivers/gpu/drm/msm/adreno/
Da5xx_debugfs.c18 drm_printf(p, "PFP state:\n"); in pfp_print()
22 drm_printf(p, " %02x: %08x\n", i, in pfp_print()
33 drm_printf(p, "ME state:\n"); in me_print()
37 drm_printf(p, " %02x: %08x\n", i, in me_print()
48 drm_printf(p, "MEQ state:\n"); in meq_print()
52 drm_printf(p, " %02x: %08x\n", i, in meq_print()
63 drm_printf(p, "ROQ state:\n"); in roq_print()
71 drm_printf(p, " %02x: %08x %08x %08x %08x\n", i, in roq_print()
Dadreno_gpu.c704 drm_printf(p, "revision: %d (%d.%d.%d.%d)\n", in adreno_show()
709 drm_printf(p, "rbbm-status: 0x%08x\n", state->rbbm_status); in adreno_show()
714 drm_printf(p, " - id: %d\n", i); in adreno_show()
715 drm_printf(p, " iova: 0x%016llx\n", state->ring[i].iova); in adreno_show()
716 drm_printf(p, " last-fence: %d\n", state->ring[i].seqno); in adreno_show()
717 drm_printf(p, " retired-fence: %d\n", state->ring[i].fence); in adreno_show()
718 drm_printf(p, " rptr: %d\n", state->ring[i].rptr); in adreno_show()
719 drm_printf(p, " wptr: %d\n", state->ring[i].wptr); in adreno_show()
720 drm_printf(p, " size: %d\n", MSM_GPU_RINGBUFFER_SZ); in adreno_show()
730 drm_printf(p, " - iova: 0x%016llx\n", in adreno_show()
[all …]
Da6xx_gpu_state.c945 drm_printf(p, " - { offset: 0x%06x, value: 0x%08x }\n", in a6xx_show_registers()
995 drm_printf(p, " - bank: %d\n", i); in a6xx_show_shader()
996 drm_printf(p, " size: %d\n", block->size); in a6xx_show_shader()
1014 drm_printf(p, " - context: %d\n", ctx); in a6xx_show_cluster_data()
1025 drm_printf(p, " - { offset: 0x%06x, value: 0x%08x }\n", in a6xx_show_cluster_data()
1065 drm_printf(p, " dwords: %d\n", indexed->count); in a6xx_show_indexed_regs()
1080 drm_printf(p, " count: %d\n", block->count << 1); in a6xx_show_debugbus_block()
1101 drm_printf(p, " count: %d\n", VBIF_DEBUGBUS_BLOCK_SIZE); in a6xx_show_debugbus()
/Linux-v5.4/drivers/gpu/drm/
Ddrm_atomic.c384 drm_printf(p, "crtc[%u]: %s\n", crtc->base.id, crtc->name); in drm_atomic_crtc_print_state()
385 drm_printf(p, "\tenable=%d\n", state->enable); in drm_atomic_crtc_print_state()
386 drm_printf(p, "\tactive=%d\n", state->active); in drm_atomic_crtc_print_state()
387 drm_printf(p, "\tself_refresh_active=%d\n", state->self_refresh_active); in drm_atomic_crtc_print_state()
388 drm_printf(p, "\tplanes_changed=%d\n", state->planes_changed); in drm_atomic_crtc_print_state()
389 drm_printf(p, "\tmode_changed=%d\n", state->mode_changed); in drm_atomic_crtc_print_state()
390 drm_printf(p, "\tactive_changed=%d\n", state->active_changed); in drm_atomic_crtc_print_state()
391 drm_printf(p, "\tconnectors_changed=%d\n", state->connectors_changed); in drm_atomic_crtc_print_state()
392 drm_printf(p, "\tcolor_mgmt_changed=%d\n", state->color_mgmt_changed); in drm_atomic_crtc_print_state()
393 drm_printf(p, "\tplane_mask=%x\n", state->plane_mask); in drm_atomic_crtc_print_state()
[all …]
Ddrm_print.c163 drm_printf(p, "%s", str); in drm_puts()
172 void drm_printf(struct drm_printer *p, const char *f, ...) in drm_printf() function
180 EXPORT_SYMBOL(drm_printf);
283 drm_printf(p, "%*s = 0x%08x\n", in drm_print_regset32()
Ddrm_mm.c952 drm_printf(p, "%#018llx-%#018llx: %llu: free\n", in drm_mm_dump_hole()
971 drm_printf(p, "%#018llx-%#018llx: %llu: used\n", entry->start, in drm_mm_print()
978 drm_printf(p, "total: %llu, used %llu free %llu\n", total, in drm_mm_print()
/Linux-v5.4/drivers/gpu/drm/i915/
Di915_params.c187 drm_printf(p, "i915.%s=%s\n", name, yesno(*(const bool *)x)); in _print_param()
189 drm_printf(p, "i915.%s=%d\n", name, *(const int *)x); in _print_param()
191 drm_printf(p, "i915.%s=%u\n", name, *(const unsigned int *)x); in _print_param()
193 drm_printf(p, "i915.%s=%s\n", name, *(const char **)x); in _print_param()
Dintel_device_info.c79 #define PRINT_FLAG(name) drm_printf(p, "%s: %s\n", #name, yesno(info->name)); in intel_device_info_dump_flags()
83 #define PRINT_FLAG(name) drm_printf(p, "%s: %s\n", #name, yesno(info->display.name)); in intel_device_info_dump_flags()
92 drm_printf(p, "slice total: %u, mask=%04x\n", in sseu_dump()
94 drm_printf(p, "subslice total: %u\n", intel_sseu_subslice_total(sseu)); in sseu_dump()
96 drm_printf(p, "slice%d: %u subslices, mask=%04x\n", in sseu_dump()
100 drm_printf(p, "EU total: %u\n", sseu->eu_total); in sseu_dump()
101 drm_printf(p, "EU per subslice: %u\n", sseu->eu_per_subslice); in sseu_dump()
102 drm_printf(p, "has slice power gating: %s\n", in sseu_dump()
104 drm_printf(p, "has subslice power gating: %s\n", in sseu_dump()
106 drm_printf(p, "has EU power gating: %s\n", yesno(sseu->has_eu_pg)); in sseu_dump()
[all …]
Dintel_runtime_pm.c185 drm_printf(p, "Wakeref last acquired:\n%s", buf); in __print_intel_runtime_pm_wakeref()
190 drm_printf(p, "Wakeref last released:\n%s", buf); in __print_intel_runtime_pm_wakeref()
193 drm_printf(p, "Wakeref count: %lu\n", dbg->count); in __print_intel_runtime_pm_wakeref()
205 drm_printf(p, "Wakeref x%lu taken at:\n%s", rep, buf); in __print_intel_runtime_pm_wakeref()
/Linux-v5.4/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_smp.c338 drm_printf(p, "name\tinuse\tplane\n"); in mdp5_smp_dump()
339 drm_printf(p, "----\t-----\t-----\n"); in mdp5_smp_dump()
359 drm_printf(p, "%s:%d\t%d\t%s\n", in mdp5_smp_dump()
367 drm_printf(p, "TOTAL:\t%d\t(of %d)\n", total, smp->blk_cnt); in mdp5_smp_dump()
368 drm_printf(p, "AVAIL:\t%d\n", smp->blk_cnt - in mdp5_smp_dump()
Dmdp5_plane.c162 drm_printf(p, "\thwpipe=%s\n", pstate->hwpipe ? in mdp5_plane_atomic_print_state()
165 drm_printf(p, "\tright-hwpipe=%s\n", in mdp5_plane_atomic_print_state()
168 drm_printf(p, "\tpremultiplied=%u\n", pstate->premultiplied); in mdp5_plane_atomic_print_state()
169 drm_printf(p, "\tzpos=%u\n", pstate->zpos); in mdp5_plane_atomic_print_state()
170 drm_printf(p, "\talpha=%u\n", pstate->alpha); in mdp5_plane_atomic_print_state()
171 drm_printf(p, "\tstage=%s\n", stage2name(pstate->stage)); in mdp5_plane_atomic_print_state()
Dmdp5_crtc.c998 drm_printf(p, "\tctl=%d\n", mdp5_ctl_get_ctl_id(mdp5_cstate->ctl)); in mdp5_crtc_atomic_print_state()
1000 drm_printf(p, "\thwmixer=%s\n", pipeline->mixer ? in mdp5_crtc_atomic_print_state()
1004 drm_printf(p, "\tright hwmixer=%s\n", pipeline->r_mixer ? in mdp5_crtc_atomic_print_state()
1007 drm_printf(p, "\tcmd_mode=%d\n", mdp5_cstate->cmd_mode); in mdp5_crtc_atomic_print_state()
/Linux-v5.4/drivers/gpu/drm/i915/gt/uc/
Dintel_uc_fw.c607 drm_printf(p, "%s firmware: %s\n", in intel_uc_fw_dump()
609 drm_printf(p, "\tstatus: %s\n", in intel_uc_fw_dump()
611 drm_printf(p, "\tversion: wanted %u.%u, found %u.%u\n", in intel_uc_fw_dump()
614 drm_printf(p, "\tuCode: %u bytes\n", uc_fw->ucode_size); in intel_uc_fw_dump()
615 drm_printf(p, "\tRSA: %u bytes\n", uc_fw->rsa_size); in intel_uc_fw_dump()
/Linux-v5.4/drivers/gpu/drm/msm/
Dmsm_gpu.c280 drm_printf(&p, "---\n"); in msm_gpu_devcoredump_read()
281 drm_printf(&p, "kernel: " UTS_RELEASE "\n"); in msm_gpu_devcoredump_read()
282 drm_printf(&p, "module: " KBUILD_MODNAME "\n"); in msm_gpu_devcoredump_read()
283 drm_printf(&p, "time: %lld.%09ld\n", in msm_gpu_devcoredump_read()
286 drm_printf(&p, "comm: %s\n", state->comm); in msm_gpu_devcoredump_read()
288 drm_printf(&p, "cmdline: %s\n", state->cmd); in msm_gpu_devcoredump_read()
Dmsm_debugfs.c36 drm_printf(&p, "%s Status:\n", gpu->name); in msm_gpu_show()
/Linux-v5.4/include/drm/
Ddrm_print.h88 void drm_printf(struct drm_printer *p, const char *f, ...);
114 drm_printf((printer), "%.*s" fmt, (indent), "\t\t\t\t\tX", ##__VA_ARGS__)
/Linux-v5.4/drivers/gpu/drm/arm/
Dmalidp_planes.c140 drm_printf(p, "\trotmem_size=%u\n", ms->rotmem_size); in malidp_plane_atomic_print_state()
141 drm_printf(p, "\tformat_id=%u\n", ms->format); in malidp_plane_atomic_print_state()
142 drm_printf(p, "\tn_planes=%u\n", ms->n_planes); in malidp_plane_atomic_print_state()
143 drm_printf(p, "\tmmu_prefetch_mode=%s\n", in malidp_plane_atomic_print_state()
145 drm_printf(p, "\tmmu_prefetch_pgsize=%d\n", ms->mmu_prefetch_pgsize); in malidp_plane_atomic_print_state()
/Linux-v5.4/drivers/gpu/drm/ttm/
Dttm_bo.c84 drm_printf(p, " has_type: %d\n", man->has_type); in ttm_mem_type_debug()
85 drm_printf(p, " use_type: %d\n", man->use_type); in ttm_mem_type_debug()
86 drm_printf(p, " flags: 0x%08X\n", man->flags); in ttm_mem_type_debug()
87 drm_printf(p, " gpu_offset: 0x%08llX\n", man->gpu_offset); in ttm_mem_type_debug()
88 drm_printf(p, " size: %llu\n", man->size); in ttm_mem_type_debug()
89 drm_printf(p, " available_caching: 0x%08X\n", man->available_caching); in ttm_mem_type_debug()
90 drm_printf(p, " default_caching: 0x%08X\n", man->default_caching); in ttm_mem_type_debug()
101 drm_printf(&p, "No space for %p (%lu pages, %luK, %luM)\n", in ttm_bo_mem_space_debug()
109 drm_printf(&p, " placement[%d]=0x%08X (%d)\n", in ttm_bo_mem_space_debug()
/Linux-v5.4/drivers/gpu/drm/vmwgfx/
Dvmwgfx_gmrid_manager.c145 drm_printf(printer, "No debug info available for the GMR id manager\n"); in vmw_gmrid_man_debug()
/Linux-v5.4/drivers/gpu/drm/vc4/
Dvc4_bo.c48 drm_printf(p, "%30s: %6dkb BOs (%d)\n", in vc4_bo_stats_print()
56 drm_printf(p, "%30s: %6zdkb BOs (%d)\n", "userspace BO cache", in vc4_bo_stats_print()
60 drm_printf(p, "%30s: %6zdkb BOs (%d)\n", "total purged BO", in vc4_bo_stats_print()
Dvc4_hvs.c90 drm_printf(&p, "%d\n", atomic_read(&vc4->underrun)); in vc4_hvs_debugfs_underrun()
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gtt_mgr.c347 drm_printf(printer, "man size:%llu pages, gtt available:%lld pages, usage:%lluMB\n", in amdgpu_gtt_mgr_debug()
Damdgpu_vram_mgr.c458 drm_printf(printer, "man size:%llu pages, ram usage:%lluMB, vis usage:%lluMB\n", in amdgpu_vram_mgr_debug()

12