summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2023-04-01 11:51:48 +0300
committerRodrigo Vivi <rodrigo.vivi@intel.com>2023-12-20 02:31:32 +0300
commite460410023d95b0845aa99f2d9c0625b143ca593 (patch)
treefba441e347d1ddae076115d7c823205bd7fe1a1a /scripts
parent60d5c6abc289cc5d561758e71fb2c392c1ec2161 (diff)
downloadlinux-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')
0 files changed, 0 insertions, 0 deletions