Re: [Intel-gfx] [PATCH 1/2] drm/i915: Hold pc8 lock around toggling pc8.gpu_idle

2013-10-10 Thread Chris Wilson
On Thu, Oct 10, 2013 at 05:04:27PM -0300, Paulo Zanoni wrote: > 2013/10/10 Chris Wilson : > > We need to hold the pc8 lock around toggling the value of gpu_idle. > > > > Signed-off-by: Chris Wilson > > Cc: Paulo Zanoni > > Should we Cc:stable ? Perhaps. Maybe this is a race condition that resul

Re: [Intel-gfx] [PATCH 1/2] drm/i915: Hold pc8 lock around toggling pc8.gpu_idle

2013-10-10 Thread Paulo Zanoni
2013/10/10 Chris Wilson : > We need to hold the pc8 lock around toggling the value of gpu_idle. > > Signed-off-by: Chris Wilson > Cc: Paulo Zanoni Should we Cc:stable ? Reviewed-by: Paulo Zanoni I wonder if we need to rename hsw_enable_package_c8 and __hsw_enable_package_c8 since we're spread

[Intel-gfx] [PATCH 1/2] drm/i915: Hold pc8 lock around toggling pc8.gpu_idle

2013-10-10 Thread Chris Wilson
We need to hold the pc8 lock around toggling the value of gpu_idle. Signed-off-by: Chris Wilson Cc: Paulo Zanoni --- drivers/gpu/drm/i915/intel_display.c |8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/i