]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/fbc: Move the "recompress on activate" to a central place
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 2 Jul 2021 20:45:58 +0000 (23:45 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 20 Aug 2021 13:49:30 +0000 (16:49 +0300)
commit1e66ed4a62230bd53d2ab7cba6b4292ce059e8d8
tree3efc24fdb7605f8b7f967e2382dddc7bd609e4e2
parent391077837cc7999cdec2966abe31f9ba311778e1
drm/i915/fbc: Move the "recompress on activate" to a central place

On ILK+ we current do a nuke right after activating FBC. If my
memory isn't playing tricks on me this is actially required if
FBC didn't stay disabled for a full frame. In that case the
deactivate+reactivate may not invalidate the cfb. I'd have to
double chekc to be sure though.

So let's keep the nuke, and just extend it backwards to cover
all the platforms by doing it a bit higher up.

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