[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
Wed May 21 12:09:13 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: Fix open/close calls
tests/intel/xe_mmap: Acquire rpm reference for pci-membarrier tests
tests/intel/xe_mmap.c | 73 +++++++++++++++++++++++++++----------------
1 file changed, 46 insertions(+), 27 deletions(-)
--
2.34.1
More information about the igt-dev
mailing list