]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/icl: implement the display init/uninit sequences
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Mon, 5 Feb 2018 15:40:43 +0000 (13:40 -0200)
committerPaulo Zanoni <paulo.r.zanoni@intel.com>
Tue, 13 Feb 2018 12:17:10 +0000 (10:17 -0200)
commit1c2add9487c79a7056bd2bfdee0c80780b2879ac
treed697621f907d00912599ba97bd1c9de20c231046
parentd6a6464fd7c01c6e790b7ea924b07f3c283d44b5
drm/i915/icl: implement the display init/uninit sequences

This code is similar enough to the CNL code that I considered just
adding ICL support to the CNL function, but I think it's still
different enough, and having a function specific to ICL allows us to
more easily adapt code in case the spec changes more later.

We're still missing the power wells and the mbus code, so leave those
pieces with a FIXME comment while they're not here yet.

v2: Don't use _PICK, don't WARN_ON(1), don't forget the chicken bits.
v3: Use _MMIO_PORT() (Ville).

Reviewed-by: James Ausmus <james.ausmus@intel.com> (v2)
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180205154046.11485-4-paulo.r.zanoni@intel.com
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_runtime_pm.c