OSDN Git Service

drm/i915/display: Handle lane polarity for DDI port
authorUma Shankar <uma.shankar@intel.com>
Thu, 11 Feb 2021 11:42:09 +0000 (17:12 +0530)
committerUma Shankar <uma.shankar@intel.com>
Thu, 11 Feb 2021 16:59:43 +0000 (22:29 +0530)
commitaaab24bb25e9fc4c8f3a1d9a593d3ace2c4af243
treee22050b74495eddec84cd7e30faecca83abe6ae6
parentb305fc7490b39de8ad8f06c760e2f5c556889e13
drm/i915/display: Handle lane polarity for DDI port

Lane Reversal is required for some of the DDI ports. This information
is populated in VBT and driver should read the same and set the
polarity while enabling the port. This patch handles the same.

It helps fix a display blankout issue on DP ports on certain
platforms.

Signed-off-by: Uma Shankar <uma.shankar@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210211114209.23866-1-uma.shankar@intel.com
drivers/gpu/drm/i915/display/intel_bios.c
drivers/gpu/drm/i915/display/intel_bios.h
drivers/gpu/drm/i915/display/intel_ddi.c