drm/fourcc: Introduce format modifier for DG2 clear color
authorMika Kahola <mika.kahola@intel.com>
Mon, 11 Apr 2022 14:34:04 +0000 (17:34 +0300)
committerImre Deak <imre.deak@intel.com>
Tue, 12 Apr 2022 09:39:45 +0000 (12:39 +0300)
commit9035039e1ed691cd893777a42e048003a2f349d6
treedbb9c81b432a5cb417da085c374e5d274ba2c715
parent4c3afa72138c3c8c115cc2cc10619b82613e710a
drm/fourcc: Introduce format modifier for DG2 clear color

DG2 clear color render compression uses Tile4 layout. Therefore, we need
to define a new format modifier for uAPI to support clear color rendering.

v2:
  Display version is fixed. [Imre]
  KDoc is enhanced for cc modifier. [Nanley & Lionel]
v3:
  Split out the modifier addition to a separate patch.
  Clarify the modifier layout description.

Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Mika Kahola <mika.kahola@intel.com>
cc: Anshuman Gupta <anshuman.gupta@intel.com>
Signed-off-by: Juha-Pekka Heikkilä <juha-pekka.heikkila@intel.com>
Signed-off-by: Ramalingam C <ramalingam.c@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-4-imre.deak@intel.com
include/uapi/drm/drm_fourcc.h