1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/xe/tests
Rodrigo Vivi f9116f658a
drm/xe: Add outer runtime_pm protection to xe_live_ktest@xe_dma_buf
Any kunit doing any memory access should get their own runtime_pm
outer references since they don't use the standard driver API
entries. In special this dma_buf from the same driver.

Found by pre-merge CI on adding WARN calls for unprotected
inner callers:

<6> [318.639739]     # xe_dma_buf_kunit: running xe_test_dmabuf_import_same_driver
<4> [318.639957] ------------[ cut here ]------------
<4> [318.639967] xe 0000:4d:00.0: Missing outer runtime PM protection
<4> [318.640049] WARNING: CPU: 117 PID: 3832 at drivers/gpu/drm/xe/xe_pm.c:533 xe_pm_runtime_get_noresume+0x48/0x60 [xe]

Cc: Matthew Auld <matthew.auld@intel.com>
Cc: Francois Dugast <francois.dugast@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240417203952.25503-10-rodrigo.vivi@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
2024-04-18 08:31:40 -04:00
..
Makefile drm/xe: Group live kunit tests 2024-03-13 12:18:39 -07:00
xe_bo.c drm/xe: Normalize bo flags macros 2024-04-02 10:33:57 -07:00
xe_bo_test.c drm/xe: Group live kunit tests 2024-03-13 12:18:39 -07:00
xe_bo_test.h drm/xe: Prefer single underscore for header guards 2023-12-19 18:29:21 -05:00
xe_dma_buf.c drm/xe: Add outer runtime_pm protection to xe_live_ktest@xe_dma_buf 2024-04-18 08:31:40 -04:00
xe_dma_buf_test.c drm/xe: Group live kunit tests 2024-03-13 12:18:39 -07:00
xe_dma_buf_test.h drm/xe: Prefer single underscore for header guards 2023-12-19 18:29:21 -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_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/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_live_test_mod.c drm/xe: Group live kunit tests 2024-03-13 12:18:39 -07:00
xe_lmtt_test.c drm/xe/kunit: Add test for LMTT operations 2023-12-21 11:45:27 -05:00
xe_migrate.c Merge drm/drm-next into drm-xe-next 2024-04-12 15:14:25 +02:00
xe_migrate_test.c drm/xe: Group live kunit tests 2024-03-13 12:18:39 -07:00
xe_migrate_test.h drm/xe: Prefer single underscore for header guards 2023-12-19 18:29:21 -05:00
xe_mocs.c drm/xe/mocs: Clarify which GT is being operated on 2024-03-14 15:46:17 -07:00
xe_mocs_test.c drm/xe: Group live kunit tests 2024-03-13 12:18:39 -07:00
xe_mocs_test.h drm/xe: Add mocs reset kunit 2024-01-05 08:46:09 -08:00
xe_pci.c drm/xe/kunit: Set SR-IOV mode of the fake device 2023-12-21 16:31:29 -05: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_rtp_test.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_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/xelpg: Extend some workarounds to graphics version 12.74 2024-03-05 16:38:56 -08:00