]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Assert that TypeC ports are not used for eDP
authorImre Deak <imre.deak@intel.com>
Thu, 9 May 2019 17:34:46 +0000 (20:34 +0300)
committerImre Deak <imre.deak@intel.com>
Tue, 14 May 2019 11:06:30 +0000 (14:06 +0300)
commit45c1da0c4502d0155abd8caa8acabbd9ab693b44
tree59de96782bf88a8578360098457d83870b2c2547
parent95444c4449ee88c2c98642773a1d6824bdfda7fc
drm/i915: Assert that TypeC ports are not used for eDP

Add an assert that we don't use TypeC ports for eDP. That may in theory
be possible on TypeC legacy ports, but I'm not sure if that's a
practical scenario, so let's deal with that only if there's a use case.
Adding support for that wouldn't be too difficult, since TypeC mode
switching is not possible on TypeC legacy ports.

Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190509173446.31095-12-imre.deak@intel.com
drivers/gpu/drm/i915/intel_dp.c