]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/icl: Consider DSI for getting transcoder state
authorMadhav Chauhan <madhav.chauhan@intel.com>
Thu, 29 Nov 2018 14:12:27 +0000 (16:12 +0200)
committerJani Nikula <jani.nikula@intel.com>
Mon, 3 Dec 2018 13:54:33 +0000 (15:54 +0200)
commitac1907f271fee72f7859a191ae4c9fab1aa83473
tree584180495656f94453e4a60325e4a897378aaa6e
parent3a9ed338fdb5bcf3a77d49aa0603d4afbfcd824d
drm/i915/icl: Consider DSI for getting transcoder state

For Gen11 DSI, we use similar registers like for eDP
to find if DSI encoder is connected or not to a pipe.
This patch refactors existing hsw_get_transcoder_state()
to handle this.

v2 by Jani:
 - Add WARN_ON(dsi && edp) (Ville)

Signed-off-by: Madhav Chauhan <madhav.chauhan@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/2e10b977dfc7aa985a8559d6cd59ed0981848e95.1543500286.git.jani.nikula@intel.com
drivers/gpu/drm/i915/intel_display.c