diff options
| author | Lucas De Marchi <lucas.demarchi@intel.com> | 2023-04-01 11:51:48 +0300 |
|---|---|---|
| committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2023-12-20 02:31:32 +0300 |
| commit | e460410023d95b0845aa99f2d9c0625b143ca593 (patch) | |
| tree | fba441e347d1ddae076115d7c823205bd7fe1a1a /scripts/objdiff | |
| parent | 60d5c6abc289cc5d561758e71fb2c392c1ec2161 (diff) | |
| download | linux-e460410023d95b0845aa99f2d9c0625b143ca593.tar.xz | |
drm/xe: Generalize fake device creation
Instead of requiring tests to initialize a fake device an keep it in
sync with xe_pci.c when it's platform-dependent, export a function from
xe_pci.c to be used and piggy back on the device info creation. For
simpler tests that don't need any specific platform and just need a fake
xe device to pass around, xe_pci_fake_device_init_any() can be used.
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://lore.kernel.org/r/20230401085151.1786204-5-lucas.demarchi@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
