[PATCH i-g-t 0/2] tests/intel/xe_mmap: Acquire rpm ref for all pci-membarrier tests
Kolanupaka Naveena
kolanupaka.naveena at intel.com
Fri May 16 13:58:17 UTC 2025
During the test, the device is entering into runtime suspend, which is
leading the device to d3hot or d3cold mode. Hence the read is giving
a special value 0xffffffff.
To avoid this issue acquired an rpm ref to keep the device awake
during the access.
Kolanupaka Naveena (2):
tests/intel/xe_mmap: Acquire rpm reference for pci-membarrier tests
tests/intel/xe_mmap: Use appropriate drm APIs
tests/intel/xe_mmap.c | 20 +++++++++++++++++---
1 file changed, 17 insertions(+), 3 deletions(-)
--
2.34.1
More information about the igt-dev
mailing list