Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] drm/xe: Add kunit checks for dma_mask_size, va_bits and vm_max_level
@ 2025-10-16 17:49 Gustavo Sousa
  2025-10-16 17:49 ` [PATCH 1/2] drm/xe/tests/pci: Convert GT count check to general device check Gustavo Sousa
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Gustavo Sousa @ 2025-10-16 17:49 UTC (permalink / raw)
  To: intel-xe; +Cc: Matt Roper, Michal Wajdeczko, Lucas De Marchi, Gustavo Sousa

As part of [1], we ended up moving members va_bits and vm_max_level
(among others) back to struct xe_device_desc. Those two, as well as
dma_mask_size, are all expected to be non-zero. Let's add checks in our
kunit code to verify that.

[1] https://lore.kernel.org/all/20251013200944.2499947-25-matthew.d.roper@intel.com/T/

Signed-off-by: Gustavo Sousa <gustavo.sousa@intel.com>
---
Gustavo Sousa (2):
      drm/xe/tests/pci: Convert GT count check to general device check
      drm/xe/tests/pci: Check dma_mask_size, va_bits and vm_max_level

 drivers/gpu/drm/xe/tests/xe_pci_test.c | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)
---
base-commit: 57f3ac59d0e70a7138131c66aff11a098ff9214b
change-id: 20251016-xe-kunit-dma_mask_size-va_bits-vm_max_level-27c61d134984

Best regards,
--  
Gustavo Sousa <gustavo.sousa@intel.com>


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-10-20 23:16 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-16 17:49 [PATCH 0/2] drm/xe: Add kunit checks for dma_mask_size, va_bits and vm_max_level Gustavo Sousa
2025-10-16 17:49 ` [PATCH 1/2] drm/xe/tests/pci: Convert GT count check to general device check Gustavo Sousa
2025-10-16 18:55   ` Michal Wajdeczko
2025-10-20 23:11     ` Gustavo Sousa
2025-10-16 17:49 ` [PATCH 2/2] drm/xe/tests/pci: Check dma_mask_size, va_bits and vm_max_level Gustavo Sousa
2025-10-16 19:02   ` Michal Wajdeczko
2025-10-20 23:16     ` Gustavo Sousa
2025-10-16 17:57 ` ✓ CI.KUnit: success for drm/xe: Add kunit checks for " Patchwork
2025-10-16 18:38 ` ✓ Xe.CI.BAT: " Patchwork
2025-10-17 15:19 ` ✗ Xe.CI.Full: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox