Performing DPCD AUX reads based on debug settings may introduce obscure
bugs in other places that depend on the read being done (or being not
done). To reduce the uncertainty perform the reads unconditionally.
Cc: Mika Kahola <mika.kahola@intel.com>
Suggested-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1477326811-30431-3-git-send-email-imre.deak@intel.com
uint8_t rev;
int len;
- if ((drm_debug & DRM_UT_KMS) == 0)
- return;
-
if (!drm_dp_is_branch(intel_dp->dpcd))
return;
uint8_t rev[2];
int len;
- if ((drm_debug & DRM_UT_KMS) == 0)
- return;
-
if (!drm_dp_is_branch(intel_dp->dpcd))
return;