drm/xe: Move test infra out of xe_pci.[ch]
Move code out of xe_pci.[ch] into tests/*.[ch], like is done in other similar compilation units. Even if this is not part of "tests for xe_pci.c", they are functions exported and required by other tests. It's better not to clutter the module headers and sources with them. 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-3-lucas.demarchi@intel.com
parent
8c10863d
No related branches found
No related tags found
Showing
- drivers/gpu/drm/xe/tests/xe_bo.c 2 additions, 0 deletionsdrivers/gpu/drm/xe/tests/xe_bo.c
- drivers/gpu/drm/xe/tests/xe_dma_buf.c 1 addition, 0 deletionsdrivers/gpu/drm/xe/tests/xe_dma_buf.c
- drivers/gpu/drm/xe/tests/xe_migrate.c 1 addition, 0 deletionsdrivers/gpu/drm/xe/tests/xe_migrate.c
- drivers/gpu/drm/xe/tests/xe_pci.c 62 additions, 0 deletionsdrivers/gpu/drm/xe/tests/xe_pci.c
- drivers/gpu/drm/xe/tests/xe_pci_test.h 15 additions, 0 deletionsdrivers/gpu/drm/xe/tests/xe_pci_test.h
- drivers/gpu/drm/xe/xe_pci.c 1 addition, 51 deletionsdrivers/gpu/drm/xe/xe_pci.c
- drivers/gpu/drm/xe/xe_pci.h 0 additions, 9 deletionsdrivers/gpu/drm/xe/xe_pci.h
Loading
Please register or sign in to comment