drm/i915/fbc: Allow FBC with CCS modifiers on SKL+
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 23 Jan 2024 09:02:44 +0000 (11:02 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 2 Feb 2024 21:56:52 +0000 (23:56 +0200)
commit35396cd3efa8b0311fbbb5a0cc48bd7d8b017b81
treeadd822cc19b86cdcb54c7ba6d6e8d165eb4969e5
parentc1ce62e4d6dd614c36ceb1b07e5b696a7825d1c7
drm/i915/fbc: Allow FBC with CCS modifiers on SKL+

Only display workarounds 0391 and 0475 call for disabling
FBC with render compression, and those are listed only for
pre-prod SKL steppings. So it should be safe to enable
FB+CCS on production hardware.

AFAIK CCS is limited to 50% bandwidth reduction (perhaps
clear color can do better?). FBC can exceed that number
by quite a bit, given the right kind of framebuffer
contents. So piling on both kinds of compressions could
still make sense.

Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/10125
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240123090244.30025-1-ville.syrjala@linux.intel.com
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/display/intel_fbc.c