]> 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)
commit2bff9b5da30724dfeee30177f290995c49bd6dbb
treed697621f907d00912599ba97bd1c9de20c231046
parent7c0eefa3722f09f95519ce77f33686cb9d513ba4
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