Re: [Intel-gfx] [PATCH] drm/i915: Always catch incorrect usage of intel_runtime_pm_get

2018-02-12 Thread Chris Wilson
Quoting Tvrtko Ursulin (2018-02-12 09:01:20) > From: Tvrtko Ursulin > > Put an explicit might_sleep at the start of intel_runtime_pm_get so we > always catch incorrect usage, regardless of the code path taken in > pm_runtime_get_sync. > > Signed-off-by: Tvrtko Ursulin > --- > drivers/gpu/drm/i

[Intel-gfx] [PATCH] drm/i915: Always catch incorrect usage of intel_runtime_pm_get

2018-02-12 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Put an explicit might_sleep at the start of intel_runtime_pm_get so we always catch incorrect usage, regardless of the code path taken in pm_runtime_get_sync. Signed-off-by: Tvrtko Ursulin --- drivers/gpu/drm/i915/intel_runtime_pm.c | 6 ++ 1 file changed, 6 insertions