[Intel-gfx] [PATCH 7/9] drm/i915/dp: Avoid double-printing esi regs
Dhinakaran Pandiyan
dhinakaran.pandiyan at intel.com
Tue Sep 12 23:57:28 UTC 2017
We debug log the esi dpcd's twice after reading them back, which is not
necessary.
Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan at intel.com>
---
drivers/gpu/drm/i915/intel_dp.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index 2886a2ef1591..aab9ba31f79e 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -4224,10 +4224,8 @@ intel_dp_check_mst_status(struct intel_dp *intel_dp)
}
bret = intel_dp_get_sink_irq_esi(intel_dp, esi);
- if (bret == true) {
- DRM_DEBUG_KMS("got esi2 %3ph\n", esi);
+ if (bret == true)
goto go_again;
- }
} else {
ret = 0;
}
--
2.11.0
More information about the Intel-gfx
mailing list