Running the KUNIT tests with KASAN enabled hits a bunch of use-after-free errors. Also, the colorop tests were failing due to the pipeline having been extended. So, fix those up.
Note that the following tests are still failing for me. They are EXPECTATION failures though, rather than memory splats. So, the test run does at least complete now. dm_test_crtc_reset_state_replaces_existing dm_test_detect_hides_secondary_tile dm_test_fs_caps_dp_msa_not_allowed dm_test_update_plane_color_mgmt_colorop_shaper dm_test_update_plane_color_mgmt_colorop_3dlut dm_test_update_plane_color_mgmt_colorop_blend Signed-off-by: John Harrison <[email protected]> John Harrison (3): drm/amd/display: Fix some memory lifetime issues in KUnit tests drm/amd/display: Fix use-after-free in dm_test_hpd_rx_offload_work_msg_rdy drm/amd/display: Update colorop pipeline tests for new fixed matrix op .../amd/display/amdgpu_dm/tests/amdgpu_dm_colorop_test.c | 4 ++++ .../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c | 2 +- .../drm/amd/display/amdgpu_dm/tests/amdgpu_dm_irq_test.c | 8 +++++++- .../display/amdgpu_dm/tests/amdgpu_dm_mst_types_test.c | 2 +- .../drm/amd/display/amdgpu_dm/tests/amdgpu_dm_wb_test.c | 2 +- 5 files changed, 14 insertions(+), 4 deletions(-) -- 2.43.0
