]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/i915/fbc: Reduce fbc1 compression interval to 1 second
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 29 Apr 2020 10:10:32 +0000 (13:10 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 30 Jun 2020 17:39:18 +0000 (20:39 +0300)
commit42ae1f88feacc8643bc56dcfa55e0722967e424f
treebfb9e389be9d34cab55327493e0e7a984a52faf8
parenta68ce21ba0c44f5504e1e5bb0e5151b239540dc5
drm/i915/fbc: Reduce fbc1 compression interval to 1 second

The default fbc1 compression interval we use is 500 frames. That
translates to over 8 seconds typically. That's rather excessive
so let's drop it to 1 second.

The hardware will not attempt recompression unless at least one
line has been modified, so a shorter compression interval should
not cause extra bandwidth use in the purely idle scenario. Of
course in the mostly idle case we are possibly going to recompress
a bit more.

Should really try to find some kind of sweet spot to minimize
the energy usage...

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