drm/i915: Nuke the magic FBC_CONTROL save/restore
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 8 Sep 2020 14:02:08 +0000 (17:02 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 14 Sep 2020 13:16:50 +0000 (16:16 +0300)
commite8fac46c783a444dd0d140bb84eae3247dfebb59
treee13f4d14ff4cc4be3a28d1361fc2e179b9a0ec66
parent0f7071c2d468b703dcc9e99cc403eb7dd4ec32ed
drm/i915: Nuke the magic FBC_CONTROL save/restore

The FBC_CONTROL save restore is there just to preserve the
compression interval setting. Since commit a68ce21ba0c4
("drm/i915/fbc: Store the fbc1 compression interval in the params")
we've been explicitly setting the interval to a specific
value, so the sace/restore is now entirely pointless.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200908140210.31048-2-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_suspend.c