diff options
| author | Michal Wajdeczko <[email protected]> | 2023-12-18 20:06:25 +0100 |
|---|---|---|
| committer | Rodrigo Vivi <[email protected]> | 2023-12-21 16:31:30 -0500 |
| commit | 0b75475723b182400a4bfa5aaff9a969afdfdb76 (patch) | |
| tree | 3a99dde933352817eaaece268c0159ca6a24fa63 /tools/perf/scripts/python | |
| parent | 5095d13d758b4e602eb78771abf65ee5dc867645 (diff) | |
drm/xe/kunit: Restore test->priv when done with fake xe device
Current KUnit implementation does not reset test->priv in case of
parametrized tests and that may lead to wrongly treat our output
pointer to fake xe_device from first call as input pointer with
xe_pci_fake_data on subsequent calls. Restore test->priv to
original value to avoid invalid access.
Acked-by: Lucas De Marchi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michal Wajdeczko <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions