Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4a0833ec authored by Daniel Vetter's avatar Daniel Vetter
Browse files

drm/i915: shut up spurious message in intel_dp_get_hw_state



The debug message is only relevant on CPT/PPT PCH ports, so move
it into the correct if clause.

Reviewed-by: default avatarPaulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent c8241969
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1327,9 +1327,10 @@ static bool intel_dp_get_hw_state(struct intel_encoder *encoder,
				return true;
			}
		}
	}

	DRM_DEBUG_KMS("No pipe for dp port 0x%x found\n", intel_dp->output_reg);
		DRM_DEBUG_KMS("No pipe for dp port 0x%x found\n",
			      intel_dp->output_reg);
	}

	return true;
}