]> 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)
commit40af2361d7a515b74d33b68018b6eeed4277fdbc
treee22050b74495eddec84cd7e30faecca83abe6ae6
parentc1bd101d5dde982cdd822984eab37ff0cf1b8636
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