]> git.hungrycats.org Git - linux/commit
drm/xe/tests: Set non-GMDID graphics step in xe_pci_fake_device_init()
authorGustavo Sousa <gustavo.sousa@intel.com>
Tue, 9 Jun 2026 20:17:38 +0000 (17:17 -0300)
committerGustavo Sousa <gustavo.sousa@intel.com>
Thu, 2 Jul 2026 21:41:53 +0000 (18:41 -0300)
commit4a2cd8a48eaec34c30db1941a07204406b66db5e
tree2e8de71d7e8773836bb79fae5690848c95f38185
parentb53155bd0e789647ba179f86ff29edf84ce7880d
drm/xe/tests: Set non-GMDID graphics step in xe_pci_fake_device_init()

Currently the logic to set the graphics step for non-GMDID-based
platforms in kunit testing is defined in xe_wa_test_init().  That
logic should rather belong to the helper xe_pci_fake_device_init(), so
move it there.

Reviewed-by: Dnyaneshwar Bhadane <dnyaneshwar.bhadane@intel.com>
Reviewed-by: Violet Monti <violet.monti@intel.com>
Link: https://patch.msgid.link/20260609-xe-probe-info-v1-6-21e83e188e60@intel.com
Signed-off-by: Gustavo Sousa <gustavo.sousa@intel.com>
drivers/gpu/drm/xe/tests/xe_pci.c
drivers/gpu/drm/xe/tests/xe_wa_test.c