Skip to content

Refactor and fix mocs live kunit

Lucas De Marchi intel-xe 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5drm/xe/mocs: Refactor mocs/l3cc loopdrivers/gpu/drm/xe/tests/xe_mocs.c drivers/gpu/drm/xe/xe_mocs.c+18 -181 reply
2/5drm/xe/mocs: Be explicit when logging number of entriesdrivers/gpu/drm/xe/xe_mocs.c+3 -22 replies
3/5drm/xe/mocs: Move warn/assertion updrivers/gpu/drm/xe/tests/xe_mocs.c drivers/gpu/drm/xe/xe_mocs.c+6 -31 reply
4/5drm/xe/mocs: Allow odd number of entries on testdrivers/gpu/drm/xe/tests/xe_mocs.c+37 -301 reply
5/5drm/xe/mocs: Fix DG2 kunitdrivers/gpu/drm/xe/xe_mocs.c+6 -21 reply

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchMatt Roper
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

Can be considered a v2 of https://lore.kernel.org/all/[email protected]/
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(-)
Signature · 1 line
2.43.0