drm/i915: Only flush fbc on sw when fbc is enabled.
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Fri, 5 Sep 2014 20:57:20 +0000 (16:57 -0400)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 19 Sep 2014 12:43:23 +0000 (14:43 +0200)
commit01d06e9f963ba6a83154ab81929b7f5e04bbe5dd
treee6ba889d48294c407ce4b83de68324f3dc88a7f2
parent24955f2412fa16e30bb678bad1450ebd9fb8e180
drm/i915: Only flush fbc on sw when fbc is enabled.

Avoid touching fbc register when fbc is disabled.

Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_pm.c