]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5bc4a697f24c020dfd746d5dc3eeae8fd24a7adf
treee22050b74495eddec84cd7e30faecca83abe6ae6
parentbed6b42240ace850cd4fb51b944e365acc6e2893
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