]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/icl: Add configuring MOCS in new Icelake engines
authorTomasz Lis <tomasz.lis@intel.com>
Wed, 2 May 2018 22:31:42 +0000 (15:31 -0700)
committerPaulo Zanoni <paulo.r.zanoni@intel.com>
Thu, 3 May 2018 23:41:04 +0000 (16:41 -0700)
commit1befaa53515f677f053b56cc3438e184c4b5282b
tree081464aaa357027e42147dcbc9d17f3ac2ce013f
parent4f652772f3f6c8e2a869856af502958ecf207294
drm/i915/icl: Add configuring MOCS in new Icelake engines

In Icelake, there are more engines on which Memory Object Control
States need to be configured. Besides adding Icelake under Skylake
config, the patch makes sure MOCS register addresses for the new
engines are properly defined.

Additional patch might be need later, in case the specification will
propose different MOCS config values for Icelake than in previous
gens.

v2: Restricted comments to gen11, updated description, renamed
defines.

v3: Used proper engine indexes for gen11.

v4: Ensure patch is Icelake only.

v5: Style fixes (proposed by mwajdeczko)

v6 (from Paulo): fix checkpatch's COMMIT_LOG_LONG_LINE (Checkpatch).

BSpec: 19405
BSpec: 21140
Cc: Oscar Mateo Lozano <oscar.mateo@intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Reviewed-by: Michel Thierry <michel.thierry@intel.com>
Signed-off-by: Tomasz Lis <tomasz.lis@intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180502223142.3891-1-paulo.r.zanoni@intel.com
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_mocs.c