diff options
author | Lucas De Marchi <lucas.demarchi@intel.com> | 2023-12-05 05:39:52 -0800 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2023-12-21 11:45:23 -0500 |
commit | 5b2a63b40d5620ce453f2a509334ae6feb7b884e (patch) | |
tree | 221b4c364d5e5617a1cc5ca5e9405c3cc7580281 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 1da0e581983c6f212499d44573b23ae48c1a4d00 (diff) |
drm/xe/kunit: Move fake pci data to test-priv
Instead of passing as parameter to xe_pci_fake_device_init(), use
test->priv to pass parameters down the call stack. The main advantage is
that then the data is readily available on other functions by using
kunit_get_current_test().
This is a preparation to fix the initialization of fake devices when
they were supposed to be using GMD_ID.
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://lore.kernel.org/r/20231129232807.1499826-4-lucas.demarchi@intel.com
Link: https://lore.kernel.org/r/20231205133954.2089546-2-lucas.demarchi@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions