Re: [Intel-gfx] [PATCH 3/3] drm/i915: Wake device for emitting request during selftest

2017-04-12 Thread Joonas Lahtinen
On ke, 2017-04-12 at 00:44 +0100, Chris Wilson wrote: > igt_mmap_offset_exhaustion() selftest was using live requests to make an > object busy, but we did not hold a runtime pm wakeref for submitting the > requests. Acquire it to avoid triggering "RPM wakelock ref not held > during HW access" warni

[Intel-gfx] [PATCH 3/3] drm/i915: Wake device for emitting request during selftest

2017-04-11 Thread Chris Wilson
igt_mmap_offset_exhaustion() selftest was using live requests to make an object busy, but we did not hold a runtime pm wakeref for submitting the requests. Acquire it to avoid triggering "RPM wakelock ref not held during HW access" warnings. Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/s