Commit 94eb6b24 authored by Ville Syrjälä's avatar Ville Syrjälä
Browse files

drm/i915: Dump the crtc hw state always



Let's just dump the "full" hw crtc state in debugs so that we can
see if some stale junk was left behind when the crtc is supposed
to be entirely off.

Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220217103221.10405-2-ville.syrjala@linux.intel.com


Reviewed-by: default avatarManasi Navare <manasi.d.navare@intel.com>
parent 390a1f8b
Loading
Loading
Loading
Loading
+7 −9
Original line number Diff line number Diff line
@@ -923,7 +923,6 @@ static void intel_crtc_info(struct seq_file *m, struct intel_crtc *crtc)
		   yesno(crtc_state->uapi.active),
		   DRM_MODE_ARG(&crtc_state->uapi.mode));

	if (crtc_state->hw.enable) {
	seq_printf(m, "\thw: active=%s, adjusted_mode=" DRM_MODE_FMT "\n",
		   yesno(crtc_state->hw.active),
		   DRM_MODE_ARG(&crtc_state->hw.adjusted_mode));
@@ -933,7 +932,6 @@ static void intel_crtc_info(struct seq_file *m, struct intel_crtc *crtc)
		   yesno(crtc_state->dither), crtc_state->pipe_bpp);

	intel_scaler_info(m, crtc);
	}

	if (crtc_state->bigjoiner)
		seq_printf(m, "\tLinked to 0x%x pipes as a %s\n",