]> 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)
committerPaulo Zanoni <paulo.r.zanoni@intel.com>
Fri, 1 Jun 2018 23:02:43 +0000 (16:02 -0700)
commit359ae2d9573eba44108502fed627570f6b72c760
tree434b83d7b1ed12c804a564990c4cc43b09a3e9d1
parent60bb294261da4863d03cf586079f526488f0248d
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: 030e1467f210 ("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
drivers/gpu/drm/i915/intel_ddi.c