]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: do not set MOCS control values on dgfx
authorLucas De Marchi <lucas.demarchi@intel.com>
Thu, 24 Oct 2019 19:51:21 +0000 (12:51 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Fri, 25 Oct 2019 20:55:49 +0000 (13:55 -0700)
commit33a754b71857698da343c8abf293e47adb46e11e
tree4157ccd38545c3878d6c7314849e775807077825
parentb183565be8d8e170d0203a282b93e7bfec77a47d
drm/i915: do not set MOCS control values on dgfx

On dgfx there's no LLC and eDRAM control table. Since now this
also means the device has global MOCS, just return early on the
initialization function.

L3 settings still apply and still need to be tweaked.

Bspec: 45101

Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191024195122.22877-3-lucas.demarchi@intel.com
drivers/gpu/drm/i915/gt/intel_mocs.c