]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/xe/kunit: Return number of iterated devices
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Wed, 15 Nov 2023 11:58:16 +0000 (12:58 +0100)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 21 Dec 2023 16:45:07 +0000 (11:45 -0500)
commit5bb83841a3b9cecc49ae1f02e85909b426a6facc
tree43dae3e3be0eacfc9503f8ac8ca47e6534ac6073
parentfcf98d68c00216b61b034f4d164e5c3074db636a
drm/xe/kunit: Return number of iterated devices

In xe_call_for_each_device() we are already counting number of
iterated devices. Lets make that available to the caller too.
We will use that functionality in upcoming patches.

Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://lore.kernel.org/r/20231115115816.1993-1-michal.wajdeczko@intel.com
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/tests/xe_pci.c