]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Initialize L3CC table in mocs init
authorSreedhar Telukuntla <sreedhar.telukuntla@intel.com>
Fri, 3 Sep 2021 09:21:53 +0000 (14:51 +0530)
committerRamalingam C <ramalingam.c@intel.com>
Fri, 3 Sep 2021 14:47:24 +0000 (20:17 +0530)
commit1f3c7c409a37855dfa75629d5e374523785db25e
tree60aa5e05f0ae0738fd1847e46430780e73cf3f56
parentb3392e0a6873ddd47294e9407a2f440b3473a965
drm/i915/gt: Initialize L3CC table in mocs init

Initialize the L3CC table as part of mocs initialization to program
LNCFCMOCSx registers so that the mocs settings are available for
selection for subsequent memory transactions in the driver load path.

We need to keep L3CC initialization in intel_mocs_init_engine() also
so that in execlists submission, these registers can be rewritten
during engine reset.

Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Sreedhar Telukuntla <sreedhar.telukuntla@intel.com>
Signed-off-by: Ayaz A Siddiqui <ayaz.siddiqui@intel.com>
Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210903092153.535736-6-ayaz.siddiqui@intel.com
drivers/gpu/drm/i915/gt/intel_mocs.c