linux/drivers/gpu/drm/xe/tests
Tomita Moeko 5a276d341c Revert "drm/xe/tests/mocs: Update xe_force_wake_get() return handling"
This reverts commit 95a75ed2b0.

The reverted commit updated the handling of xe_force_wake_get to match
the new "return refcounted domain mask" semantics introduced in commit
a7ddcea1f5 ("drm/xe: Error handling in xe_force_wake_get()"). However,
that API change only exists in 6.13 and later.

In 6.12 stable kernel, xe_force_wake_get still returns a status code.
The update incorrectly treats the return value as a mask, causing the
return value of 0 to be misinterpreted as an error.

Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Cc: Nirmoy Das <nirmoy.das@intel.com>
Cc: Badal Nilawar <badal.nilawar@intel.com>
Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Tomita Moeko <tomitamoeko@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2025-08-01 09:48:47 +01:00
..
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: Remove redundant param from xe_bo_create_user 2024-08-19 09:38:16 +02:00
xe_dma_buf.c drm/xe: replace #include <drm/xe_drm.h> with <uapi/drm/xe_drm.h> 2024-08-28 15:17:54 -04: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_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/kunit: Simplify xe_mocs live tests code layout 2024-07-12 10:49:51 +02: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: fix the ERR_PTR() returned on failure to allocate tiny pt 2024-12-19 18:13:21 +01:00
xe_mocs.c Revert "drm/xe/tests/mocs: Update xe_force_wake_get() return handling" 2025-08-01 09:48:47 +01:00
xe_pci.c drm/xe/tests: remove unused leftover xe_call_for_each_device() 2024-08-13 12:11:32 +03: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: Migrate OOB WAs to OR rules 2024-07-29 11:19:40 -07:00
xe_test.h drm/xe/kunit: Drop XE_TEST_EXPORT 2024-07-12 10:34:49 +02:00
xe_test_mod.c drm/xe: Group normal kunit tests in a single module 2024-01-16 09:53:27 -08:00
xe_wa_test.c drm/xe/kunit: Test WAs for BMG 2024-07-29 11:19:39 -07:00