]> 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)
commitb6a54b133b9cd051866d5cb70f23c4ba2d8b538b
tree2b1436973c612a4062e46ab082975aabc27d85d3
parent16bc06166f5a6505a4d3ba6018a7f6263b60af05
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: b3392e0a6873 ("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