summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkshata Jahagirdar <akshata.jahagirdar@intel.com>2024-07-17 21:10:08 +0000
committerMatt Roper <matthew.d.roper@intel.com>2024-07-17 17:02:32 -0700
commit3849c6ff3a1517e4c8a6d004d9cb31241c849713 (patch)
tree1c7f2d30567674b27bb4183c44a4bc1d87e10fac
parent8a92e2a67f627e69dd52aa9c2d3176be13aef2cc (diff)
drm/xe/xe2: Do not run xe_bo_test for xe2+ dgfx
In xe2+ dgfx, we don't need to handle the copying of ccs metadata during migration. This test validates the ccs data post clear and copy during evict/restore operation. Thus, we can skip this test on xe2+ dgfx. Signed-off-by: Akshata Jahagirdar <akshata.jahagirdar@intel.com> Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com> Signed-off-by: Matt Roper <matthew.d.roper@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/57d9df82ad02e53c9b0d2a7d40bb27acce57b927.1721250309.git.akshata.jahagirdar@intel.com
-rw-r--r--drivers/gpu/drm/xe/tests/xe_bo.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/xe/tests/xe_bo.c b/drivers/gpu/drm/xe/tests/xe_bo.c
index 692e1b46b9cf..e2e0ea24757a 100644
--- a/drivers/gpu/drm/xe/tests/xe_bo.c
+++ b/drivers/gpu/drm/xe/tests/xe_bo.c
@@ -162,6 +162,12 @@ static int ccs_test_run_device(struct xe_device *xe)
return 0;
}
+ /* For xe2+ dgfx, we don't handle ccs metadata */
+ if (GRAPHICS_VER(xe) >= 20 && IS_DGFX(xe)) {
+ kunit_info(test, "Skipping on xe2+ dgfx device.\n");
+ return 0;
+ }
+
xe_pm_runtime_get(xe);
for_each_tile(tile, xe, id) {