Lines Matching +full:270 +full:m
57 static int intel_display_caps(struct seq_file *m, void *data)
59 struct intel_display *display = node_to_intel_display(m->private);
60 struct drm_printer p = drm_seq_file_printer(m);
69 static int i915_frontbuffer_tracking(struct seq_file *m, void *unused)
71 struct drm_i915_private *dev_priv = node_to_i915(m->private);
75 seq_printf(m, "FB tracking busy bits: 0x%08x\n",
78 seq_printf(m, "FB tracking flip bits: 0x%08x\n",
86 static int i915_sr_status(struct seq_file *m, void *unused)
88 struct drm_i915_private *dev_priv = node_to_i915(m->private);
110 seq_printf(m, "self-refresh: %s\n", str_enabled_disabled(sr_enabled));
115 static int i915_gem_framebuffer_info(struct seq_file *m, void *data)
117 struct drm_i915_private *dev_priv = node_to_i915(m->private);
124 seq_printf(m, "fbcon size: %d x %d, depth %d, %d bpp, modifier 0x%llx, refcount %d, obj ",
131 intel_bo_describe(m, intel_fb_bo(&fbdev_fb->base));
132 seq_putc(m, '\n');
142 seq_printf(m, "user size: %d x %d, depth %d, %d bpp, modifier 0x%llx, refcount %d, obj ",
149 intel_bo_describe(m, intel_fb_bo(&fb->base));
150 seq_putc(m, '\n');
157 static int i915_power_domain_info(struct seq_file *m, void *unused)
159 struct drm_i915_private *i915 = node_to_i915(m->private);
161 intel_display_power_debug(i915, m);
166 static void intel_seq_print_mode(struct seq_file *m, int tabs,
172 seq_putc(m, '\t');
174 seq_printf(m, DRM_MODE_FMT "\n", DRM_MODE_ARG(mode));
177 static void intel_encoder_info(struct seq_file *m,
181 struct drm_i915_private *dev_priv = node_to_i915(m->private);
185 seq_printf(m, "\t[ENCODER:%d:%s]: connectors:\n",
196 seq_printf(m, "\t\t[CONNECTOR:%d:%s]\n",
202 static void intel_panel_info(struct seq_file *m,
210 seq_puts(m, "\tfixed modes:\n");
213 intel_seq_print_mode(m, 2, fixed_mode);
216 static void intel_hdcp_info(struct seq_file *m,
223 seq_puts(m, "No Connector Support");
237 seq_puts(m, "HDCP1.4 ");
239 seq_puts(m, "HDCP2.2 ");
242 seq_puts(m, "None");
245 seq_puts(m, "\n");
248 static void intel_dp_info(struct seq_file *m, struct intel_connector *connector)
253 seq_printf(m, "\tDPCD rev: %x\n", intel_dp->dpcd[DP_DPCD_REV]);
254 seq_printf(m, "\taudio support: %s\n",
257 drm_dp_downstream_debug(m, intel_dp->dpcd, intel_dp->downstream_ports,
261 static void intel_dp_mst_info(struct seq_file *m,
266 seq_printf(m, "\taudio support: %s\n", str_yes_no(has_audio));
269 static void intel_hdmi_info(struct seq_file *m,
274 seq_printf(m, "\taudio support: %s\n", str_yes_no(has_audio));
277 static void intel_connector_info(struct seq_file *m,
283 seq_printf(m, "[CONNECTOR:%d:%s]: status: %s\n",
290 seq_printf(m, "\tphysical dimensions: %dx%dmm\n",
293 seq_printf(m, "\tsubpixel order: %s\n",
295 seq_printf(m, "\tCEA rev: %d\n", connector->display_info.cea_rev);
301 intel_dp_mst_info(m, intel_connector);
303 intel_dp_info(m, intel_connector);
306 intel_hdmi_info(m, intel_connector);
312 seq_puts(m, "\tHDCP version: ");
314 intel_hdcp_info(m, intel_connector, true);
315 seq_puts(m, "\tMST Hub HDCP version: ");
317 intel_hdcp_info(m, intel_connector, false);
319 seq_printf(m, "\tmax bpc: %u\n", connector->display_info.bpc);
321 intel_panel_info(m, intel_connector);
323 seq_printf(m, "\tmodes:\n");
325 intel_seq_print_mode(m, 2, mode);
357 (rotation & DRM_MODE_ROTATE_270) ? "270 " : "",
374 static void intel_plane_uapi_info(struct seq_file *m, struct intel_plane *plane)
388 seq_puts(m, "\t\tuapi: [FB:");
390 seq_printf(m, "%d] %p4cc,0x%llx,%dx%d", fb->base.id,
394 seq_puts(m, "0] n/a,0x0,0x0,");
395 seq_printf(m, ", visible=%s, src=" DRM_RECT_FP_FMT ", dst=" DRM_RECT_FMT
400 seq_printf(m, "\t\tplanar: Linked to [PLANE:%d:%s] as a %s\n",
405 static void intel_plane_hw_info(struct seq_file *m, struct intel_plane *plane)
418 seq_printf(m, "\t\thw: [FB:%d] %p4cc,0x%llx,%dx%d, visible=%s, src="
428 static void intel_plane_info(struct seq_file *m, struct intel_crtc *crtc)
430 struct drm_i915_private *dev_priv = node_to_i915(m->private);
434 seq_printf(m, "\t[PLANE:%d:%s]: type=%s\n",
437 intel_plane_uapi_info(m, plane);
438 intel_plane_hw_info(m, plane);
442 static void intel_scaler_info(struct seq_file *m, struct intel_crtc *crtc)
451 seq_printf(m, "\tnum_scalers=%d, scaler_users=%x scaler_id=%d scaling_filter=%d",
461 seq_printf(m, ", scalers[%d]: use=%s, mode=%x",
464 seq_puts(m, "\n");
466 seq_puts(m, "\tNo scalers available on this platform\n");
471 static void crtc_updates_info(struct seq_file *m,
481 seq_printf(m, "%sUpdates: %llu\n", hdr, count);
510 seq_printf(m, "%s%s\n", hdr, columns);
513 seq_printf(m, "%sMin update: %lluns\n",
515 seq_printf(m, "%sMax update: %lluns\n",
517 seq_printf(m, "%sAverage update: %lluns\n",
519 seq_printf(m, "%sOverruns > %uus: %u\n",
523 static int crtc_updates_show(struct seq_file *m, void *data)
525 crtc_updates_info(m, m->private, "");
538 struct seq_file *m = file->private_data;
539 struct intel_crtc *crtc = m->private;
563 static void crtc_updates_info(struct seq_file *m,
574 static void intel_crtc_info(struct seq_file *m, struct intel_crtc *crtc)
576 struct drm_i915_private *dev_priv = node_to_i915(m->private);
577 struct drm_printer p = drm_seq_file_printer(m);
582 seq_printf(m, "[CRTC:%d:%s]:\n",
585 seq_printf(m, "\tuapi: enable=%s, active=%s, mode=" DRM_MODE_FMT "\n",
590 seq_printf(m, "\thw: enable=%s, active=%s\n",
592 seq_printf(m, "\tadjusted_mode=" DRM_MODE_FMT "\n",
594 seq_printf(m, "\tpipe__mode=" DRM_MODE_FMT "\n",
597 seq_printf(m, "\tpipe src=" DRM_RECT_FMT ", dither=%s, bpp=%d\n",
601 intel_scaler_info(m, crtc);
604 seq_printf(m, "\tLinked to 0x%x pipes as a %s\n",
612 intel_encoder_info(m, crtc, encoder);
614 intel_plane_info(m, crtc);
616 seq_printf(m, "\tunderrun reporting: cpu=%s pch=%s\n",
620 crtc_updates_info(m, crtc, "\t");
623 static int i915_display_info(struct seq_file *m, void *unused)
625 struct drm_i915_private *dev_priv = node_to_i915(m->private);
635 seq_printf(m, "CRTC info\n");
636 seq_printf(m, "---------\n");
638 intel_crtc_info(m, crtc);
640 seq_printf(m, "\n");
641 seq_printf(m, "Connector info\n");
642 seq_printf(m, "--------------\n");
645 intel_connector_info(m, connector);
655 static int i915_display_capabilities(struct seq_file *m, void *unused)
657 struct drm_i915_private *i915 = node_to_i915(m->private);
658 struct drm_printer p = drm_seq_file_printer(m);
666 static int i915_shared_dplls_info(struct seq_file *m, void *unused)
668 struct drm_i915_private *dev_priv = node_to_i915(m->private);
669 struct drm_printer p = drm_seq_file_printer(m);
693 static int i915_ddb_info(struct seq_file *m, void *unused)
695 struct drm_i915_private *dev_priv = node_to_i915(m->private);
704 seq_printf(m, "%-15s%8s%8s%8s\n", "", "Start", "End", "Size");
712 seq_printf(m, "Pipe %c\n", pipe_name(pipe));
716 seq_printf(m, " Plane%-8d%8u%8u%8u\n", plane_id + 1,
722 seq_printf(m, " %-13s%8u%8u%8u\n", "Cursor", entry->start,
747 static int i915_lpsp_status(struct seq_file *m, void *unused)
749 struct drm_i915_private *i915 = node_to_i915(m->private);
759 seq_puts(m, "LPSP: not supported\n");
763 seq_printf(m, "LPSP: %s\n", str_enabled_disabled(lpsp_enabled));
768 static int i915_dp_mst_info(struct seq_file *m, void *unused)
770 struct drm_i915_private *dev_priv = node_to_i915(m->private);
789 seq_printf(m, "MST Source Port [ENCODER:%d:%s]\n",
792 drm_dp_mst_dump_topology(m, &dig_port->dp.mst_mgr);
896 static int i915_hdcp_sink_capability_show(struct seq_file *m, void *data)
898 struct intel_connector *connector = m->private;
912 seq_printf(m, "%s:%d HDCP version: ", connector->base.name,
914 intel_hdcp_info(m, connector, false);
923 static int i915_lpsp_capability_show(struct seq_file *m, void *data)
925 struct intel_connector *connector = m->private;
957 seq_printf(m, "LPSP: %s\n", lpsp_capable ? "capable" : "incapable");
963 static int i915_dsc_fec_support_show(struct seq_file *m, void *data)
965 struct intel_connector *connector = m->private;
1005 seq_printf(m, "DSC_Enabled: %s\n",
1007 seq_printf(m, "DSC_Sink_Support: %s\n",
1009 seq_printf(m, "DSC_Output_Format_Sink_Support: RGB: %s YCBCR420: %s YCBCR444: %s\n",
1016 seq_printf(m, "DSC_Sink_BPP_Precision: %d\n",
1018 seq_printf(m, "DSC_Sink_Max_Slice_Count: %d\n",
1020 seq_printf(m, "Force_DSC_Enable: %s\n",
1023 seq_printf(m, "FEC_Sink_Support: %s\n",
1037 struct seq_file *m = file->private_data;
1038 struct intel_connector *connector = m->private;
1079 static int i915_dsc_bpc_show(struct seq_file *m, void *data)
1081 struct intel_connector *connector = m->private;
1102 seq_printf(m, "Input_BPC: %d\n", crtc_state->dsc.config.bits_per_component);
1113 struct seq_file *m = file->private_data;
1114 struct intel_connector *connector = m->private;
1145 static int i915_dsc_output_format_show(struct seq_file *m, void *data)
1147 struct intel_connector *connector = m->private;
1168 seq_printf(m, "DSC_Output_Format: %s\n",
1180 struct seq_file *m = file->private_data;
1181 struct intel_connector *connector = m->private;
1212 static int i915_dsc_fractional_bpp_show(struct seq_file *m, void *data)
1214 struct intel_connector *connector = m->private;
1235 seq_printf(m, "Force_DSC_Fractional_BPP_Enable: %s\n",
1248 struct seq_file *m = file->private_data;
1249 struct intel_connector *connector = m->private;
1294 static int i915_current_bpc_show(struct seq_file *m, void *data)
1296 struct intel_crtc *crtc = m->private;
1305 seq_printf(m, "Current: %u\n", crtc_state->pipe_bpp / 3);
1314 static int intel_crtc_pipe_show(struct seq_file *m, void *unused)
1316 struct intel_crtc *crtc = m->private;
1318 seq_printf(m, "%c\n", pipe_name(crtc->pipe));
1324 static int i915_joiner_show(struct seq_file *m, void *data)
1326 struct intel_connector *connector = m->private;
1328 seq_printf(m, "%d\n", connector->force_joined_pipes);
1337 struct seq_file *m = file->private_data;
1338 struct intel_connector *connector = m->private;