drm/i915: Use down ei for manual Baytrail RPS calculations
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 18 Mar 2015 09:48:23 +0000 (09:48 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 20 Mar 2015 10:48:14 +0000 (11:48 +0100)
commit6f4b12f89c78fd0030aa51ead17eaf234108f60d
treecde9fd2950f08a7a9c164923797be738cb7ef1d0
parent43cf3bf084ba097463d67e756ff821505bdaa69d
drm/i915: Use down ei for manual Baytrail RPS calculations

Use both up/down manual ei calcuations for symmetry and greater
flexibility for reclocking, instead of faking the down interrupt based
on a fixed integer number of up interrupts.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Deepak S<deepak.s@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_pm.c