drm/xe: skip Kunit tests requiring real hardware when running on UML
authorMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 20 Jan 2023 14:43:58 +0000 (15:43 +0100)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 19 Dec 2023 23:27:43 +0000 (18:27 -0500)
commita93bcc3acf1fdf55b1906e37744ebab9be884a5d
tree5570f12d2603556a8cee22c6ffcde15f9a8c03ce
parentb3ab1b918e59c84ddaf190f75ba93be6cdea1fcb
drm/xe: skip Kunit tests requiring real hardware when running on UML

Some tests are meant to run only on real hardware. Skip those,
if no device was found.

Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_pci.c