]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/icl: fix icl_unmap/map_plls_to_ports
authorMahesh Kumar <mahesh1.kumar@intel.com>
Fri, 25 May 2018 15:52:38 +0000 (08:52 -0700)
committerJani Nikula <jani.nikula@intel.com>
Thu, 7 Jun 2018 08:39:05 +0000 (11:39 +0300)
commit86dc9ceec4ca346be6718cb9b2c92cc0ea1633b4
tree758321c610822f033ca2b09e3dd7480900ad27ab
parentd060c3aa9a74659cae0c2c2f07bfaa94f7e9361c
drm/i915/icl: fix icl_unmap/map_plls_to_ports

All connectors may not have best_encoder attached, so don't dereference
encoder pointer for each connector.

Fixes: 02ffc0b32045 ("drm/i915/icl: add basic support for the ICL clocks")
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Mahesh Kumar <mahesh1.kumar@intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180525155238.7054-1-lucas.demarchi@intel.com
(cherry picked from commit c46ef57d2008e5195f086a538550488b49644db7)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_ddi.c