drm/i915: Handle CCS CC planes separately from CCS AUX planes
authorImre Deak <imre.deak@intel.com>
Wed, 20 Oct 2021 19:51:35 +0000 (22:51 +0300)
committerImre Deak <imre.deak@intel.com>
Thu, 21 Oct 2021 18:44:36 +0000 (21:44 +0300)
commitdf63860da913e6afc0d725a87f99e930ee237451
treeb19b991b07cb650757f7471b4c0fdc24e9478cec
parentb0f1670d22ce1e192f29e931069297ff16156026
drm/i915: Handle CCS CC planes separately from CCS AUX planes

CCS CC planes are quite different from CCS AUX planes, even though we
regard the CC planes as a linear buffer having a 64 byte stride.  Thus
it's clearer to check for either CCS plane types explicitly when we need
to handle them; add the required CCS CC planes check here, while the
next patch will change all is_ccs_plane()/is_gen12_ccs_plane() checks to
consider only the CCS AUX planes.

Cc: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211020195138.1841242-9-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_fb.c