]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Add separate MOCS table for Gen12 devices other than TGL/RKL
authorAyaz A Siddiqui <ayaz.siddiqui@intel.com>
Tue, 7 Sep 2021 17:16:39 +0000 (22:46 +0530)
committerMatt Roper <matthew.d.roper@intel.com>
Wed, 8 Sep 2021 02:33:42 +0000 (19:33 -0700)
commit3f027d61663fc20622a9563ab1463fab17672289
tree2b1436973c612a4062e46ab082975aabc27d85d3
parentf5392e5f8ef300c5d8fb97fb441aad217e44f394
drm/i915/gt: Add separate MOCS table for Gen12 devices other than TGL/RKL

MOCS table of TGL/RKL has MOCS[1] set to L3_UC.
While for other gen12 devices we need to set MOCS[1] as L3_WB,
So adding a new MOCS table for other gen 12 devices eg. ADL.

Fixes: cfbe5291a189 ("drm/i915/gt: Initialize unused MOCS entries with device specific values")
Cc: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Ayaz A Siddiqui <ayaz.siddiqui@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
[mattrope: fix whitespace error]
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210907171639.1221287-1-ayaz.siddiqui@intel.com
drivers/gpu/drm/i915/gt/intel_mocs.c