Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] drm/xe: Add kunit checks for dma_mask_size, va_bits and vm_max_level
@ 2025-10-20 23:45 Gustavo Sousa
  2025-10-20 23:45 ` [PATCH v2 1/2] drm/xe/tests/pci: Convert GT count check to general device check Gustavo Sousa
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: Gustavo Sousa @ 2025-10-20 23:45 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>
---
Changes in v2:
- Add tweaks suggested by Michal, please see individual patches for
  details.
- Link to v1: https://lore.kernel.org/r/20251016-xe-kunit-dma_mask_size-va_bits-vm_max_level-v1-0-d0886d97121d@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 | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)
---
base-commit: bee2d9e4308e4b888e2524014a246793233f75e8
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] 12+ messages in thread

end of thread, other threads:[~2025-10-22 13:32 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-20 23:45 [PATCH v2 0/2] drm/xe: Add kunit checks for dma_mask_size, va_bits and vm_max_level Gustavo Sousa
2025-10-20 23:45 ` [PATCH v2 1/2] drm/xe/tests/pci: Convert GT count check to general device check Gustavo Sousa
2025-10-20 23:57   ` Gustavo Sousa
2025-10-21  2:07     ` Lucas De Marchi
2025-10-22 13:31       ` Gustavo Sousa
2025-10-20 23:45 ` [PATCH v2 2/2] drm/xe/tests/pci: Check dma_mask_size, va_bits and vm_max_level Gustavo Sousa
2025-10-21  2:09   ` Lucas De Marchi
2025-10-21 12:52 ` ✓ CI.KUnit: success for drm/xe: Add kunit checks for dma_mask_size, va_bits and vm_max_level (rev2) Patchwork
2025-10-21 13:44 ` ✓ Xe.CI.BAT: " Patchwork
2025-10-21 14:58 ` ✗ Xe.CI.Full: failure " Patchwork
2025-10-22 12:42   ` Gustavo Sousa
2025-10-22 13:32 ` [PATCH v2 0/2] drm/xe: Add kunit checks for dma_mask_size, va_bits and vm_max_level Gustavo Sousa

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