]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit48f3024573bcf48f42346a4d63c3c25b6ea856a1
treee13f4d14ff4cc4be3a28d1361fc2e179b9a0ec66
parent810766a6df9906599dcb56be769e1098ab562b65
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 3c2b568e5c68
("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