drm/i915: Rework the FBC interval/stall stuff a bit
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 12 Dec 2013 15:27:40 +0000 (17:27 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 12 Dec 2013 21:58:42 +0000 (22:58 +0100)
commit993495ae992c91e98ade8fbe977c57bfd81910c1
tree8e0d931e3ecf6d667379df24c44d71659b5b50d4
parentfd70d52acc7abef6402e21e3e11950773af3d769
drm/i915: Rework the FBC interval/stall stuff a bit

Don't touch DPFC_RECOMP_CTL on FBC2, use RMW to update
the FBC_CONTROL on FBC1 to make it easier for people to
experiment with different numbers. Also fix the interval
mask for FBC1.

v2: Rebased

Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_pm.c