diff options
author | Imre Deak <imre.deak@intel.com> | 2016-10-24 19:33:28 +0300 |
---|---|---|
committer | Imre Deak <imre.deak@intel.com> | 2016-10-26 12:41:00 +0300 |
commit | 24e807e79f103cd9e7799eed704ed6916915d65a (patch) | |
tree | cb923f7c2857241b23eefb867871828a75b2574c /drivers/gpu/drm/i915/intel_drv.h | |
parent | 7b3fc170d6a6ac1d1622178a2db317671cb89b9c (diff) | |
download | op-kernel-dev-24e807e79f103cd9e7799eed704ed6916915d65a.zip op-kernel-dev-24e807e79f103cd9e7799eed704ed6916915d65a.tar.gz |
drm/i915/lspcon: Fail LSPCON probe if the start of DPCD can't be read
All types of DP devices (eDP, DP sink, DP branch) will fail their probe
if the start of DPCD can't be read. The LSPCON PCON functionality also
depends on accessing this area, so fail the probe if the read fails.
Cc: Shashank Sharma <shashank.sharma@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-6-git-send-email-imre.deak@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_drv.h')
-rw-r--r-- | drivers/gpu/drm/i915/intel_drv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h index 65ebe92..b958326 100644 --- a/drivers/gpu/drm/i915/intel_drv.h +++ b/drivers/gpu/drm/i915/intel_drv.h @@ -1467,6 +1467,8 @@ static inline unsigned int intel_dp_unused_lane_mask(int lane_count) return ~((1 << lane_count) - 1) & 0xf; } +bool intel_dp_read_dpcd(struct intel_dp *intel_dp); + /* intel_dp_aux_backlight.c */ int intel_dp_aux_init_backlight_funcs(struct intel_connector *intel_connector); |