• Home
  • Raw
  • Download

Lines Matching refs:m

58 static int i915_capabilities(struct seq_file *m, void *data)  in i915_capabilities()  argument
60 struct drm_i915_private *i915 = node_to_i915(m->private); in i915_capabilities()
61 struct drm_printer p = drm_seq_file_printer(m); in i915_capabilities()
63 seq_printf(m, "pch: %d\n", INTEL_PCH_TYPE(i915)); in i915_capabilities()
139 i915_debugfs_describe_obj(struct seq_file *m, struct drm_i915_gem_object *obj) in i915_debugfs_describe_obj() argument
146 seq_printf(m, "%pK: %c%c%c %8zdKiB %02x %02x %s%s%s", in i915_debugfs_describe_obj()
158 seq_printf(m, " (name: %d)", obj->base.name); in i915_debugfs_describe_obj()
170 seq_printf(m, " (%s offset: %08llx, size: %08llx, pages: %s", in i915_debugfs_describe_obj()
177 seq_puts(m, ", normal"); in i915_debugfs_describe_obj()
181 seq_printf(m, ", partial [%08llx+%x]", in i915_debugfs_describe_obj()
187 …seq_printf(m, ", rotated [(%ux%u, src_stride=%u, dst_stride=%u, offset=%u), (%ux%u, src_stride=%u,… in i915_debugfs_describe_obj()
201 …seq_printf(m, ", remapped [(%ux%u, src_stride=%u, dst_stride=%u, offset=%u), (%ux%u, src_stride=%u… in i915_debugfs_describe_obj()
220 seq_printf(m, " , fence: %d", vma->fence->id); in i915_debugfs_describe_obj()
221 seq_puts(m, ")"); in i915_debugfs_describe_obj()
227 seq_printf(m, " (pinned x %d)", pin_count); in i915_debugfs_describe_obj()
229 seq_printf(m, " (stolen: %08llx)", obj->stolen->start); in i915_debugfs_describe_obj()
231 seq_printf(m, " (fb)"); in i915_debugfs_describe_obj()
235 seq_printf(m, " (%s)", engine->name); in i915_debugfs_describe_obj()
238 static int i915_gem_object_info(struct seq_file *m, void *data) in i915_gem_object_info() argument
240 struct drm_i915_private *i915 = node_to_i915(m->private); in i915_gem_object_info()
244 seq_printf(m, "%u shrinkable [%u free] objects, %llu bytes\n", in i915_gem_object_info()
249 seq_printf(m, "%s: total:%pa, available:%pa bytes\n", in i915_gem_object_info()
355 static int i915_frequency_info(struct seq_file *m, void *unused) in i915_frequency_info() argument
357 struct drm_i915_private *dev_priv = node_to_i915(m->private); in i915_frequency_info()
368 seq_printf(m, "Requested P-state: %d\n", (rgvswctl >> 8) & 0xf); in i915_frequency_info()
369 seq_printf(m, "Requested VID: %d\n", rgvswctl & 0x3f); in i915_frequency_info()
370 seq_printf(m, "Current VID: %d\n", (rgvstat & MEMSTAT_VID_MASK) >> in i915_frequency_info()
372 seq_printf(m, "Current P-state: %d\n", in i915_frequency_info()
378 seq_printf(m, "Video Turbo Mode: %s\n", in i915_frequency_info()
380 seq_printf(m, "HW control enabled: %s\n", in i915_frequency_info()
382 seq_printf(m, "SW control enabled: %s\n", in i915_frequency_info()
390 seq_printf(m, "PUNIT_REG_GPU_FREQ_STS: 0x%08x\n", freq_sts); in i915_frequency_info()
391 seq_printf(m, "DDR freq: %d MHz\n", dev_priv->mem_freq); in i915_frequency_info()
393 seq_printf(m, "actual GPU freq: %d MHz\n", in i915_frequency_info()
396 seq_printf(m, "current GPU freq: %d MHz\n", in i915_frequency_info()
399 seq_printf(m, "max GPU freq: %d MHz\n", in i915_frequency_info()
402 seq_printf(m, "min GPU freq: %d MHz\n", in i915_frequency_info()
405 seq_printf(m, "idle GPU freq: %d MHz\n", in i915_frequency_info()
408 seq_printf(m, in i915_frequency_info()
483 seq_printf(m, "Video Turbo Mode: %s\n", in i915_frequency_info()
485 seq_printf(m, "HW control enabled: %s\n", in i915_frequency_info()
487 seq_printf(m, "SW control enabled: %s\n", in i915_frequency_info()
491 seq_printf(m, "PM IER=0x%08x IMR=0x%08x, MASK=0x%08x\n", in i915_frequency_info()
494 seq_printf(m, "PM ISR=0x%08x IIR=0x%08x\n", in i915_frequency_info()
496 seq_printf(m, "pm_intrmsk_mbz: 0x%08x\n", in i915_frequency_info()
498 seq_printf(m, "GT_PERF_STATUS: 0x%08x\n", gt_perf_status); in i915_frequency_info()
499 seq_printf(m, "Render p-state ratio: %d\n", in i915_frequency_info()
501 seq_printf(m, "Render p-state VID: %d\n", in i915_frequency_info()
503 seq_printf(m, "Render p-state limit: %d\n", in i915_frequency_info()
505 seq_printf(m, "RPSTAT1: 0x%08x\n", rpstat); in i915_frequency_info()
506 seq_printf(m, "RPMODECTL: 0x%08x\n", rpmodectl); in i915_frequency_info()
507 seq_printf(m, "RPINCLIMIT: 0x%08x\n", rpinclimit); in i915_frequency_info()
508 seq_printf(m, "RPDECLIMIT: 0x%08x\n", rpdeclimit); in i915_frequency_info()
509 seq_printf(m, "RPNSWREQ: %dMHz\n", reqf); in i915_frequency_info()
510 seq_printf(m, "CAGF: %dMHz\n", cagf); in i915_frequency_info()
511 seq_printf(m, "RP CUR UP EI: %d (%lldns)\n", in i915_frequency_info()
514 seq_printf(m, "RP CUR UP: %d (%lldun)\n", in i915_frequency_info()
517 seq_printf(m, "RP PREV UP: %d (%lldns)\n", in i915_frequency_info()
520 seq_printf(m, "Up threshold: %d%%\n", in i915_frequency_info()
523 seq_printf(m, "RP CUR DOWN EI: %d (%lldns)\n", in i915_frequency_info()
527 seq_printf(m, "RP CUR DOWN: %d (%lldns)\n", in i915_frequency_info()
531 seq_printf(m, "RP PREV DOWN: %d (%lldns)\n", in i915_frequency_info()
535 seq_printf(m, "Down threshold: %d%%\n", in i915_frequency_info()
542 seq_printf(m, "Lowest (RPN) frequency: %dMHz\n", in i915_frequency_info()
548 seq_printf(m, "Nominal (RP1) frequency: %dMHz\n", in i915_frequency_info()
555 seq_printf(m, "Max non-overclocked (RP0) frequency: %dMHz\n", in i915_frequency_info()
557 seq_printf(m, "Max overclocked frequency: %dMHz\n", in i915_frequency_info()
560 seq_printf(m, "Current freq: %d MHz\n", in i915_frequency_info()
562 seq_printf(m, "Actual freq: %d MHz\n", cagf); in i915_frequency_info()
563 seq_printf(m, "Idle freq: %d MHz\n", in i915_frequency_info()
565 seq_printf(m, "Min freq: %d MHz\n", in i915_frequency_info()
567 seq_printf(m, "Boost freq: %d MHz\n", in i915_frequency_info()
569 seq_printf(m, "Max freq: %d MHz\n", in i915_frequency_info()
571 seq_printf(m, in i915_frequency_info()
575 seq_puts(m, "no P-state info available\n"); in i915_frequency_info()
578 seq_printf(m, "Current CD clock frequency: %d kHz\n", dev_priv->cdclk.hw.cdclk); in i915_frequency_info()
579 seq_printf(m, "Max CD clock frequency: %d kHz\n", dev_priv->max_cdclk_freq); in i915_frequency_info()
580 seq_printf(m, "Max pixel clock frequency: %d kHz\n", dev_priv->max_dotclk_freq); in i915_frequency_info()
610 static int i915_swizzle_info(struct seq_file *m, void *data) in i915_swizzle_info() argument
612 struct drm_i915_private *dev_priv = node_to_i915(m->private); in i915_swizzle_info()
616 seq_printf(m, "bit6 swizzle for X-tiling = %s\n", in i915_swizzle_info()
618 seq_printf(m, "bit6 swizzle for Y-tiling = %s\n", in i915_swizzle_info()
622 seq_puts(m, "L-shaped memory detected\n"); in i915_swizzle_info()
631 seq_printf(m, "DDC = 0x%08x\n", in i915_swizzle_info()
633 seq_printf(m, "DDC2 = 0x%08x\n", in i915_swizzle_info()
635 seq_printf(m, "C0DRB3 = 0x%04x\n", in i915_swizzle_info()
637 seq_printf(m, "C1DRB3 = 0x%04x\n", in i915_swizzle_info()
640 seq_printf(m, "MAD_DIMM_C0 = 0x%08x\n", in i915_swizzle_info()
642 seq_printf(m, "MAD_DIMM_C1 = 0x%08x\n", in i915_swizzle_info()
644 seq_printf(m, "MAD_DIMM_C2 = 0x%08x\n", in i915_swizzle_info()
646 seq_printf(m, "TILECTL = 0x%08x\n", in i915_swizzle_info()
649 seq_printf(m, "GAMTARBMODE = 0x%08x\n", in i915_swizzle_info()
652 seq_printf(m, "ARB_MODE = 0x%08x\n", in i915_swizzle_info()
654 seq_printf(m, "DISP_ARB_CTL = 0x%08x\n", in i915_swizzle_info()
663 static int i915_rps_boost_info(struct seq_file *m, void *data) in i915_rps_boost_info() argument
665 struct drm_i915_private *dev_priv = node_to_i915(m->private); in i915_rps_boost_info()
668 seq_printf(m, "RPS enabled? %s\n", yesno(intel_rps_is_enabled(rps))); in i915_rps_boost_info()
669 seq_printf(m, "RPS active? %s\n", yesno(intel_rps_is_active(rps))); in i915_rps_boost_info()
670 seq_printf(m, "GPU busy? %s\n", yesno(dev_priv->gt.awake)); in i915_rps_boost_info()
671 seq_printf(m, "Boosts outstanding? %d\n", in i915_rps_boost_info()
673 seq_printf(m, "Interactive? %d\n", READ_ONCE(rps->power.interactive)); in i915_rps_boost_info()
674 seq_printf(m, "Frequency requested %d, actual %d\n", in i915_rps_boost_info()
677 seq_printf(m, " min hard:%d, soft:%d; max soft:%d, hard:%d\n", in i915_rps_boost_info()
682 seq_printf(m, " idle:%d, efficient:%d, boost:%d\n", in i915_rps_boost_info()
687 seq_printf(m, "Wait boosts: %d\n", READ_ONCE(rps->boosts)); in i915_rps_boost_info()
692 static int i915_runtime_pm_status(struct seq_file *m, void *unused) in i915_runtime_pm_status() argument
694 struct drm_i915_private *dev_priv = node_to_i915(m->private); in i915_runtime_pm_status()
698 seq_puts(m, "Runtime power management not supported\n"); in i915_runtime_pm_status()
700 seq_printf(m, "Runtime power status: %s\n", in i915_runtime_pm_status()
703 seq_printf(m, "GPU idle: %s\n", yesno(!dev_priv->gt.awake)); in i915_runtime_pm_status()
704 seq_printf(m, "IRQs disabled: %s\n", in i915_runtime_pm_status()
707 seq_printf(m, "Usage count: %d\n", in i915_runtime_pm_status()
710 seq_printf(m, "Device Power Management (CONFIG_PM) disabled\n"); in i915_runtime_pm_status()
712 seq_printf(m, "PCI device power state: %s [%d]\n", in i915_runtime_pm_status()
717 struct drm_printer p = drm_seq_file_printer(m); in i915_runtime_pm_status()
725 static int i915_engine_info(struct seq_file *m, void *unused) in i915_engine_info() argument
727 struct drm_i915_private *i915 = node_to_i915(m->private); in i915_engine_info()
734 seq_printf(m, "GT awake? %s [%d], %llums\n", in i915_engine_info()
738 seq_printf(m, "CS timestamp frequency: %u Hz, %d ns\n", in i915_engine_info()
742 p = drm_seq_file_printer(m); in i915_engine_info()
753 static int i915_wa_registers(struct seq_file *m, void *unused) in i915_wa_registers() argument
755 struct drm_i915_private *i915 = node_to_i915(m->private); in i915_wa_registers()
767 seq_printf(m, "%s: Workarounds applied: %u\n", in i915_wa_registers()
771 seq_printf(m, "0x%X: 0x%08X, mask: 0x%08X\n", in i915_wa_registers()
775 seq_printf(m, "\n"); in i915_wa_registers()
944 static int i915_sseu_status(struct seq_file *m, void *unused) in i915_sseu_status() argument
946 struct drm_i915_private *i915 = node_to_i915(m->private); in i915_sseu_status()
949 return intel_sseu_status(m, gt); in i915_sseu_status()