]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0c584610fcf674e3739e354ceb6995db41c4a866
tree03322e332fdf968cccc664b4f1bacb117b5aaa05
parentd1b3c63d710e651f965b3883fef7d9381afdf899
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