drm/xe: Add mocs reset kunit
authorRuthuvikas Ravikumar <ruthuvikas.ravikumar@intel.com>
Fri, 22 Dec 2023 19:23:52 +0000 (00:53 +0530)
committerMatt Roper <matthew.d.roper@intel.com>
Fri, 5 Jan 2024 16:46:09 +0000 (08:46 -0800)
commit0d68d06553ee9ad6d4ffc000599765211cad4930
treecd44b0168c116073087327cd6cb35c7e2f5e82b2
parent26d4481ac23fe16bb7d64d2b43db250bcb65003e
drm/xe: Add mocs reset kunit

This kunit verifies the mocs registers content
with the KMD programmed values before and after
GT reset.

v2: Remove extra blank lines between the local variables
definitions (Matt Roper)

Cc: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Ruthuvikas Ravikumar <ruthuvikas.ravikumar@intel.com>
Signed-off-by: Janga Rahul Kumar <janga.rahul.kumar@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://lore.kernel.org/r/20231222192352.927101-1-janga.rahul.kumar@intel.com
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
drivers/gpu/drm/xe/tests/xe_mocs.c
drivers/gpu/drm/xe/tests/xe_mocs_test.c
drivers/gpu/drm/xe/tests/xe_mocs_test.h