]> www.infradead.org Git - users/dwmw2/linux.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)
commitfb1e95bc2755dd29625c6ba7d553284112761f88
tree60aa5e05f0ae0738fd1847e46430780e73cf3f56
parentcfbe5291a1890b688e6f3accbe2b0e1cf3c601fb
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