[PATCH 0/5] Refactor and fix mocs live kunit

Lucas De Marchi lucas.demarchi at intel.com
Wed Feb 28 06:10:43 UTC 2024


Can be considered a v2 of https://lore.kernel.org/all/20240222204203.3007498-1-lucas.demarchi@intel.com/
although it has more things.

Do some refactors to improve readability, add support in the tests for
odd number of entries and in the end switch DG2 to ignore the last entry
since the bits in that register are read-only.

Lucas De Marchi (5):
  drm/xe/mocs: Refactor mocs/l3cc loop
  drm/xe/mocs: Be explicit when logging number of entries
  drm/xe/mocs: Move warn/assertion up
  drm/xe/mocs: Allow odd number of entries on test
  drm/xe/mocs: Fix DG2 kunit

 drivers/gpu/drm/xe/tests/xe_mocs.c | 75 +++++++++++++++++-------------
 drivers/gpu/drm/xe/xe_mocs.c       | 34 ++++++++------
 2 files changed, 62 insertions(+), 47 deletions(-)

-- 
2.43.0



More information about the Intel-xe mailing list