]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/icl: Enable both DBuf slices during init
authorMahesh Kumar <mahesh1.kumar@intel.com>
Mon, 5 Feb 2018 15:40:44 +0000 (13:40 -0200)
committerPaulo Zanoni <paulo.r.zanoni@intel.com>
Tue, 13 Feb 2018 12:18:09 +0000 (10:18 -0200)
commit30d7c65689eeda52c0bd85d15b343a8d157c4431
treea4cc1f107082b395c626e2466d0f1f2c2d49c7cb
parent1c2add9487c79a7056bd2bfdee0c80780b2879ac
drm/i915/icl: Enable both DBuf slices during init

ICL has 2 slices of DBuf, enable both the slices during display init.

Ideally we should only enable the second slice when needed in order to
save power, but while we're not there yet, adopt the simpler solution
to keep us bug-free.

v2 (from Paulo):
  - Add the TODO comment.
  - Reorganize where things are defined.
  - Fix indentation.
  - Remove unnecessary POSTING_READ() calls.
  - Improve the commit message.

Reviewed-by: Paulo Zanoni <paulo.r.zanoni@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/20180205154046.11485-5-paulo.r.zanoni@intel.com
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_runtime_pm.c