summaryrefslogtreecommitdiff
path: root/lib/intel_batchbuffer.c
diff options
context:
space:
mode:
authorImre Deak <imre.deak@intel.com>2019-12-16 23:29:59 +0200
committerImre Deak <imre.deak@intel.com>2019-12-17 18:44:03 +0200
commit36431c5923099582e87379aec8e16d43090d06a7 (patch)
tree2c5b79c788d6d34458576e9d8af0395374f44b24 /lib/intel_batchbuffer.c
parent048f58513d8b8ec6bb307a939f0ac959bc0f0e10 (diff)
lib/igt_fb: Add support for the gen12 media compressed modifier
Media compressed framebuffers don't have a CCS CC plane. Add helpers to select the different types of CCS planes and make sure we setup the planes correctly for MC framebuffers too. Note that the order of MC framebuffer planes this change assumes is plane 0: Y plane plane 1: UV plane plane 2: CCS plane for plane 0 plane 3: CCS plane for plane 1 unlike the order defined in the latest decompression kernel patchset. The above order is the logical one that allows us to keep the existing way of handling the Y/UV planes. v2: - Fix is_ccs_plane() adding the missing is_ccs_modifier() check. v3: - Simplify is_ccs_plane(). (DK) Cc: Mika Kahola <mika.kahola@intel.com> Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Imre Deak <imre.deak@intel.com> Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Diffstat (limited to 'lib/intel_batchbuffer.c')
0 files changed, 0 insertions, 0 deletions