drm/i915: Move all FBC w/as to .init_clock_gating()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 8 Jul 2020 13:12:20 +0000 (16:12 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 9 Jul 2020 13:32:12 +0000 (16:32 +0300)
commit885f182cd6ec94f69a6ff9aa08e6e56371adce72
tree03322e332fdf968cccc664b4f1bacb117b5aaa05
parent4a2236f9a74a37d1737d3ceff980b1945ded43be
drm/i915: Move all FBC w/as to .init_clock_gating()

Some platforms apply the FBC w/as in .init_clock_gating(), some
in fbc_activate(). Move them all to .init_clock_gating() for
consistentce. Also safer since we don't have to worry about the
RMWs clashing with any other runtime use of the same registers.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200708131223.9519-1-ville.syrjala@linux.intel.com
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
drivers/gpu/drm/i915/display/intel_fbc.c
drivers/gpu/drm/i915/intel_pm.c