Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

authored by

Akshata Jahagirdar and committed by
Matt Roper
3849c6ff 8a92e2a6

+6
+6
drivers/gpu/drm/xe/tests/xe_bo.c
··· 162 162 return 0; 163 163 } 164 164 165 + /* For xe2+ dgfx, we don't handle ccs metadata */ 166 + if (GRAPHICS_VER(xe) >= 20 && IS_DGFX(xe)) { 167 + kunit_info(test, "Skipping on xe2+ dgfx device.\n"); 168 + return 0; 169 + } 170 + 165 171 xe_pm_runtime_get(xe); 166 172 167 173 for_each_tile(tile, xe, id) {