]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/display: Fix the encoder type check
authorVandita Kulkarni <vandita.kulkarni@intel.com>
Fri, 12 Jun 2020 08:22:37 +0000 (13:52 +0530)
committerUma Shankar <uma.shankar@intel.com>
Fri, 12 Jun 2020 09:04:13 +0000 (14:34 +0530)
commitfd3745389559f7cf9ba2c86e84411c4e4eec04fc
treeff3fec3f7a5ee6b6f3ef866acf89084108b1f899
parentd648c7ed5d3a0b2ef962505dd39979c855997929
drm/i915/display: Fix the encoder type check

For all ddi, encoder->type holds output type as ddi,
assigning it to individual o/p types is no more valid.

Fixes: d39997ccedb1 ("drm/i915/tgl: Add DKL PHY vswing table for HDMI")
v2: Rebase, no functional change.

Signed-off-by: Vandita Kulkarni <vandita.kulkarni@intel.com>
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
Signed-off-by: Uma Shankar <uma.shankar@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200612082237.11886-1-vandita.kulkarni@intel.com
drivers/gpu/drm/i915/display/intel_ddi.c