drm/i915: WARN for eDP encoders in intel_dp_detect_dpcd()
authorImre Deak <imre.deak@intel.com>
Thu, 9 May 2019 17:34:41 +0000 (20:34 +0300)
committerImre Deak <imre.deak@intel.com>
Tue, 14 May 2019 11:06:30 +0000 (14:06 +0300)
commitad5125d6ef2de22212de82debd0baaecdaa7e7cd
tree2e2250c5627d16be3f1c723a175678be48c45428
parentf39194a7a8b903923c83f563cbe5a651fd00dd93
drm/i915: WARN for eDP encoders in intel_dp_detect_dpcd()

We are not calling this function for eDP, so add an early assert about
this for clarity.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190509173446.31095-7-imre.deak@intel.com
drivers/gpu/drm/i915/intel_dp.c