[Intel-xe] [PATCH v2 0/7] Assorted MOCS updates

Matt Roper matthew.d.roper at intel.com
Thu Feb 23 18:57:33 UTC 2023


The Xe MOCS code is heavily modelled after the equivalent i915 code, but
there are a few items that are not appropriate for the Xe driver.
Philippe's patch to add the MTL-specific table is also included.

As a follow-up, I'd like to rework Xe's MOCS to just use the xe_reg_sr
framework.  But that's a bit more invasive, so I'll save that for a
future series.

v2:
 - Add a sanity check for uninitialized info->unused_entries_index
 - Tweak some commit messages
 - Don't overallocate GuC regset for platforms that don't need
   Wa_1607983814.
 - For platforms that do need Wa_1607983814, only add the LNCF MOCS
   registers to the render engine's save/restore list.
 - Drop HAS_RENDER_L3CC flag.

Cc: Lucas De Marchi <lucas.demarchi at intel.com>

Matt Roper (6):
  drm/xe/mocs: Drop unwanted TGL table
  drm/xe/mocs: Add missing RKL handling
  drm/xe/mocs: Drop xe_mocs_info_index
  drm/xe/mocs: Drop duplicate assignment of uc_index
  drm/xe/mocs: LNCF MOCS settings only need to be restored on pre-Xe_HP
  drm/xe/mocs: Drop HAS_RENDER_L3CC flag

Philippe Lecluse (1):
  drm/xe/mocs: add MTL mocs

 drivers/gpu/drm/xe/xe_execlist.c   |   2 +-
 drivers/gpu/drm/xe/xe_guc_ads.c    |  20 +++-
 drivers/gpu/drm/xe/xe_guc_submit.c |   1 -
 drivers/gpu/drm/xe/xe_mocs.c       | 178 +++++++++++++----------------
 drivers/gpu/drm/xe/xe_mocs.h       |   1 -
 5 files changed, 99 insertions(+), 103 deletions(-)

-- 
2.39.1



More information about the Intel-xe mailing list