]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Disable runtime pm wakeref tracking for the mock device
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 4 Feb 2022 17:10:53 +0000 (19:10 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 11 Feb 2022 11:22:10 +0000 (13:22 +0200)
commit830478315b6f7aa63206611a54991c8ce4675267
treed3da8292836a14dd102d3a36fc65bb8be7f2c68b
parent7d22c12d84d2abd1b2b58b164e03cb14e1669cb7
drm/i915/selftests: Disable runtime pm wakeref tracking for the mock device

commit b5b37d434aba ("drm/i915: Enable rpm wakeref tracking
whether runtime pm is enabled or not") enabled wakeref tracking
even for the mock device. Turns out that has somewhat significant
overhead, and on the glacial Core m3's we have in CI the vma
selftests are now exceeding the allotted time budget.

So let's disable the wakeref tracking once again for the mock
device in order to avoid blowing up the selftest runtime.

Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Acked-by: Tomi Sarvela <tomi.p.sarvela@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220204171053.18409-1-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/intel_runtime_pm.c
drivers/gpu/drm/i915/intel_runtime_pm.h
drivers/gpu/drm/i915/selftests/mock_gem_device.c