linux/drivers/gpu/drm/xe/tests
Tejas Upadhyay 70a2585e58 drm/xe/tests/mocs: Hold XE_FORCEWAKE_ALL for LNCF regs
LNCF registers report wrong values when XE_FORCEWAKE_GT
only is held. Holding XE_FORCEWAKE_ALL ensures correct
operations on LNCF regs.

V2(Himal):
 - Use xe_force_wake_ref_has_domain

Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/1999
Fixes: a6a4ea6d7d ("drm/xe: Add mocs kunit")
Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250428082357.1730068-1-tejas.upadhyay@intel.com
Signed-off-by: Tejas Upadhyay <tejas.upadhyay@intel.com>
2025-04-29 17:59:53 +05:30
..
Makefile drm/xe/kunit: Simplify xe_mocs live tests code layout 2024-07-12 10:49:51 +02:00
xe_args_test.c drm/xe: Rename few xe_args.h macros 2024-05-09 21:28:25 +02:00
xe_bo.c drm/xe: Drop force_alloc from xe_bo_evict in selftests 2025-04-27 19:39:06 -07:00
xe_dma_buf.c drm/xe: Drop force_alloc from xe_bo_evict in selftests 2025-04-27 19:39:06 -07:00
xe_gt_sriov_pf_service_test.c drm/xe/kunit: Add PF service tests 2024-04-24 15:10:46 +02:00
xe_guc_buf_kunit.c drm/xe/kunit: Add KUnit tests for GuC Buffer Cache 2025-01-19 00:12:07 +01: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_id_mgr_test.c drm/xe/kunit: Add basic tests for GuC context ID Manager 2024-03-27 20:19:27 +01: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/tests: Add helpers for use in live tests 2024-07-22 12:20:08 +02:00
xe_kunit_helpers.h drm/xe/tests: Add helpers for use in live tests 2024-07-22 12:20:08 +02:00
xe_live_test_mod.c drm/xe/tests: Move shrink test out of xe_bo 2024-12-19 13:51:46 +01:00
xe_lmtt_test.c drm/xe/kunit: Add test for LMTT operations 2023-12-21 11:45:27 -05:00
xe_migrate.c drm/xe: Drop force_alloc from xe_bo_evict in selftests 2025-04-27 19:39:06 -07:00
xe_mocs.c drm/xe/tests/mocs: Hold XE_FORCEWAKE_ALL for LNCF regs 2025-04-29 17:59:53 +05:30
xe_pci.c drm/xe: Convert pre-GMDID IPs to struct xe_ip 2025-03-05 12:17:00 -08:00
xe_pci_test.c drm/xe/kunit: Kill xe_cur_kunit() 2024-07-12 10:34:46 +02:00
xe_pci_test.h drm/xe/tests: remove unused leftover xe_call_for_each_device() 2024-08-13 12:11:32 +03:00
xe_rtp_test.c drm/xe/rtp: Drop sentinels from arg to xe_rtp_process_to_sr() 2025-03-12 20:54:17 -07:00
xe_test.h drm/xe/kunit: Drop XE_TEST_EXPORT 2024-07-12 10:34:49 +02:00
xe_test_mod.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
xe_wa_test.c drm/xe/kunit: Test WAs for BMG 2024-07-29 11:19:39 -07:00