OSDN Git Service

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)
commitad186f3fd98a958d38cd6cf642b21b603bee1b36
treed697621f907d00912599ba97bd1c9de20c231046
parent186a277e317a14dcba5a2d709f2fbd8c078dfa6f
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