Re: [Intel-gfx] [PATCH] drm/i915: Get PM ref before accessing HW register

2021-09-08 Thread Tvrtko Ursulin
On 08/09/2021 00:27, Vinay Belgaumkar wrote: Seeing these errors when GT is likely in suspend state- "RPM wakelock ref not held during HW access" Ensure GT is awake before trying to access HW registers. Avoid reading the register if that is not the case. Signed-off-by: Vinay Belgaumkar Fix

[PATCH] drm/i915: Get PM ref before accessing HW register

2021-09-07 Thread Vinay Belgaumkar
Seeing these errors when GT is likely in suspend state- "RPM wakelock ref not held during HW access" Ensure GT is awake before trying to access HW registers. Avoid reading the register if that is not the case. Signed-off-by: Vinay Belgaumkar --- drivers/gpu/drm/i915/gt/intel_rps.c | 8 +++-