drm/fourcc: Introduce format modifiers for DG2 render and media compression
authorMatt Roper <matthew.d.roper@intel.com>
Mon, 11 Apr 2022 14:34:02 +0000 (17:34 +0300)
committerImre Deak <imre.deak@intel.com>
Tue, 12 Apr 2022 09:39:43 +0000 (12:39 +0300)
commit764b2668cffafdfde47f51f22b0949315bd0b96a
tree1de0c0981f635891dacb6c71fcc058468afac221
parent5ab58d6996d7befd3273379100f45214d7f58790
drm/fourcc: Introduce format modifiers for DG2 render and media compression

The render/media engines on DG2 unify render compression and media
compression into a single format for the first time, using the Tile 4
layout for main surfaces. The compression algorithm is different from
any previous platform and the display engine must still be configured to
decompress either a render or media compressed surface; as such, we
need new RC and MC framebuffer modifiers to represent buffers in this
format.

v2: Clarify modifier layout description.

Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Acked-by: Nanley Chery <nanley.g.chery@intel.com>
Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Acked-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220411143405.1073845-2-imre.deak@intel.com
include/uapi/drm/drm_fourcc.h