]> 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)
commit4abe48c3dac2ee95764c8957645804bb9f78840b
tree3efc24fdb7605f8b7f967e2382dddc7bd609e4e2
parentf33414a885365a247863050b3a062986def48887
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