]> 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)
commit8d0c67ade2cf0f307a8690809a539174c3631afc
tree60aa5e05f0ae0738fd1847e46430780e73cf3f56
parent3fc55445bd1bc61e1eb0f76650fd2c18bba158dd
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