linux/drivers/gpu/drm/xe/tests
Lucas De Marchi 17c20e3b50 drm/xe/mocs: Move warn/assertion up
The warn-once in __init_mocs_table() to make sure there's an index set
for unused entries is more a sanity check that should be done as the
first thing in that function. The kunit test replicates the same check,
so also move it up and turn it into a failure condition for the test.

Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240228061048.3661978-4-lucas.demarchi@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
2024-02-29 20:29:41 -08:00
..
Makefile drm/xe: Group normal kunit tests in a single module 2024-01-16 09:53:27 -08:00
xe_bo_test.c drm/xe: Fix modpost warning on kunit modules 2023-12-21 11:44:51 -05:00
xe_bo_test.h drm/xe: Prefer single underscore for header guards 2023-12-19 18:29:21 -05:00
xe_bo.c drm/xe: Convert kunit tests from mem_access to xe_pm_runtime 2024-02-26 09:06:34 -05:00
xe_dma_buf_test.c drm/xe: Fix modpost warning on kunit modules 2023-12-21 11:44:51 -05:00
xe_dma_buf_test.h drm/xe: Prefer single underscore for header guards 2023-12-19 18:29:21 -05:00
xe_dma_buf.c drm/xe/pmu: Remove PMU from Xe till uapi is finalized 2023-12-21 11:46:59 -05:00
xe_guc_db_mgr_test.c drm/xe/kunit: Add GuC Doorbells Manager tests 2023-12-21 16:31:30 -05:00
xe_guc_relay_test.c drm/xe/kunit: Add GuC Relay kunit tests 2024-01-05 16:25:54 +01:00
xe_kunit_helpers.c drm/xe/kunit: Restore test->priv when done with fake xe device 2023-12-21 16:31:30 -05:00
xe_kunit_helpers.h drm/xe/kunit: Define helper functions to allocate fake xe device 2023-12-21 16:31:30 -05:00
xe_lmtt_test.c drm/xe/kunit: Add test for LMTT operations 2023-12-21 11:45:27 -05:00
xe_migrate_test.c drm/xe: Fix modpost warning on kunit modules 2023-12-21 11:44:51 -05:00
xe_migrate_test.h drm/xe: Prefer single underscore for header guards 2023-12-19 18:29:21 -05:00
xe_migrate.c drm/xe: Convert kunit tests from mem_access to xe_pm_runtime 2024-02-26 09:06:34 -05:00
xe_mocs_test.c drm/xe: Fix modpost warning on xe_mocs kunit module 2024-02-20 14:07:29 -08:00
xe_mocs_test.h drm/xe: Add mocs reset kunit 2024-01-05 08:46:09 -08:00
xe_mocs.c drm/xe/mocs: Move warn/assertion up 2024-02-29 20:29:41 -08:00
xe_pci_test.c drm/xe: Group normal kunit tests in a single module 2024-01-16 09:53:27 -08:00
xe_pci_test.h drm/xe/kunit: Set SR-IOV mode of the fake device 2023-12-21 16:31:29 -05:00
xe_pci.c drm/xe/kunit: Set SR-IOV mode of the fake device 2023-12-21 16:31:29 -05:00
xe_rtp_test.c drm/xe: Group normal kunit tests in a single module 2024-01-16 09:53:27 -08:00
xe_test_mod.c drm/xe: Group normal kunit tests in a single module 2024-01-16 09:53:27 -08:00
xe_test.h drm/xe/tests: Test both CPU- and GPU page-table updates with the migrate test 2023-12-19 18:30:13 -05:00
xe_wa_test.c drm/xe: Remove PVC from xe_wa kunit tests 2024-01-23 21:04:04 -08:00