Re: [Intel-gfx] [PATCH 1/2] drm/i915: Wait for the struct_mutex on idling

2019-04-30 Thread Tvrtko Ursulin
On 30/04/2019 10:44, Chris Wilson wrote: When the system is idling, contention for struct_mutex should be low and so we will be more efficient to wait for a contended mutex than reschedule. Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/i915_gem_pm.c | 8 +--- 1 file changed, 1

[Intel-gfx] [PATCH 1/2] drm/i915: Wait for the struct_mutex on idling

2019-04-30 Thread Chris Wilson
When the system is idling, contention for struct_mutex should be low and so we will be more efficient to wait for a contended mutex than reschedule. Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/i915_gem_pm.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git