Skip to contentSkip to conversation

drm/i915/dg2: Tile 4 plane format support

PATCH In review Stanislav Lisovskiy 5 participants 13 messages Nov 22, 2021 – Nov 23, 2021

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/i915/dg2: Tile 4 plane format support

TileF(Tile4 in bspec) format is 4K tile organized into 64B subtiles with same basic shape as for legacy TileY which will be supported by Display13.

v2: - Fixed wrong case condition(Jani Nikula)
- Increased I915_FORMAT_MOD_F_TILED up to 12(Imre Deak)

v3: - s/I915_TILING_F/TILING_4/g
- s/I915_FORMAT_MOD_F_TILED/I915_FORMAT_MOD_4_TILED/g
- Removed unneeded fencing code

v4: - Rebased, fixed merge conflict with new table-oriented
format modifier checking(Stan)
- Replaced the rest of "Tile F" mentions to "Tile 4"(Stan)

v5: - Still had to remove some Tile F mentionings
- Moved has_4tile from adlp to DG2(Ramalingam C)
- Check specifically for DG2, but not the Display13(Imre)

v6: - Moved Tile4 assocating struct for modifier/display to
the beginning(Imre Deak)
- Removed unneeded case I915_FORMAT_MOD_4_TILED modifier checks(Imre Deak)
- Fixed I915_FORMAT_MOD_4_TILED to be 9 instead of 12 (Imre Deak)

v7: - Fixed display_ver to { 13, 13 }(Imre Deak)
- Removed redundant newline(Imre Deak)

---
 drivers/gpu/drm/i915/display/intel_display.c  |  1 +
 drivers/gpu/drm/i915/display/intel_fb.c       |  9 +++++++++
 drivers/gpu/drm/i915/display/intel_fbc.c      |  1 +
 .../drm/i915/display/intel_plane_initial.c    |  1 +
 .../drm/i915/display/skl_universal_plane.c    | 20 +++++++++++--------
 drivers/gpu/drm/i915/i915_drv.h               |  1 +
 drivers/gpu/drm/i915/i915_pci.c               |  1 +
 drivers/gpu/drm/i915/i915_reg.h               |  1 +
 drivers/gpu/drm/i915/intel_device_info.h      |  1 +
 drivers/gpu/drm/i915/intel_pm.c               |  1 +
 include/uapi/drm/drm_fourcc.h                 |  8 ++++++++
 11 files changed, 37 insertions(+), 8 deletions(-)
drivers/gpu/drm/i915/display/intel_display.c +1 -0
index f3c9208a30b1..7429965d3682 100644
@@ -7766,6 +7766,7 @@ static int intel_atomic_check_async(struct intel_atomic_state *state, struct int
 		case I915_FORMAT_MOD_X_TILED:
 		case I915_FORMAT_MOD_Y_TILED:
 		case I915_FORMAT_MOD_Yf_TILED:
+		case I915_FORMAT_MOD_4_TILED:
 			break;
 		default:
 			drm_dbg_kms(&i915->drm,
drivers/gpu/drm/i915/display/intel_fb.c +9 -0
index c4a743d0913f..b7f1ef62072c 100644
@@ -139,6 +139,9 @@ struct intel_modifier_desc {
 
 static const struct intel_modifier_desc intel_modifiers[] = {
 	{
+		.modifier = I915_FORMAT_MOD_4_TILED,
+		.display_ver = { 13, 13 },
+	}, {
 		.modifier = I915_FORMAT_MOD_Y_TILED_GEN12_MC_CCS,
 		.display_ver = { 12, 13 },
 		.plane_caps = INTEL_PLANE_CAP_TILING_Y | INTEL_PLANE_CAP_CCS_MC,
@@ -544,6 +547,12 @@ intel_tile_width_bytes(const struct drm_framebuffer *fb, int color_plane)
 			return 128;
 		else
 			return 512;
+	case I915_FORMAT_MOD_4_TILED:
+		/*
+		 * Each 4K tile consists of 64B(8*8) subtiles, with
+		 * same shape as Y Tile(i.e 4*16B OWords)
+		 */
+		return 128;
 	case I915_FORMAT_MOD_Y_TILED_CCS:
 		if (intel_fb_is_ccs_aux_plane(fb, color_plane))
 			return 128;
drivers/gpu/drm/i915/display/intel_fbc.c +1 -0
index d0c34bc3af6c..0ceabe40d8c9 100644
@@ -898,6 +898,7 @@ static bool tiling_is_valid(struct drm_i915_private *i915,
 	case I915_FORMAT_MOD_Y_TILED:
 	case I915_FORMAT_MOD_Yf_TILED:
 		return DISPLAY_VER(i915) >= 9;
+	case I915_FORMAT_MOD_4_TILED:
 	case I915_FORMAT_MOD_X_TILED:
 		return true;
 	default:
drivers/gpu/drm/i915/display/intel_plane_initial.c +1 -0
index dcd698a02da2..d80855ee9b96 100644
@@ -125,6 +125,7 @@ intel_alloc_initial_plane_obj(struct intel_crtc *crtc,
 	case DRM_FORMAT_MOD_LINEAR:
 	case I915_FORMAT_MOD_X_TILED:
 	case I915_FORMAT_MOD_Y_TILED:
+	case I915_FORMAT_MOD_4_TILED:
 		break;
 	default:
 		drm_dbg(&dev_priv->drm,
drivers/gpu/drm/i915/display/skl_universal_plane.c +12 -8
index 28890876bdeb..e5cda5bcbde4 100644
@@ -751,6 +751,8 @@ static u32 skl_plane_ctl_tiling(u64 fb_modifier)
 		return PLANE_CTL_TILED_X;
 	case I915_FORMAT_MOD_Y_TILED:
 		return PLANE_CTL_TILED_Y;
+	case I915_FORMAT_MOD_4_TILED:
+		return PLANE_CTL_TILED_4;
 	case I915_FORMAT_MOD_Y_TILED_CCS:
 	case I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS_CC:
 		return PLANE_CTL_TILED_Y | PLANE_CTL_RENDER_DECOMPRESSION_ENABLE;
@@ -1971,9 +1973,7 @@ static bool gen12_plane_format_mod_supported(struct drm_plane *_plane,
 	case DRM_FORMAT_Y216:
 	case DRM_FORMAT_XVYU12_16161616:
 	case DRM_FORMAT_XVYU16161616:
-		if (modifier == DRM_FORMAT_MOD_LINEAR ||
-		    modifier == I915_FORMAT_MOD_X_TILED ||
-		    modifier == I915_FORMAT_MOD_Y_TILED)
+		if (!intel_fb_is_ccs_modifier(modifier))
 			return true;
 		fallthrough;
 	default:
@@ -2299,11 +2299,15 @@ skl_get_initial_plane_config(struct intel_crtc *crtc,
 		else
 			fb->modifier = I915_FORMAT_MOD_Y_TILED;
 		break;
-	case PLANE_CTL_TILED_YF:
-		if (val & PLANE_CTL_RENDER_DECOMPRESSION_ENABLE)
-			fb->modifier = I915_FORMAT_MOD_Yf_TILED_CCS;
-		else
-			fb->modifier = I915_FORMAT_MOD_Yf_TILED;
+	case PLANE_CTL_TILED_YF: /* aka PLANE_CTL_TILED_4 on XE_LPD+ */
+		if (HAS_4TILE(dev_priv)) {
+			fb->modifier = I915_FORMAT_MOD_4_TILED;
+		} else {
+			if (val & PLANE_CTL_RENDER_DECOMPRESSION_ENABLE)
+				fb->modifier = I915_FORMAT_MOD_Yf_TILED_CCS;
+			else
+				fb->modifier = I915_FORMAT_MOD_Yf_TILED;
+		}
 		break;
 	default:
 		MISSING_CASE(tiling);
drivers/gpu/drm/i915/i915_drv.h +1 -0
index 1bfadd9127fc..3d90bd732e91 100644
@@ -1627,6 +1627,7 @@ IS_SUBPLATFORM(const struct drm_i915_private *i915,
 #define CMDPARSER_USES_GGTT(dev_priv) (GRAPHICS_VER(dev_priv) == 7)
 
 #define HAS_LLC(dev_priv)	(INTEL_INFO(dev_priv)->has_llc)
+#define HAS_4TILE(dev_priv)    (INTEL_INFO(dev_priv)->has_4tile)
 #define HAS_SNOOP(dev_priv)	(INTEL_INFO(dev_priv)->has_snoop)
 #define HAS_EDRAM(dev_priv)	((dev_priv)->edram_size_mb)
 #define HAS_SECURE_BATCHES(dev_priv) (GRAPHICS_VER(dev_priv) < 6)
drivers/gpu/drm/i915/i915_pci.c +1 -0
index f01cba4ec283..403d3a581ce7 100644
@@ -1044,6 +1044,7 @@ static const struct intel_device_info dg2_info = {
 	DGFX_FEATURES,
 	.graphics.rel = 55,
 	.media.rel = 55,
+	.has_4tile = 1,
 	PLATFORM(INTEL_DG2),
 	.platform_engine_mask =
 		BIT(RCS0) | BIT(BCS0) |
drivers/gpu/drm/i915/i915_reg.h +1 -0
index 3450818802c2..22d18a292430 100644
@@ -7284,6 +7284,7 @@ enum {
 #define   PLANE_CTL_TILED_X			(1 << 10)
 #define   PLANE_CTL_TILED_Y			(4 << 10)
 #define   PLANE_CTL_TILED_YF			(5 << 10)
+#define   PLANE_CTL_TILED_4			(5 << 10)
 #define   PLANE_CTL_ASYNC_FLIP			(1 << 9)
 #define   PLANE_CTL_FLIP_HORIZONTAL		(1 << 8)
 #define   PLANE_CTL_MEDIA_DECOMPRESSION_ENABLE	(1 << 4) /* TGL+ */
drivers/gpu/drm/i915/intel_device_info.h +1 -0
index 669f0d26c3c3..67177e18704a 100644
@@ -125,6 +125,7 @@ enum intel_ppgtt_type {
 	func(has_64bit_reloc); \
 	func(gpu_reset_clobbers_display); \
 	func(has_reset_engine); \
+	func(has_4tile); \
 	func(has_global_mocs); \
 	func(has_gt_uc); \
 	func(has_l3_dpf); \
drivers/gpu/drm/i915/intel_pm.c +1 -0
index 01fa3fac1b57..167704f0acf0 100644
@@ -5386,6 +5386,7 @@ skl_compute_wm_params(const struct intel_crtc_state *crtc_state,
 	}
 
 	wp->y_tiled = modifier == I915_FORMAT_MOD_Y_TILED ||
+		      modifier == I915_FORMAT_MOD_4_TILED ||
 		      modifier == I915_FORMAT_MOD_Yf_TILED ||
 		      modifier == I915_FORMAT_MOD_Y_TILED_CCS ||
 		      modifier == I915_FORMAT_MOD_Yf_TILED_CCS;
include/uapi/drm/drm_fourcc.h +8 -0
index 7f652c96845b..41184a94935d 100644
@@ -564,6 +564,14 @@ extern "C" {
  * pitch is required to be a multiple of 4 tile widths.
  */
 #define I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS_CC fourcc_mod_code(INTEL, 8)
+/*
+ * Intel F-tiling(aka Tile4) layout
+ *
+ * This is a tiled layout using 4Kb tiles in row-major layout.
+ * Within the tile pixels are laid out in 64 byte units / sub-tiles in OWORD
+ * (16 bytes) chunks column-major..
+ */
+#define I915_FORMAT_MOD_4_TILED         fourcc_mod_code(INTEL, 9)
 
 /*
  * Tiled, NV12MT, grouped in 64 (pixels) x 32 (lines) -sized macroblocks
Signature · 1 line
2.24.1.485.gad05a3d8e5
#1 lore raw

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/dg2: Tile 4 plane format support (rev5)

== Series Details ==

== Series Details ==

Series: drm/i915/dg2: Tile 4 plane format support (rev5)
URL : https://patchwork.freedesktop.org/series/95715/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
5aed8d5e5781 drm/i915/dg2: Tile 4 plane format support
-:28: WARNING:TYPO_SPELLING: 'assocating' may be misspelled - perhaps 'associating'?
#28: 
v6: - Moved Tile4 assocating struct for modifier/display to
                  ^^^^^^^^^^

total: 0 errors, 1 warnings, 0 checks, 129 lines checked

#3 lore raw
In reply to Stanislav Lisovskiy

Hi Stanislav,

Are there IGT tests for this modifier?

Quoted 68 lines · Stanislav Lisovskiy

TileF(Tile4 in bspec) format is 4K tile organized into 64B subtiles with same basic shape as for legacy TileY which will be supported by Display13.

v2: - Fixed wrong case condition(Jani Nikula)
- Increased I915_FORMAT_MOD_F_TILED up to 12(Imre Deak)

v3: - s/I915_TILING_F/TILING_4/g
- s/I915_FORMAT_MOD_F_TILED/I915_FORMAT_MOD_4_TILED/g
- Removed unneeded fencing code

v4: - Rebased, fixed merge conflict with new table-oriented
format modifier checking(Stan)
- Replaced the rest of "Tile F" mentions to "Tile 4"(Stan)

v5: - Still had to remove some Tile F mentionings
- Moved has_4tile from adlp to DG2(Ramalingam C)
- Check specifically for DG2, but not the Display13(Imre)

v6: - Moved Tile4 assocating struct for modifier/display to
the beginning(Imre Deak)
- Removed unneeded case I915_FORMAT_MOD_4_TILED modifier checks(Imre Deak)
- Fixed I915_FORMAT_MOD_4_TILED to be 9 instead of 12 (Imre Deak)

v7: - Fixed display_ver to { 13, 13 }(Imre Deak)
- Removed redundant newline(Imre Deak)

---
 drivers/gpu/drm/i915/display/intel_display.c  |  1 +
 drivers/gpu/drm/i915/display/intel_fb.c       |  9 +++++++++
 drivers/gpu/drm/i915/display/intel_fbc.c      |  1 +
 .../drm/i915/display/intel_plane_initial.c    |  1 +
 .../drm/i915/display/skl_universal_plane.c    | 20 +++++++++++--------
 drivers/gpu/drm/i915/i915_drv.h               |  1 +
 drivers/gpu/drm/i915/i915_pci.c               |  1 +
 drivers/gpu/drm/i915/i915_reg.h               |  1 +
 drivers/gpu/drm/i915/intel_device_info.h      |  1 +
 drivers/gpu/drm/i915/intel_pm.c               |  1 +
 include/uapi/drm/drm_fourcc.h                 |  8 ++++++++
 11 files changed, 37 insertions(+), 8 deletions(-)
drivers/gpu/drm/i915/display/intel_display.c +1 -0
index f3c9208a30b1..7429965d3682 100644
@@ -7766,6 +7766,7 @@ static int intel_atomic_check_async(struct intel_atomic_state *state, struct int
                case I915_FORMAT_MOD_X_TILED:
                case I915_FORMAT_MOD_Y_TILED:
                case I915_FORMAT_MOD_Yf_TILED:
+               case I915_FORMAT_MOD_4_TILED:
                        break;
                default:
                        drm_dbg_kms(&i915->drm,
drivers/gpu/drm/i915/display/intel_fb.c +0 -0
index c4a743d0913f..b7f1ef62072c 100644

drivers/gpu/drm/i915/display/intel_fb.c struct intel_modifier_desc { · line 143

Quoted 5 lines
drivers/gpu/drm/i915/display/intel_fb.c +2 -0
@@ -139,6 +139,9 @@ struct intel_modifier_desc {
 
 static const struct intel_modifier_desc intel_modifiers[] = {
        {
+               .modifier = I915_FORMAT_MOD_4_TILED,
+               .display_ver = { 13, 13 },

I see that every other modifier has the plane_cap field set. Why is it okay for it to be zero here?

Quoted 22 lines
drivers/gpu/drm/i915/display/intel_fb.c +7 -0
+       }, {
                .modifier = I915_FORMAT_MOD_Y_TILED_GEN12_MC_CCS,
                .display_ver = { 12, 13 },
                .plane_caps = INTEL_PLANE_CAP_TILING_Y | INTEL_PLANE_CAP_CCS_MC,
@@ -544,6 +547,12 @@ intel_tile_width_bytes(const struct drm_framebuffer *fb, int color_plane)
                        return 128;
                else
                        return 512;
+       case I915_FORMAT_MOD_4_TILED:
+               /*
+                * Each 4K tile consists of 64B(8*8) subtiles, with
+                * same shape as Y Tile(i.e 4*16B OWords)
+                */
+               return 128;
        case I915_FORMAT_MOD_Y_TILED_CCS:
                if (intel_fb_is_ccs_aux_plane(fb, color_plane))
                        return 128;
drivers/gpu/drm/i915/display/intel_fbc.c +0 -0
index d0c34bc3af6c..0ceabe40d8c9 100644

drivers/gpu/drm/i915/display/intel_fbc.c static bool tiling_is_valid(struct drm_i915_private *i915, · line 901

Quoted 4 lines
drivers/gpu/drm/i915/display/intel_fbc.c +1 -0
@@ -898,6 +898,7 @@ static bool tiling_is_valid(struct drm_i915_private *i915,
        case I915_FORMAT_MOD_Y_TILED:
        case I915_FORMAT_MOD_Yf_TILED:
                return DISPLAY_VER(i915) >= 9;
+       case I915_FORMAT_MOD_4_TILED:

The tile Y cases above check the display version. Should we do the same here?

Quoted 40 lines
drivers/gpu/drm/i915/display/intel_fbc.c +0 -0
        case I915_FORMAT_MOD_X_TILED:
                return true;
        default:
drivers/gpu/drm/i915/display/intel_plane_initial.c +1 -0
index dcd698a02da2..d80855ee9b96 100644
@@ -125,6 +125,7 @@ intel_alloc_initial_plane_obj(struct intel_crtc *crtc,
        case DRM_FORMAT_MOD_LINEAR:
        case I915_FORMAT_MOD_X_TILED:
        case I915_FORMAT_MOD_Y_TILED:
+       case I915_FORMAT_MOD_4_TILED:
                break;
        default:
                drm_dbg(&dev_priv->drm,
drivers/gpu/drm/i915/display/skl_universal_plane.c +3 -3
index 28890876bdeb..e5cda5bcbde4 100644
@@ -751,6 +751,8 @@ static u32 skl_plane_ctl_tiling(u64 fb_modifier)
                return PLANE_CTL_TILED_X;
        case I915_FORMAT_MOD_Y_TILED:
                return PLANE_CTL_TILED_Y;
+       case I915_FORMAT_MOD_4_TILED:
+               return PLANE_CTL_TILED_4;
        case I915_FORMAT_MOD_Y_TILED_CCS:
        case I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS_CC:
                return PLANE_CTL_TILED_Y | PLANE_CTL_RENDER_DECOMPRESSION_ENABLE;
@@ -1971,9 +1973,7 @@ static bool gen12_plane_format_mod_supported(struct drm_plane *_plane,
        case DRM_FORMAT_Y216:
        case DRM_FORMAT_XVYU12_16161616:
        case DRM_FORMAT_XVYU16161616:
-               if (modifier == DRM_FORMAT_MOD_LINEAR ||
-                   modifier == I915_FORMAT_MOD_X_TILED ||
-                   modifier == I915_FORMAT_MOD_Y_TILED)
+               if (!intel_fb_is_ccs_modifier(modifier))
                        return true;
                fallthrough;
        default:

drivers/gpu/drm/i915/display/skl_universal_plane.c skl_get_initial_plane_config(struct intel_crtc *crtc, · line 2302

Quoted 9 lines
drivers/gpu/drm/i915/display/skl_universal_plane.c +1 -5
@@ -2299,11 +2299,15 @@ skl_get_initial_plane_config(struct intel_crtc *crtc,
                else
                        fb->modifier = I915_FORMAT_MOD_Y_TILED;
                break;
-       case PLANE_CTL_TILED_YF:
-               if (val & PLANE_CTL_RENDER_DECOMPRESSION_ENABLE)
-                       fb->modifier = I915_FORMAT_MOD_Yf_TILED_CCS;
-               else
-                       fb->modifier = I915_FORMAT_MOD_Yf_TILED;
+       case PLANE_CTL_TILED_YF: /* aka PLANE_CTL_TILED_4 on XE_LPD+ */

To be safe, maybe add a static_assert(PLANE_CTL_TILED_YF == PLANE_CTL_TILED_4); ?

Quoted 76 lines
drivers/gpu/drm/i915/display/skl_universal_plane.c +8 -0
+               if (HAS_4TILE(dev_priv)) {
+                       fb->modifier = I915_FORMAT_MOD_4_TILED;
+               } else {
+                       if (val & PLANE_CTL_RENDER_DECOMPRESSION_ENABLE)
+                               fb->modifier = I915_FORMAT_MOD_Yf_TILED_CCS;
+                       else
+                               fb->modifier = I915_FORMAT_MOD_Yf_TILED;
+               }
                break;
        default:
                MISSING_CASE(tiling);
drivers/gpu/drm/i915/i915_drv.h +1 -0
index 1bfadd9127fc..3d90bd732e91 100644
@@ -1627,6 +1627,7 @@ IS_SUBPLATFORM(const struct drm_i915_private *i915,
 #define CMDPARSER_USES_GGTT(dev_priv) (GRAPHICS_VER(dev_priv) == 7)
 
 #define HAS_LLC(dev_priv)      (INTEL_INFO(dev_priv)->has_llc)
+#define HAS_4TILE(dev_priv)    (INTEL_INFO(dev_priv)->has_4tile)
 #define HAS_SNOOP(dev_priv)    (INTEL_INFO(dev_priv)->has_snoop)
 #define HAS_EDRAM(dev_priv)    ((dev_priv)->edram_size_mb)
 #define HAS_SECURE_BATCHES(dev_priv) (GRAPHICS_VER(dev_priv) < 6)
drivers/gpu/drm/i915/i915_pci.c +1 -0
index f01cba4ec283..403d3a581ce7 100644
@@ -1044,6 +1044,7 @@ static const struct intel_device_info dg2_info = {
        DGFX_FEATURES,
        .graphics.rel = 55,
        .media.rel = 55,
+       .has_4tile = 1,
        PLATFORM(INTEL_DG2),
        .platform_engine_mask =
                BIT(RCS0) | BIT(BCS0) |
drivers/gpu/drm/i915/i915_reg.h +1 -0
index 3450818802c2..22d18a292430 100644
@@ -7284,6 +7284,7 @@ enum {
 #define   PLANE_CTL_TILED_X                    (1 << 10)
 #define   PLANE_CTL_TILED_Y                    (4 << 10)
 #define   PLANE_CTL_TILED_YF                   (5 << 10)
+#define   PLANE_CTL_TILED_4                    (5 << 10)
 #define   PLANE_CTL_ASYNC_FLIP                 (1 << 9)
 #define   PLANE_CTL_FLIP_HORIZONTAL            (1 << 8)
 #define   PLANE_CTL_MEDIA_DECOMPRESSION_ENABLE (1 << 4) /* TGL+ */
drivers/gpu/drm/i915/intel_device_info.h +1 -0
index 669f0d26c3c3..67177e18704a 100644
@@ -125,6 +125,7 @@ enum intel_ppgtt_type {
        func(has_64bit_reloc); \
        func(gpu_reset_clobbers_display); \
        func(has_reset_engine); \
+       func(has_4tile); \
        func(has_global_mocs); \
        func(has_gt_uc); \
        func(has_l3_dpf); \
drivers/gpu/drm/i915/intel_pm.c +1 -0
index 01fa3fac1b57..167704f0acf0 100644
@@ -5386,6 +5386,7 @@ skl_compute_wm_params(const struct intel_crtc_state *crtc_state,
        }
 
        wp->y_tiled = modifier == I915_FORMAT_MOD_Y_TILED ||
+                     modifier == I915_FORMAT_MOD_4_TILED ||
                      modifier == I915_FORMAT_MOD_Yf_TILED ||
                      modifier == I915_FORMAT_MOD_Y_TILED_CCS ||
                      modifier == I915_FORMAT_MOD_Yf_TILED_CCS;
include/uapi/drm/drm_fourcc.h +0 -0
index 7f652c96845b..41184a94935d 100644

include/uapi/drm/drm_fourcc.h extern "C" { · line 569

Quoted 6 lines
include/uapi/drm/drm_fourcc.h +3 -0
@@ -564,6 +564,14 @@ extern "C" {
  * pitch is required to be a multiple of 4 tile widths.
  */
 #define I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS_CC fourcc_mod_code(INTEL, 8)
+/*
+ * Intel F-tiling(aka Tile4) layout
+ *

v4 and v5 attempted to get rid of the F-tile references, but this was left behind.

include/uapi/drm/drm_fourcc.h extern "C" { · line 572

Quoted 3 lines
include/uapi/drm/drm_fourcc.h +3 -0
+ * This is a tiled layout using 4Kb tiles in row-major layout.
+ * Within the tile pixels are laid out in 64 byte units / sub-tiles in OWORD
+ * (16 bytes) chunks column-major..

I can't picture how tile 4 is organized from this description. Could we update it?
Here's a draft I came up with when wondering how I might do this myself:

* This is a tiled layout using 4KB tiles in a row-major layout. It has the same
* shape as Tile Y at two granularities: 4KB (128B x 32) and 64B (16B x 4). It
* only differs from Tile Y at the 256B granularity in between. At this
* granularity, Tile Y has a shape of 16B x 32 rows, but this tiling has a shape
* of 64B x 8 rows.

-Nanley

Quoted 8 lines
include/uapi/drm/drm_fourcc.h +2 -1
+ */
+#define I915_FORMAT_MOD_4_TILED         fourcc_mod_code(INTEL, 9)
 
 /*
  * Tiled, NV12MT, grouped in 64 (pixels) x 32 (lines) -sized macroblocks
--

2.24.1.485.gad05a3d8e5

#4 lore raw
Quoted 3 lines · Nanley Chery

Hi Stanislav,

Are there IGT tests for this modifier?

Hi Nanley

Yes, there should be plenty of those, not sure they are all sent to upstream though.
We have a separate team doing this.
That modifier should be added to kms_plane_multiple and many others

Stan

Quoted 272 lines
Quoted 68 lines · Stanislav Lisovskiy

TileF(Tile4 in bspec) format is 4K tile organized into 64B subtiles with same basic shape as for legacy TileY which will be supported by Display13.

v2: - Fixed wrong case condition(Jani Nikula)
- Increased I915_FORMAT_MOD_F_TILED up to 12(Imre Deak)

v3: - s/I915_TILING_F/TILING_4/g
- s/I915_FORMAT_MOD_F_TILED/I915_FORMAT_MOD_4_TILED/g
- Removed unneeded fencing code

v4: - Rebased, fixed merge conflict with new table-oriented
format modifier checking(Stan)
- Replaced the rest of "Tile F" mentions to "Tile 4"(Stan)

v5: - Still had to remove some Tile F mentionings
- Moved has_4tile from adlp to DG2(Ramalingam C)
- Check specifically for DG2, but not the Display13(Imre)

v6: - Moved Tile4 assocating struct for modifier/display to
the beginning(Imre Deak)
- Removed unneeded case I915_FORMAT_MOD_4_TILED modifier checks(Imre Deak)
- Fixed I915_FORMAT_MOD_4_TILED to be 9 instead of 12 (Imre Deak)

v7: - Fixed display_ver to { 13, 13 }(Imre Deak)
- Removed redundant newline(Imre Deak)

---
 drivers/gpu/drm/i915/display/intel_display.c  |  1 +
 drivers/gpu/drm/i915/display/intel_fb.c       |  9 +++++++++
 drivers/gpu/drm/i915/display/intel_fbc.c      |  1 +
 .../drm/i915/display/intel_plane_initial.c    |  1 +
 .../drm/i915/display/skl_universal_plane.c    | 20 +++++++++++--------
 drivers/gpu/drm/i915/i915_drv.h               |  1 +
 drivers/gpu/drm/i915/i915_pci.c               |  1 +
 drivers/gpu/drm/i915/i915_reg.h               |  1 +
 drivers/gpu/drm/i915/intel_device_info.h      |  1 +
 drivers/gpu/drm/i915/intel_pm.c               |  1 +
 include/uapi/drm/drm_fourcc.h                 |  8 ++++++++
 11 files changed, 37 insertions(+), 8 deletions(-)
drivers/gpu/drm/i915/display/intel_display.c +1 -0
index f3c9208a30b1..7429965d3682 100644
@@ -7766,6 +7766,7 @@ static int intel_atomic_check_async(struct intel_atomic_state *state, struct int
                case I915_FORMAT_MOD_X_TILED:
                case I915_FORMAT_MOD_Y_TILED:
                case I915_FORMAT_MOD_Yf_TILED:
+               case I915_FORMAT_MOD_4_TILED:
                        break;
                default:
                        drm_dbg_kms(&i915->drm,
drivers/gpu/drm/i915/display/intel_fb.c +0 -0
index c4a743d0913f..b7f1ef62072c 100644

drivers/gpu/drm/i915/display/intel_fb.c struct intel_modifier_desc { · line 143

Quoted 5 lines
drivers/gpu/drm/i915/display/intel_fb.c +2 -0
@@ -139,6 +139,9 @@ struct intel_modifier_desc {
 
 static const struct intel_modifier_desc intel_modifiers[] = {
        {
+               .modifier = I915_FORMAT_MOD_4_TILED,
+               .display_ver = { 13, 13 },

I see that every other modifier has the plane_cap field set. Why is it okay for it to be zero here?

Quoted 22 lines
drivers/gpu/drm/i915/display/intel_fb.c +7 -0
+       }, {
                .modifier = I915_FORMAT_MOD_Y_TILED_GEN12_MC_CCS,
                .display_ver = { 12, 13 },
                .plane_caps = INTEL_PLANE_CAP_TILING_Y | INTEL_PLANE_CAP_CCS_MC,
@@ -544,6 +547,12 @@ intel_tile_width_bytes(const struct drm_framebuffer *fb, int color_plane)
                        return 128;
                else
                        return 512;
+       case I915_FORMAT_MOD_4_TILED:
+               /*
+                * Each 4K tile consists of 64B(8*8) subtiles, with
+                * same shape as Y Tile(i.e 4*16B OWords)
+                */
+               return 128;
        case I915_FORMAT_MOD_Y_TILED_CCS:
                if (intel_fb_is_ccs_aux_plane(fb, color_plane))
                        return 128;
drivers/gpu/drm/i915/display/intel_fbc.c +0 -0
index d0c34bc3af6c..0ceabe40d8c9 100644

drivers/gpu/drm/i915/display/intel_fbc.c static bool tiling_is_valid(struct drm_i915_private *i915, · line 901

Quoted 4 lines
drivers/gpu/drm/i915/display/intel_fbc.c +1 -0
@@ -898,6 +898,7 @@ static bool tiling_is_valid(struct drm_i915_private *i915,
        case I915_FORMAT_MOD_Y_TILED:
        case I915_FORMAT_MOD_Yf_TILED:
                return DISPLAY_VER(i915) >= 9;
+       case I915_FORMAT_MOD_4_TILED:

The tile Y cases above check the display version. Should we do the same here?

Quoted 40 lines
drivers/gpu/drm/i915/display/intel_fbc.c +0 -0
        case I915_FORMAT_MOD_X_TILED:
                return true;
        default:
drivers/gpu/drm/i915/display/intel_plane_initial.c +1 -0
index dcd698a02da2..d80855ee9b96 100644
@@ -125,6 +125,7 @@ intel_alloc_initial_plane_obj(struct intel_crtc *crtc,
        case DRM_FORMAT_MOD_LINEAR:
        case I915_FORMAT_MOD_X_TILED:
        case I915_FORMAT_MOD_Y_TILED:
+       case I915_FORMAT_MOD_4_TILED:
                break;
        default:
                drm_dbg(&dev_priv->drm,
drivers/gpu/drm/i915/display/skl_universal_plane.c +3 -3
index 28890876bdeb..e5cda5bcbde4 100644
@@ -751,6 +751,8 @@ static u32 skl_plane_ctl_tiling(u64 fb_modifier)
                return PLANE_CTL_TILED_X;
        case I915_FORMAT_MOD_Y_TILED:
                return PLANE_CTL_TILED_Y;
+       case I915_FORMAT_MOD_4_TILED:
+               return PLANE_CTL_TILED_4;
        case I915_FORMAT_MOD_Y_TILED_CCS:
        case I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS_CC:
                return PLANE_CTL_TILED_Y | PLANE_CTL_RENDER_DECOMPRESSION_ENABLE;
@@ -1971,9 +1973,7 @@ static bool gen12_plane_format_mod_supported(struct drm_plane *_plane,
        case DRM_FORMAT_Y216:
        case DRM_FORMAT_XVYU12_16161616:
        case DRM_FORMAT_XVYU16161616:
-               if (modifier == DRM_FORMAT_MOD_LINEAR ||
-                   modifier == I915_FORMAT_MOD_X_TILED ||
-                   modifier == I915_FORMAT_MOD_Y_TILED)
+               if (!intel_fb_is_ccs_modifier(modifier))
                        return true;
                fallthrough;
        default:

drivers/gpu/drm/i915/display/skl_universal_plane.c skl_get_initial_plane_config(struct intel_crtc *crtc, · line 2302

Quoted 9 lines
drivers/gpu/drm/i915/display/skl_universal_plane.c +1 -5
@@ -2299,11 +2299,15 @@ skl_get_initial_plane_config(struct intel_crtc *crtc,
                else
                        fb->modifier = I915_FORMAT_MOD_Y_TILED;
                break;
-       case PLANE_CTL_TILED_YF:
-               if (val & PLANE_CTL_RENDER_DECOMPRESSION_ENABLE)
-                       fb->modifier = I915_FORMAT_MOD_Yf_TILED_CCS;
-               else
-                       fb->modifier = I915_FORMAT_MOD_Yf_TILED;
+       case PLANE_CTL_TILED_YF: /* aka PLANE_CTL_TILED_4 on XE_LPD+ */

To be safe, maybe add a static_assert(PLANE_CTL_TILED_YF == PLANE_CTL_TILED_4); ?

Quoted 76 lines
drivers/gpu/drm/i915/display/skl_universal_plane.c +8 -0
+               if (HAS_4TILE(dev_priv)) {
+                       fb->modifier = I915_FORMAT_MOD_4_TILED;
+               } else {
+                       if (val & PLANE_CTL_RENDER_DECOMPRESSION_ENABLE)
+                               fb->modifier = I915_FORMAT_MOD_Yf_TILED_CCS;
+                       else
+                               fb->modifier = I915_FORMAT_MOD_Yf_TILED;
+               }
                break;
        default:
                MISSING_CASE(tiling);
drivers/gpu/drm/i915/i915_drv.h +1 -0
index 1bfadd9127fc..3d90bd732e91 100644
@@ -1627,6 +1627,7 @@ IS_SUBPLATFORM(const struct drm_i915_private *i915,
 #define CMDPARSER_USES_GGTT(dev_priv) (GRAPHICS_VER(dev_priv) == 7)
 
 #define HAS_LLC(dev_priv)      (INTEL_INFO(dev_priv)->has_llc)
+#define HAS_4TILE(dev_priv)    (INTEL_INFO(dev_priv)->has_4tile)
 #define HAS_SNOOP(dev_priv)    (INTEL_INFO(dev_priv)->has_snoop)
 #define HAS_EDRAM(dev_priv)    ((dev_priv)->edram_size_mb)
 #define HAS_SECURE_BATCHES(dev_priv) (GRAPHICS_VER(dev_priv) < 6)
drivers/gpu/drm/i915/i915_pci.c +1 -0
index f01cba4ec283..403d3a581ce7 100644
@@ -1044,6 +1044,7 @@ static const struct intel_device_info dg2_info = {
        DGFX_FEATURES,
        .graphics.rel = 55,
        .media.rel = 55,
+       .has_4tile = 1,
        PLATFORM(INTEL_DG2),
        .platform_engine_mask =
                BIT(RCS0) | BIT(BCS0) |
drivers/gpu/drm/i915/i915_reg.h +1 -0
index 3450818802c2..22d18a292430 100644
@@ -7284,6 +7284,7 @@ enum {
 #define   PLANE_CTL_TILED_X                    (1 << 10)
 #define   PLANE_CTL_TILED_Y                    (4 << 10)
 #define   PLANE_CTL_TILED_YF                   (5 << 10)
+#define   PLANE_CTL_TILED_4                    (5 << 10)
 #define   PLANE_CTL_ASYNC_FLIP                 (1 << 9)
 #define   PLANE_CTL_FLIP_HORIZONTAL            (1 << 8)
 #define   PLANE_CTL_MEDIA_DECOMPRESSION_ENABLE (1 << 4) /* TGL+ */
drivers/gpu/drm/i915/intel_device_info.h +1 -0
index 669f0d26c3c3..67177e18704a 100644
@@ -125,6 +125,7 @@ enum intel_ppgtt_type {
        func(has_64bit_reloc); \
        func(gpu_reset_clobbers_display); \
        func(has_reset_engine); \
+       func(has_4tile); \
        func(has_global_mocs); \
        func(has_gt_uc); \
        func(has_l3_dpf); \
drivers/gpu/drm/i915/intel_pm.c +1 -0
index 01fa3fac1b57..167704f0acf0 100644
@@ -5386,6 +5386,7 @@ skl_compute_wm_params(const struct intel_crtc_state *crtc_state,
        }
 
        wp->y_tiled = modifier == I915_FORMAT_MOD_Y_TILED ||
+                     modifier == I915_FORMAT_MOD_4_TILED ||
                      modifier == I915_FORMAT_MOD_Yf_TILED ||
                      modifier == I915_FORMAT_MOD_Y_TILED_CCS ||
                      modifier == I915_FORMAT_MOD_Yf_TILED_CCS;
include/uapi/drm/drm_fourcc.h +0 -0
index 7f652c96845b..41184a94935d 100644

include/uapi/drm/drm_fourcc.h extern "C" { · line 569

Quoted 6 lines
include/uapi/drm/drm_fourcc.h +3 -0
@@ -564,6 +564,14 @@ extern "C" {
  * pitch is required to be a multiple of 4 tile widths.
  */
 #define I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS_CC fourcc_mod_code(INTEL, 8)
+/*
+ * Intel F-tiling(aka Tile4) layout
+ *

v4 and v5 attempted to get rid of the F-tile references, but this was left behind.

include/uapi/drm/drm_fourcc.h extern "C" { · line 572

Quoted 3 lines
include/uapi/drm/drm_fourcc.h +3 -0
+ * This is a tiled layout using 4Kb tiles in row-major layout.
+ * Within the tile pixels are laid out in 64 byte units / sub-tiles in OWORD
+ * (16 bytes) chunks column-major..

I can't picture how tile 4 is organized from this description. Could we update it?
Here's a draft I came up with when wondering how I might do this myself:

* This is a tiled layout using 4KB tiles in a row-major layout. It has the same
* shape as Tile Y at two granularities: 4KB (128B x 32) and 64B (16B x 4). It
* only differs from Tile Y at the 256B granularity in between. At this
* granularity, Tile Y has a shape of 16B x 32 rows, but this tiling has a shape
* of 64B x 8 rows.

-Nanley

Quoted 8 lines
include/uapi/drm/drm_fourcc.h +2 -1
+ */
+#define I915_FORMAT_MOD_4_TILED         fourcc_mod_code(INTEL, 9)
 
 /*
  * Tiled, NV12MT, grouped in 64 (pixels) x 32 (lines) -sized macroblocks
--

2.24.1.485.gad05a3d8e5

#5 lore raw
Quoted 15 lines

-----Original Message-----
From: Lisovskiy, Stanislav <[email protected]>
Sent: Tuesday, November 23, 2021 3:14 AM
To: Nanley Chery <[email protected]>
Cc: [email protected]; Chery, Nanley G <[email protected]>
Subject: Re: [Intel-gfx] [PATCH] drm/i915/dg2: Tile 4 plane format support

Quoted 3 lines · Nanley Chery

Hi Stanislav,

Are there IGT tests for this modifier?

Quoted 8 lines

Hi Nanley

Yes, there should be plenty of those, not sure they are all sent to upstream though.
We have a separate team doing this.
That modifier should be added to kms_plane_multiple and many others

Okay, I'll be on the lookout for them.

Quoted 2 lines

Stan

Looks like you missed the other review comments I left in my prior email.

-Nanley

Quoted 293 lines
Quoted 54 lines
Quoted 51 lines · Stanislav Lisovskiy

TileF(Tile4 in bspec) format is 4K tile organized into 64B subtiles with same basic shape as for legacy TileY which will be supported by Display13.

v2: - Fixed wrong case condition(Jani Nikula)
- Increased I915_FORMAT_MOD_F_TILED up to 12(Imre Deak)

v3: - s/I915_TILING_F/TILING_4/g
- s/I915_FORMAT_MOD_F_TILED/I915_FORMAT_MOD_4_TILED/g
- Removed unneeded fencing code

v4: - Rebased, fixed merge conflict with new table-oriented
format modifier checking(Stan)
- Replaced the rest of "Tile F" mentions to "Tile 4"(Stan)

v5: - Still had to remove some Tile F mentionings
- Moved has_4tile from adlp to DG2(Ramalingam C)
- Check specifically for DG2, but not the Display13(Imre)

v6: - Moved Tile4 assocating struct for modifier/display to
the beginning(Imre Deak)
- Removed unneeded case I915_FORMAT_MOD_4_TILED modifier checks(Imre Deak)
- Fixed I915_FORMAT_MOD_4_TILED to be 9 instead of 12 (Imre Deak)

v7: - Fixed display_ver to { 13, 13 }(Imre Deak)
- Removed redundant newline(Imre Deak)

---
 drivers/gpu/drm/i915/display/intel_display.c  |  1 +
 drivers/gpu/drm/i915/display/intel_fb.c       |  9 +++++++++
 drivers/gpu/drm/i915/display/intel_fbc.c      |  1 +
 .../drm/i915/display/intel_plane_initial.c    |  1 +
 .../drm/i915/display/skl_universal_plane.c    | 20 +++++++++++--------
 drivers/gpu/drm/i915/i915_drv.h               |  1 +
 drivers/gpu/drm/i915/i915_pci.c               |  1 +
 drivers/gpu/drm/i915/i915_reg.h               |  1 +
 drivers/gpu/drm/i915/intel_device_info.h      |  1 +
 drivers/gpu/drm/i915/intel_pm.c               |  1 +
 include/uapi/drm/drm_fourcc.h                 |  8 ++++++++
 11 files changed, 37 insertions(+), 8 deletions(-)
Quoted 1 line

Review

Quoted 1 line
(quoted diff) +0 -0

b/drivers/gpu/drm/i915/display/intel_display.c

Quoted 4 lines

drivers/gpu/drm/i915/display/intel_display.c static int intel_atomic_check_async(struct

Quoted 4 lines

index f3c9208a30b1..7429965d3682 100644

drivers/gpu/drm/i915/display/intel_display.c +0 -0
@@ -7766,6 +7766,7 @@ static int intel_atomic_check_async(struct

intel_atomic_state *state, struct int

Quoted 8 lines

Review

Quoted 8 lines
drivers/gpu/drm/i915/display/intel_display.c +1 -0
                case I915_FORMAT_MOD_X_TILED:
                case I915_FORMAT_MOD_Y_TILED:
                case I915_FORMAT_MOD_Yf_TILED:
+               case I915_FORMAT_MOD_4_TILED:
                        break;
                default:
                        drm_dbg_kms(&i915->drm,
(quoted diff) +0 -0

b/drivers/gpu/drm/i915/display/intel_fb.c

Quoted 5 lines
Quoted 5 lines

index c4a743d0913f..b7f1ef62072c 100644

drivers/gpu/drm/i915/display/intel_fb.c +0 -0
@@ -139,6 +139,9 @@ struct intel_modifier_desc {
 
Quoted 12 lines

drivers/gpu/drm/i915/display/intel_fb.c struct intel_modifier_desc { · line 143

Quoted 4 lines
drivers/gpu/drm/i915/display/intel_fb.c +2 -0
 static const struct intel_modifier_desc intel_modifiers[] = {
        {
+               .modifier = I915_FORMAT_MOD_4_TILED,
+               .display_ver = { 13, 13 },

I see that every other modifier has the plane_cap field set. Why is it okay for it to be zero here?

Quoted 4 lines
drivers/gpu/drm/i915/display/intel_fb.c +1 -0
+       }, {
                .modifier = I915_FORMAT_MOD_Y_TILED_GEN12_MC_CCS,
                .display_ver = { 12, 13 },
                .plane_caps = INTEL_PLANE_CAP_TILING_Y |

INTEL_PLANE_CAP_CCS_MC,

Quoted 1 line

drivers/gpu/drm/i915/display/intel_fb.c intel_tile_width_bytes(const struct

Quoted 1 line
drivers/gpu/drm/i915/display/intel_fb.c +0 -0
@@ -544,6 +547,12 @@ intel_tile_width_bytes(const struct

drm_framebuffer *fb, int color_plane)

Quoted 5 lines
Quoted 5 lines
drivers/gpu/drm/i915/display/intel_fb.c +2 -0
                        return 128;
                else
                        return 512;
+       case I915_FORMAT_MOD_4_TILED:
+               /*
Quoted 8 lines

Review

Quoted 8 lines
drivers/gpu/drm/i915/display/intel_fb.c +4 -0
+                * Each 4K tile consists of 64B(8*8) subtiles, with
+                * same shape as Y Tile(i.e 4*16B OWords)
+                */
+               return 128;
        case I915_FORMAT_MOD_Y_TILED_CCS:
                if (intel_fb_is_ccs_aux_plane(fb, color_plane))
                        return 128;
(quoted diff) +0 -0

b/drivers/gpu/drm/i915/display/intel_fbc.c

Quoted 4 lines

drivers/gpu/drm/i915/display/intel_fbc.c static bool tiling_is_valid(struct drm_i915_private

Quoted 4 lines

index d0c34bc3af6c..0ceabe40d8c9 100644

drivers/gpu/drm/i915/display/intel_fbc.c +0 -0
@@ -898,6 +898,7 @@ static bool tiling_is_valid(struct drm_i915_private

*i915,

Quoted 11 lines

drivers/gpu/drm/i915/display/intel_fbc.c static bool tiling_is_valid(struct drm_i915_private *i915, · line 901

Quoted 4 lines
drivers/gpu/drm/i915/display/intel_fbc.c +1 -0
        case I915_FORMAT_MOD_Y_TILED:
        case I915_FORMAT_MOD_Yf_TILED:
                return DISPLAY_VER(i915) >= 9;
+       case I915_FORMAT_MOD_4_TILED:

The tile Y cases above check the display version. Should we do the same here?

Review

Quoted 4 lines
drivers/gpu/drm/i915/display/intel_fbc.c +0 -0
        case I915_FORMAT_MOD_X_TILED:
                return true;
        default:
(quoted diff) +0 -0

b/drivers/gpu/drm/i915/display/intel_plane_initial.c

Quoted 4 lines
Quoted 4 lines

index dcd698a02da2..d80855ee9b96 100644

drivers/gpu/drm/i915/display/intel_plane_initial.c +0 -0
@@ -125,6 +125,7 @@ intel_alloc_initial_plane_obj(struct intel_crtc *crtc,
Quoted 8 lines

Review

Quoted 8 lines
drivers/gpu/drm/i915/display/intel_plane_initial.c +1 -0
        case DRM_FORMAT_MOD_LINEAR:
        case I915_FORMAT_MOD_X_TILED:
        case I915_FORMAT_MOD_Y_TILED:
+       case I915_FORMAT_MOD_4_TILED:
                break;
        default:
                drm_dbg(&dev_priv->drm,
(quoted diff) +0 -0

b/drivers/gpu/drm/i915/display/skl_universal_plane.c

Quoted 4 lines
Quoted 4 lines

index 28890876bdeb..e5cda5bcbde4 100644

drivers/gpu/drm/i915/display/skl_universal_plane.c +0 -0
@@ -751,6 +751,8 @@ static u32 skl_plane_ctl_tiling(u64 fb_modifier)
Quoted 8 lines

drivers/gpu/drm/i915/display/skl_universal_plane.c static u32 skl_plane_ctl_tiling(u64 fb_modifier)

Quoted 8 lines
drivers/gpu/drm/i915/display/skl_universal_plane.c +2 -0
                return PLANE_CTL_TILED_X;
        case I915_FORMAT_MOD_Y_TILED:
                return PLANE_CTL_TILED_Y;
+       case I915_FORMAT_MOD_4_TILED:
+               return PLANE_CTL_TILED_4;
        case I915_FORMAT_MOD_Y_TILED_CCS:
        case I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS_CC:
                return PLANE_CTL_TILED_Y |

PLANE_CTL_RENDER_DECOMPRESSION_ENABLE;

Quoted 1 line

drivers/gpu/drm/i915/display/skl_universal_plane.c static bool

Quoted 1 line
drivers/gpu/drm/i915/display/skl_universal_plane.c +0 -0
@@ -1971,9 +1973,7 @@ static bool

gen12_plane_format_mod_supported(struct drm_plane *_plane,

Quoted 11 lines

drivers/gpu/drm/i915/display/skl_universal_plane.c skl_get_initial_plane_config(struct intel_crtc

Quoted 11 lines
drivers/gpu/drm/i915/display/skl_universal_plane.c +1 -3
        case DRM_FORMAT_Y216:
        case DRM_FORMAT_XVYU12_16161616:
        case DRM_FORMAT_XVYU16161616:
-               if (modifier == DRM_FORMAT_MOD_LINEAR ||
-                   modifier == I915_FORMAT_MOD_X_TILED ||
-                   modifier == I915_FORMAT_MOD_Y_TILED)
+               if (!intel_fb_is_ccs_modifier(modifier))
                        return true;
                fallthrough;
        default:
@@ -2299,11 +2299,15 @@ skl_get_initial_plane_config(struct intel_crtc

*crtc,

Quoted 13 lines

drivers/gpu/drm/i915/display/skl_universal_plane.c skl_get_initial_plane_config(struct intel_crtc *crtc, · line 2302

Quoted 9 lines
drivers/gpu/drm/i915/display/skl_universal_plane.c +1 -5
                else
                        fb->modifier = I915_FORMAT_MOD_Y_TILED;
                break;
-       case PLANE_CTL_TILED_YF:
-               if (val & PLANE_CTL_RENDER_DECOMPRESSION_ENABLE)
-                       fb->modifier = I915_FORMAT_MOD_Yf_TILED_CCS;
-               else
-                       fb->modifier = I915_FORMAT_MOD_Yf_TILED;
+       case PLANE_CTL_TILED_YF: /* aka PLANE_CTL_TILED_4 on XE_LPD+ */

To be safe, maybe add a static_assert(PLANE_CTL_TILED_YF == PLANE_CTL_TILED_4); ?

Quoted 12 lines

Review

Quoted 12 lines
drivers/gpu/drm/i915/display/skl_universal_plane.c +8 -0
+               if (HAS_4TILE(dev_priv)) {
+                       fb->modifier = I915_FORMAT_MOD_4_TILED;
+               } else {
+                       if (val & PLANE_CTL_RENDER_DECOMPRESSION_ENABLE)
+                               fb->modifier = I915_FORMAT_MOD_Yf_TILED_CCS;
+                       else
+                               fb->modifier = I915_FORMAT_MOD_Yf_TILED;
+               }
                break;
        default:
                MISSING_CASE(tiling);
(quoted diff) +0 -0

b/drivers/gpu/drm/i915/i915_drv.h

Quoted 4 lines

drivers/gpu/drm/i915/i915_drv.h IS_SUBPLATFORM(const struct drm_i915_private

Quoted 4 lines

index 1bfadd9127fc..3d90bd732e91 100644

drivers/gpu/drm/i915/i915_drv.h +0 -0
@@ -1627,6 +1627,7 @@ IS_SUBPLATFORM(const struct drm_i915_private

*i915,

Quoted 8 lines

Review

Quoted 8 lines
drivers/gpu/drm/i915/i915_drv.h +1 -0
 #define CMDPARSER_USES_GGTT(dev_priv) (GRAPHICS_VER(dev_priv) == 7)
 
 #define HAS_LLC(dev_priv)      (INTEL_INFO(dev_priv)->has_llc)
+#define HAS_4TILE(dev_priv)    (INTEL_INFO(dev_priv)->has_4tile)
 #define HAS_SNOOP(dev_priv)    (INTEL_INFO(dev_priv)->has_snoop)
 #define HAS_EDRAM(dev_priv)    ((dev_priv)->edram_size_mb)
 #define HAS_SECURE_BATCHES(dev_priv) (GRAPHICS_VER(dev_priv) < 6)
(quoted diff) +0 -0

b/drivers/gpu/drm/i915/i915_pci.c

Quoted 4 lines
Quoted 4 lines

index f01cba4ec283..403d3a581ce7 100644

drivers/gpu/drm/i915/i915_pci.c +0 -0
@@ -1044,6 +1044,7 @@ static const struct intel_device_info dg2_info = {
Quoted 8 lines

Review

Quoted 8 lines
drivers/gpu/drm/i915/i915_pci.c +1 -0
        DGFX_FEATURES,
        .graphics.rel = 55,
        .media.rel = 55,
+       .has_4tile = 1,
        PLATFORM(INTEL_DG2),
        .platform_engine_mask =
                BIT(RCS0) | BIT(BCS0) |
(quoted diff) +0 -0

b/drivers/gpu/drm/i915/i915_reg.h

Quoted 4 lines
Quoted 4 lines

index 3450818802c2..22d18a292430 100644

drivers/gpu/drm/i915/i915_reg.h +0 -0
@@ -7284,6 +7284,7 @@ enum {
Quoted 8 lines

Review

Quoted 8 lines
drivers/gpu/drm/i915/i915_reg.h +1 -0
 #define   PLANE_CTL_TILED_X                    (1 << 10)
 #define   PLANE_CTL_TILED_Y                    (4 << 10)
 #define   PLANE_CTL_TILED_YF                   (5 << 10)
+#define   PLANE_CTL_TILED_4                    (5 << 10)
 #define   PLANE_CTL_ASYNC_FLIP                 (1 << 9)
 #define   PLANE_CTL_FLIP_HORIZONTAL            (1 << 8)
 #define   PLANE_CTL_MEDIA_DECOMPRESSION_ENABLE (1 << 4) /* TGL+ */
(quoted diff) +0 -0

b/drivers/gpu/drm/i915/intel_device_info.h

Quoted 4 lines
Quoted 4 lines

index 669f0d26c3c3..67177e18704a 100644

drivers/gpu/drm/i915/intel_device_info.h +0 -0
@@ -125,6 +125,7 @@ enum intel_ppgtt_type {
Quoted 8 lines

Review

Quoted 8 lines
drivers/gpu/drm/i915/intel_device_info.h +1 -0
        func(has_64bit_reloc); \
        func(gpu_reset_clobbers_display); \
        func(has_reset_engine); \
+       func(has_4tile); \
        func(has_global_mocs); \
        func(has_gt_uc); \
        func(has_l3_dpf); \
(quoted diff) +0 -0

b/drivers/gpu/drm/i915/intel_pm.c

Quoted 4 lines

drivers/gpu/drm/i915/intel_pm.c skl_compute_wm_params(const struct

Quoted 4 lines

index 01fa3fac1b57..167704f0acf0 100644

drivers/gpu/drm/i915/intel_pm.c +0 -0
@@ -5386,6 +5386,7 @@ skl_compute_wm_params(const struct

intel_crtc_state *crtc_state,

Quoted 8 lines

Review

Quoted 8 lines
drivers/gpu/drm/i915/intel_pm.c +1 -0
        }
 
        wp->y_tiled = modifier == I915_FORMAT_MOD_Y_TILED ||
+                     modifier == I915_FORMAT_MOD_4_TILED ||
                      modifier == I915_FORMAT_MOD_Yf_TILED ||
                      modifier == I915_FORMAT_MOD_Y_TILED_CCS ||
                      modifier == I915_FORMAT_MOD_Yf_TILED_CCS;
(quoted diff) +0 -0

b/include/uapi/drm/drm_fourcc.h

Quoted 7 lines

include/uapi/drm/drm_fourcc.h extern "C" { · line 566

Quoted 7 lines

index 7f652c96845b..41184a94935d 100644

include/uapi/drm/drm_fourcc.h +0 -0
@@ -564,6 +564,14 @@ extern "C" {
  * pitch is required to be a multiple of 4 tile widths.
  */
 #define I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS_CC

fourcc_mod_code(INTEL, 8)

Quoted 31 lines

include/uapi/drm/drm_fourcc.h extern "C" { · line 569

Quoted 3 lines
include/uapi/drm/drm_fourcc.h +3 -0
+/*
+ * Intel F-tiling(aka Tile4) layout
+ *

v4 and v5 attempted to get rid of the F-tile references, but this was left behind.

include/uapi/drm/drm_fourcc.h extern "C" { · line 572

Quoted 3 lines
include/uapi/drm/drm_fourcc.h +3 -0
+ * This is a tiled layout using 4Kb tiles in row-major layout.
+ * Within the tile pixels are laid out in 64 byte units / sub-tiles in OWORD
+ * (16 bytes) chunks column-major..

I can't picture how tile 4 is organized from this description. Could we update it?
Here's a draft I came up with when wondering how I might do this myself:

* This is a tiled layout using 4KB tiles in a row-major layout. It has the same
* shape as Tile Y at two granularities: 4KB (128B x 32) and 64B (16B x 4). It
* only differs from Tile Y at the 256B granularity in between. At this
* granularity, Tile Y has a shape of 16B x 32 rows, but this tiling has a shape
* of 64B x 8 rows.

-Nanley

Quoted 8 lines
include/uapi/drm/drm_fourcc.h +2 -1
+ */
+#define I915_FORMAT_MOD_4_TILED         fourcc_mod_code(INTEL, 9)
 
 /*
  * Tiled, NV12MT, grouped in 64 (pixels) x 32 (lines) -sized macroblocks
--

2.24.1.485.gad05a3d8e5

#6 lore raw
Quoted 24 lines · Nanley G
Quoted 15 lines

-----Original Message-----
From: Lisovskiy, Stanislav <[email protected]>
Sent: Tuesday, November 23, 2021 3:14 AM
To: Nanley Chery <[email protected]>
Cc: [email protected]; Chery, Nanley G <[email protected]>
Subject: Re: [Intel-gfx] [PATCH] drm/i915/dg2: Tile 4 plane format support

Quoted 3 lines · Nanley Chery

Hi Stanislav,

Are there IGT tests for this modifier?

Quoted 8 lines

Hi Nanley

Yes, there should be plenty of those, not sure they are all sent to upstream though.
We have a separate team doing this.
That modifier should be added to kms_plane_multiple and many others

Quoted 6 lines

Okay, I'll be on the lookout for them.

Quoted 2 lines

Stan

Looks like you missed the other review comments I left in my prior email.

Oh, sorry just saw those. I pushed this already, I will check those anyway and sent additional patch, if needed.

Stan

Quoted 296 lines

-Nanley

Quoted 293 lines
Quoted 54 lines
Quoted 51 lines · Stanislav Lisovskiy

TileF(Tile4 in bspec) format is 4K tile organized into 64B subtiles with same basic shape as for legacy TileY which will be supported by Display13.

v2: - Fixed wrong case condition(Jani Nikula)
- Increased I915_FORMAT_MOD_F_TILED up to 12(Imre Deak)

v3: - s/I915_TILING_F/TILING_4/g
- s/I915_FORMAT_MOD_F_TILED/I915_FORMAT_MOD_4_TILED/g
- Removed unneeded fencing code

v4: - Rebased, fixed merge conflict with new table-oriented
format modifier checking(Stan)
- Replaced the rest of "Tile F" mentions to "Tile 4"(Stan)

v5: - Still had to remove some Tile F mentionings
- Moved has_4tile from adlp to DG2(Ramalingam C)
- Check specifically for DG2, but not the Display13(Imre)

v6: - Moved Tile4 assocating struct for modifier/display to
the beginning(Imre Deak)
- Removed unneeded case I915_FORMAT_MOD_4_TILED modifier checks(Imre Deak)
- Fixed I915_FORMAT_MOD_4_TILED to be 9 instead of 12 (Imre Deak)

v7: - Fixed display_ver to { 13, 13 }(Imre Deak)
- Removed redundant newline(Imre Deak)

---
 drivers/gpu/drm/i915/display/intel_display.c  |  1 +
 drivers/gpu/drm/i915/display/intel_fb.c       |  9 +++++++++
 drivers/gpu/drm/i915/display/intel_fbc.c      |  1 +
 .../drm/i915/display/intel_plane_initial.c    |  1 +
 .../drm/i915/display/skl_universal_plane.c    | 20 +++++++++++--------
 drivers/gpu/drm/i915/i915_drv.h               |  1 +
 drivers/gpu/drm/i915/i915_pci.c               |  1 +
 drivers/gpu/drm/i915/i915_reg.h               |  1 +
 drivers/gpu/drm/i915/intel_device_info.h      |  1 +
 drivers/gpu/drm/i915/intel_pm.c               |  1 +
 include/uapi/drm/drm_fourcc.h                 |  8 ++++++++
 11 files changed, 37 insertions(+), 8 deletions(-)
Quoted 1 line

Review

Quoted 1 line
(quoted diff) +0 -0

b/drivers/gpu/drm/i915/display/intel_display.c

Quoted 4 lines

drivers/gpu/drm/i915/display/intel_display.c static int intel_atomic_check_async(struct

Quoted 4 lines

index f3c9208a30b1..7429965d3682 100644

drivers/gpu/drm/i915/display/intel_display.c +0 -0
@@ -7766,6 +7766,7 @@ static int intel_atomic_check_async(struct

intel_atomic_state *state, struct int

Quoted 8 lines

Review

Quoted 8 lines
drivers/gpu/drm/i915/display/intel_display.c +1 -0
                case I915_FORMAT_MOD_X_TILED:
                case I915_FORMAT_MOD_Y_TILED:
                case I915_FORMAT_MOD_Yf_TILED:
+               case I915_FORMAT_MOD_4_TILED:
                        break;
                default:
                        drm_dbg_kms(&i915->drm,
(quoted diff) +0 -0

b/drivers/gpu/drm/i915/display/intel_fb.c

Quoted 5 lines
Quoted 5 lines

index c4a743d0913f..b7f1ef62072c 100644

drivers/gpu/drm/i915/display/intel_fb.c +0 -0
@@ -139,6 +139,9 @@ struct intel_modifier_desc {
 
Quoted 12 lines

drivers/gpu/drm/i915/display/intel_fb.c struct intel_modifier_desc { · line 143

Quoted 4 lines
drivers/gpu/drm/i915/display/intel_fb.c +2 -0
 static const struct intel_modifier_desc intel_modifiers[] = {
        {
+               .modifier = I915_FORMAT_MOD_4_TILED,
+               .display_ver = { 13, 13 },

I see that every other modifier has the plane_cap field set. Why is it okay for it to be zero here?

Quoted 4 lines
drivers/gpu/drm/i915/display/intel_fb.c +1 -0
+       }, {
                .modifier = I915_FORMAT_MOD_Y_TILED_GEN12_MC_CCS,
                .display_ver = { 12, 13 },
                .plane_caps = INTEL_PLANE_CAP_TILING_Y |

INTEL_PLANE_CAP_CCS_MC,

Quoted 1 line

drivers/gpu/drm/i915/display/intel_fb.c intel_tile_width_bytes(const struct

Quoted 1 line
drivers/gpu/drm/i915/display/intel_fb.c +0 -0
@@ -544,6 +547,12 @@ intel_tile_width_bytes(const struct

drm_framebuffer *fb, int color_plane)

Quoted 5 lines
Quoted 5 lines
drivers/gpu/drm/i915/display/intel_fb.c +2 -0
                        return 128;
                else
                        return 512;
+       case I915_FORMAT_MOD_4_TILED:
+               /*
Quoted 8 lines

Review

Quoted 8 lines
drivers/gpu/drm/i915/display/intel_fb.c +4 -0
+                * Each 4K tile consists of 64B(8*8) subtiles, with
+                * same shape as Y Tile(i.e 4*16B OWords)
+                */
+               return 128;
        case I915_FORMAT_MOD_Y_TILED_CCS:
                if (intel_fb_is_ccs_aux_plane(fb, color_plane))
                        return 128;
(quoted diff) +0 -0

b/drivers/gpu/drm/i915/display/intel_fbc.c

Quoted 4 lines

drivers/gpu/drm/i915/display/intel_fbc.c static bool tiling_is_valid(struct drm_i915_private

Quoted 4 lines

index d0c34bc3af6c..0ceabe40d8c9 100644

drivers/gpu/drm/i915/display/intel_fbc.c +0 -0
@@ -898,6 +898,7 @@ static bool tiling_is_valid(struct drm_i915_private

*i915,

Quoted 11 lines

drivers/gpu/drm/i915/display/intel_fbc.c static bool tiling_is_valid(struct drm_i915_private *i915, · line 901

Quoted 4 lines
drivers/gpu/drm/i915/display/intel_fbc.c +1 -0
        case I915_FORMAT_MOD_Y_TILED:
        case I915_FORMAT_MOD_Yf_TILED:
                return DISPLAY_VER(i915) >= 9;
+       case I915_FORMAT_MOD_4_TILED:

The tile Y cases above check the display version. Should we do the same here?

Review

Quoted 4 lines
drivers/gpu/drm/i915/display/intel_fbc.c +0 -0
        case I915_FORMAT_MOD_X_TILED:
                return true;
        default:
(quoted diff) +0 -0

b/drivers/gpu/drm/i915/display/intel_plane_initial.c

Quoted 4 lines
Quoted 4 lines

index dcd698a02da2..d80855ee9b96 100644

drivers/gpu/drm/i915/display/intel_plane_initial.c +0 -0
@@ -125,6 +125,7 @@ intel_alloc_initial_plane_obj(struct intel_crtc *crtc,
Quoted 8 lines

Review

Quoted 8 lines
drivers/gpu/drm/i915/display/intel_plane_initial.c +1 -0
        case DRM_FORMAT_MOD_LINEAR:
        case I915_FORMAT_MOD_X_TILED:
        case I915_FORMAT_MOD_Y_TILED:
+       case I915_FORMAT_MOD_4_TILED:
                break;
        default:
                drm_dbg(&dev_priv->drm,
(quoted diff) +0 -0

b/drivers/gpu/drm/i915/display/skl_universal_plane.c

Quoted 4 lines
Quoted 4 lines

index 28890876bdeb..e5cda5bcbde4 100644

drivers/gpu/drm/i915/display/skl_universal_plane.c +0 -0
@@ -751,6 +751,8 @@ static u32 skl_plane_ctl_tiling(u64 fb_modifier)
Quoted 8 lines

drivers/gpu/drm/i915/display/skl_universal_plane.c static u32 skl_plane_ctl_tiling(u64 fb_modifier)

Quoted 8 lines
drivers/gpu/drm/i915/display/skl_universal_plane.c +2 -0
                return PLANE_CTL_TILED_X;
        case I915_FORMAT_MOD_Y_TILED:
                return PLANE_CTL_TILED_Y;
+       case I915_FORMAT_MOD_4_TILED:
+               return PLANE_CTL_TILED_4;
        case I915_FORMAT_MOD_Y_TILED_CCS:
        case I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS_CC:
                return PLANE_CTL_TILED_Y |

PLANE_CTL_RENDER_DECOMPRESSION_ENABLE;

Quoted 1 line

drivers/gpu/drm/i915/display/skl_universal_plane.c static bool

Quoted 1 line
drivers/gpu/drm/i915/display/skl_universal_plane.c +0 -0
@@ -1971,9 +1973,7 @@ static bool

gen12_plane_format_mod_supported(struct drm_plane *_plane,

Quoted 11 lines

drivers/gpu/drm/i915/display/skl_universal_plane.c skl_get_initial_plane_config(struct intel_crtc

Quoted 11 lines
drivers/gpu/drm/i915/display/skl_universal_plane.c +1 -3
        case DRM_FORMAT_Y216:
        case DRM_FORMAT_XVYU12_16161616:
        case DRM_FORMAT_XVYU16161616:
-               if (modifier == DRM_FORMAT_MOD_LINEAR ||
-                   modifier == I915_FORMAT_MOD_X_TILED ||
-                   modifier == I915_FORMAT_MOD_Y_TILED)
+               if (!intel_fb_is_ccs_modifier(modifier))
                        return true;
                fallthrough;
        default:
@@ -2299,11 +2299,15 @@ skl_get_initial_plane_config(struct intel_crtc

*crtc,

Quoted 13 lines

drivers/gpu/drm/i915/display/skl_universal_plane.c skl_get_initial_plane_config(struct intel_crtc *crtc, · line 2302

Quoted 9 lines
drivers/gpu/drm/i915/display/skl_universal_plane.c +1 -5
                else
                        fb->modifier = I915_FORMAT_MOD_Y_TILED;
                break;
-       case PLANE_CTL_TILED_YF:
-               if (val & PLANE_CTL_RENDER_DECOMPRESSION_ENABLE)
-                       fb->modifier = I915_FORMAT_MOD_Yf_TILED_CCS;
-               else
-                       fb->modifier = I915_FORMAT_MOD_Yf_TILED;
+       case PLANE_CTL_TILED_YF: /* aka PLANE_CTL_TILED_4 on XE_LPD+ */

To be safe, maybe add a static_assert(PLANE_CTL_TILED_YF == PLANE_CTL_TILED_4); ?

Quoted 12 lines

Review

Quoted 12 lines
drivers/gpu/drm/i915/display/skl_universal_plane.c +8 -0
+               if (HAS_4TILE(dev_priv)) {
+                       fb->modifier = I915_FORMAT_MOD_4_TILED;
+               } else {
+                       if (val & PLANE_CTL_RENDER_DECOMPRESSION_ENABLE)
+                               fb->modifier = I915_FORMAT_MOD_Yf_TILED_CCS;
+                       else
+                               fb->modifier = I915_FORMAT_MOD_Yf_TILED;
+               }
                break;
        default:
                MISSING_CASE(tiling);
(quoted diff) +0 -0

b/drivers/gpu/drm/i915/i915_drv.h

Quoted 4 lines

drivers/gpu/drm/i915/i915_drv.h IS_SUBPLATFORM(const struct drm_i915_private

Quoted 4 lines

index 1bfadd9127fc..3d90bd732e91 100644

drivers/gpu/drm/i915/i915_drv.h +0 -0
@@ -1627,6 +1627,7 @@ IS_SUBPLATFORM(const struct drm_i915_private

*i915,

Quoted 8 lines

Review

Quoted 8 lines
drivers/gpu/drm/i915/i915_drv.h +1 -0
 #define CMDPARSER_USES_GGTT(dev_priv) (GRAPHICS_VER(dev_priv) == 7)
 
 #define HAS_LLC(dev_priv)      (INTEL_INFO(dev_priv)->has_llc)
+#define HAS_4TILE(dev_priv)    (INTEL_INFO(dev_priv)->has_4tile)
 #define HAS_SNOOP(dev_priv)    (INTEL_INFO(dev_priv)->has_snoop)
 #define HAS_EDRAM(dev_priv)    ((dev_priv)->edram_size_mb)
 #define HAS_SECURE_BATCHES(dev_priv) (GRAPHICS_VER(dev_priv) < 6)
(quoted diff) +0 -0

b/drivers/gpu/drm/i915/i915_pci.c

Quoted 4 lines
Quoted 4 lines

index f01cba4ec283..403d3a581ce7 100644

drivers/gpu/drm/i915/i915_pci.c +0 -0
@@ -1044,6 +1044,7 @@ static const struct intel_device_info dg2_info = {
Quoted 8 lines

Review

Quoted 8 lines
drivers/gpu/drm/i915/i915_pci.c +1 -0
        DGFX_FEATURES,
        .graphics.rel = 55,
        .media.rel = 55,
+       .has_4tile = 1,
        PLATFORM(INTEL_DG2),
        .platform_engine_mask =
                BIT(RCS0) | BIT(BCS0) |
(quoted diff) +0 -0

b/drivers/gpu/drm/i915/i915_reg.h

Quoted 4 lines
Quoted 4 lines

index 3450818802c2..22d18a292430 100644

drivers/gpu/drm/i915/i915_reg.h +0 -0
@@ -7284,6 +7284,7 @@ enum {
Quoted 8 lines

Review

Quoted 8 lines
drivers/gpu/drm/i915/i915_reg.h +1 -0
 #define   PLANE_CTL_TILED_X                    (1 << 10)
 #define   PLANE_CTL_TILED_Y                    (4 << 10)
 #define   PLANE_CTL_TILED_YF                   (5 << 10)
+#define   PLANE_CTL_TILED_4                    (5 << 10)
 #define   PLANE_CTL_ASYNC_FLIP                 (1 << 9)
 #define   PLANE_CTL_FLIP_HORIZONTAL            (1 << 8)
 #define   PLANE_CTL_MEDIA_DECOMPRESSION_ENABLE (1 << 4) /* TGL+ */
(quoted diff) +0 -0

b/drivers/gpu/drm/i915/intel_device_info.h

Quoted 4 lines
Quoted 4 lines

index 669f0d26c3c3..67177e18704a 100644

drivers/gpu/drm/i915/intel_device_info.h +0 -0
@@ -125,6 +125,7 @@ enum intel_ppgtt_type {
Quoted 8 lines

Review

Quoted 8 lines
drivers/gpu/drm/i915/intel_device_info.h +1 -0
        func(has_64bit_reloc); \
        func(gpu_reset_clobbers_display); \
        func(has_reset_engine); \
+       func(has_4tile); \
        func(has_global_mocs); \
        func(has_gt_uc); \
        func(has_l3_dpf); \
(quoted diff) +0 -0

b/drivers/gpu/drm/i915/intel_pm.c

Quoted 4 lines

drivers/gpu/drm/i915/intel_pm.c skl_compute_wm_params(const struct

Quoted 4 lines

index 01fa3fac1b57..167704f0acf0 100644

drivers/gpu/drm/i915/intel_pm.c +0 -0
@@ -5386,6 +5386,7 @@ skl_compute_wm_params(const struct

intel_crtc_state *crtc_state,

Quoted 8 lines

Review

Quoted 8 lines
drivers/gpu/drm/i915/intel_pm.c +1 -0
        }
 
        wp->y_tiled = modifier == I915_FORMAT_MOD_Y_TILED ||
+                     modifier == I915_FORMAT_MOD_4_TILED ||
                      modifier == I915_FORMAT_MOD_Yf_TILED ||
                      modifier == I915_FORMAT_MOD_Y_TILED_CCS ||
                      modifier == I915_FORMAT_MOD_Yf_TILED_CCS;
(quoted diff) +0 -0

b/include/uapi/drm/drm_fourcc.h

Quoted 7 lines

include/uapi/drm/drm_fourcc.h extern "C" { · line 566

Quoted 7 lines

index 7f652c96845b..41184a94935d 100644

include/uapi/drm/drm_fourcc.h +0 -0
@@ -564,6 +564,14 @@ extern "C" {
  * pitch is required to be a multiple of 4 tile widths.
  */
 #define I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS_CC

fourcc_mod_code(INTEL, 8)

Quoted 31 lines

include/uapi/drm/drm_fourcc.h extern "C" { · line 569

Quoted 3 lines
include/uapi/drm/drm_fourcc.h +3 -0
+/*
+ * Intel F-tiling(aka Tile4) layout
+ *

v4 and v5 attempted to get rid of the F-tile references, but this was left behind.

include/uapi/drm/drm_fourcc.h extern "C" { · line 572

Quoted 3 lines
include/uapi/drm/drm_fourcc.h +3 -0
+ * This is a tiled layout using 4Kb tiles in row-major layout.
+ * Within the tile pixels are laid out in 64 byte units / sub-tiles in OWORD
+ * (16 bytes) chunks column-major..

I can't picture how tile 4 is organized from this description. Could we update it?
Here's a draft I came up with when wondering how I might do this myself:

* This is a tiled layout using 4KB tiles in a row-major layout. It has the same
* shape as Tile Y at two granularities: 4KB (128B x 32) and 64B (16B x 4). It
* only differs from Tile Y at the 256B granularity in between. At this
* granularity, Tile Y has a shape of 16B x 32 rows, but this tiling has a shape
* of 64B x 8 rows.

-Nanley

Quoted 8 lines
include/uapi/drm/drm_fourcc.h +2 -1
+ */
+#define I915_FORMAT_MOD_4_TILED         fourcc_mod_code(INTEL, 9)
 
 /*
  * Tiled, NV12MT, grouped in 64 (pixels) x 32 (lines) -sized macroblocks
--

2.24.1.485.gad05a3d8e5

#7 lore raw
Quoted 36 lines

-----Original Message-----
From: Lisovskiy, Stanislav <[email protected]>
Sent: Tuesday, November 23, 2021 8:37 AM
To: Chery, Nanley G <[email protected]>
Cc: Nanley Chery <[email protected]>; [email protected]
Subject: Re: [Intel-gfx] [PATCH] drm/i915/dg2: Tile 4 plane format support

Quoted 26 lines · Nanley G
Quoted 14 lines

-----Original Message-----
From: Lisovskiy, Stanislav <[email protected]>
Sent: Tuesday, November 23, 2021 3:14 AM
To: Nanley Chery <[email protected]>
Cc: [email protected]; Chery, Nanley G <[email protected]>
Subject: Re: [Intel-gfx] [PATCH] drm/i915/dg2: Tile 4 plane format support

Quoted 2 lines · Nanley Chery

Hi Stanislav,

Quoted 9 lines
Quoted 1 line

Are there IGT tests for this modifier?

Hi Nanley

Yes, there should be plenty of those, not sure they are all sent to upstream though.
We have a separate team doing this.
That modifier should be added to kms_plane_multiple and many others

Okay, I'll be on the lookout for them.

Quoted 8 lines
Quoted 4 lines
Quoted 2 lines

Stan

Looks like you missed the other review comments I left in my prior email.

Oh, sorry just saw those. I pushed this already, I will check those anyway and sent additional patch, if needed.

Where has this been pushed to? We're still requiring an Ack from userspace/mesa to get new modifiers upstream, right?

-Nanley

Quoted 307 lines

Stan

Quoted 107 lines

-Nanley

Quoted 104 lines
Quoted 54 lines
Quoted 51 lines · Stanislav Lisovskiy

TileF(Tile4 in bspec) format is 4K tile organized into 64B subtiles with same basic shape as for legacy TileY which will be supported by Display13.

v2: - Fixed wrong case condition(Jani Nikula)
- Increased I915_FORMAT_MOD_F_TILED up to 12(Imre Deak)

v3: - s/I915_TILING_F/TILING_4/g
- s/I915_FORMAT_MOD_F_TILED/I915_FORMAT_MOD_4_TILED/g
- Removed unneeded fencing code

v4: - Rebased, fixed merge conflict with new table-oriented
format modifier checking(Stan)
- Replaced the rest of "Tile F" mentions to "Tile 4"(Stan)

v5: - Still had to remove some Tile F mentionings
- Moved has_4tile from adlp to DG2(Ramalingam C)
- Check specifically for DG2, but not the Display13(Imre)

v6: - Moved Tile4 assocating struct for modifier/display to
the beginning(Imre Deak)
- Removed unneeded case I915_FORMAT_MOD_4_TILED modifier checks(Imre Deak)
- Fixed I915_FORMAT_MOD_4_TILED to be 9 instead of 12 (Imre Deak)

v7: - Fixed display_ver to { 13, 13 }(Imre Deak)
- Removed redundant newline(Imre Deak)

---
 drivers/gpu/drm/i915/display/intel_display.c  |  1 +
 drivers/gpu/drm/i915/display/intel_fb.c       |  9 +++++++++
 drivers/gpu/drm/i915/display/intel_fbc.c      |  1 +
 .../drm/i915/display/intel_plane_initial.c    |  1 +
 .../drm/i915/display/skl_universal_plane.c    | 20 +++++++++++--------
 drivers/gpu/drm/i915/i915_drv.h               |  1 +
 drivers/gpu/drm/i915/i915_pci.c               |  1 +
 drivers/gpu/drm/i915/i915_reg.h               |  1 +
 drivers/gpu/drm/i915/intel_device_info.h      |  1 +
 drivers/gpu/drm/i915/intel_pm.c               |  1 +
 include/uapi/drm/drm_fourcc.h                 |  8 ++++++++
 11 files changed, 37 insertions(+), 8 deletions(-)
Quoted 1 line

Review

Quoted 1 line
(quoted diff) +0 -0

b/drivers/gpu/drm/i915/display/intel_display.c

Quoted 4 lines

drivers/gpu/drm/i915/display/intel_display.c static int intel_atomic_check_async(struct

Quoted 4 lines

index f3c9208a30b1..7429965d3682 100644

drivers/gpu/drm/i915/display/intel_display.c +0 -0
@@ -7766,6 +7766,7 @@ static int intel_atomic_check_async(struct

intel_atomic_state *state, struct int

Quoted 8 lines

Review

Quoted 8 lines
drivers/gpu/drm/i915/display/intel_display.c +1 -0
                case I915_FORMAT_MOD_X_TILED:
                case I915_FORMAT_MOD_Y_TILED:
                case I915_FORMAT_MOD_Yf_TILED:
+               case I915_FORMAT_MOD_4_TILED:
                        break;
                default:
                        drm_dbg_kms(&i915->drm,
(quoted diff) +0 -0

b/drivers/gpu/drm/i915/display/intel_fb.c

Quoted 5 lines
Quoted 5 lines

index c4a743d0913f..b7f1ef62072c 100644

drivers/gpu/drm/i915/display/intel_fb.c +0 -0
@@ -139,6 +139,9 @@ struct intel_modifier_desc {
 
Quoted 12 lines

drivers/gpu/drm/i915/display/intel_fb.c struct intel_modifier_desc { · line 143

Quoted 4 lines
drivers/gpu/drm/i915/display/intel_fb.c +2 -0
 static const struct intel_modifier_desc intel_modifiers[] = {
        {
+               .modifier = I915_FORMAT_MOD_4_TILED,
+               .display_ver = { 13, 13 },

I see that every other modifier has the plane_cap field set. Why is it okay for it to be zero here?

Quoted 4 lines
drivers/gpu/drm/i915/display/intel_fb.c +1 -0
+       }, {
                .modifier = I915_FORMAT_MOD_Y_TILED_GEN12_MC_CCS,
                .display_ver = { 12, 13 },
                .plane_caps = INTEL_PLANE_CAP_TILING_Y |

INTEL_PLANE_CAP_CCS_MC,

Quoted 1 line

drivers/gpu/drm/i915/display/intel_fb.c intel_tile_width_bytes(const struct

Quoted 1 line
drivers/gpu/drm/i915/display/intel_fb.c +0 -0
@@ -544,6 +547,12 @@ intel_tile_width_bytes(const struct

drm_framebuffer *fb, int color_plane)

Quoted 5 lines
Quoted 5 lines
drivers/gpu/drm/i915/display/intel_fb.c +2 -0
                        return 128;
                else
                        return 512;
+       case I915_FORMAT_MOD_4_TILED:
+               /*
Quoted 8 lines

Review

Quoted 8 lines
drivers/gpu/drm/i915/display/intel_fb.c +4 -0
+                * Each 4K tile consists of 64B(8*8) subtiles, with
+                * same shape as Y Tile(i.e 4*16B OWords)
+                */
+               return 128;
        case I915_FORMAT_MOD_Y_TILED_CCS:
                if (intel_fb_is_ccs_aux_plane(fb, color_plane))
                        return 128;
(quoted diff) +0 -0

b/drivers/gpu/drm/i915/display/intel_fbc.c

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

drivers/gpu/drm/i915/display/intel_fbc.c static bool tiling_is_valid(struct

Quoted 4 lines

index d0c34bc3af6c..0ceabe40d8c9 100644

drivers/gpu/drm/i915/display/intel_fbc.c +0 -0
@@ -898,6 +898,7 @@ static bool tiling_is_valid(struct

drm_i915_private

Quoted 7 lines
Quoted 7 lines

*i915,

Quoted 6 lines

drivers/gpu/drm/i915/display/intel_fbc.c static bool tiling_is_valid(struct drm_i915_private *i915, · line 901

Quoted 4 lines
drivers/gpu/drm/i915/display/intel_fbc.c +1 -0
        case I915_FORMAT_MOD_Y_TILED:
        case I915_FORMAT_MOD_Yf_TILED:
                return DISPLAY_VER(i915) >= 9;
+       case I915_FORMAT_MOD_4_TILED:

The tile Y cases above check the display version. Should we do the same

here?

Quoted 10 lines
Quoted 10 lines
Quoted 5 lines

Review

Quoted 5 lines
drivers/gpu/drm/i915/display/intel_fbc.c +0 -0
        case I915_FORMAT_MOD_X_TILED:
                return true;
        default:
(quoted diff) +0 -0

b/drivers/gpu/drm/i915/display/intel_plane_initial.c

Quoted 4 lines

drivers/gpu/drm/i915/display/intel_plane_initial.c intel_alloc_initial_plane_obj(struct intel_crtc

Quoted 4 lines

index dcd698a02da2..d80855ee9b96 100644

drivers/gpu/drm/i915/display/intel_plane_initial.c +0 -0
@@ -125,6 +125,7 @@ intel_alloc_initial_plane_obj(struct intel_crtc

*crtc,

Quoted 24 lines
Quoted 24 lines
Quoted 8 lines

Review

Quoted 8 lines
drivers/gpu/drm/i915/display/intel_plane_initial.c +1 -0
        case DRM_FORMAT_MOD_LINEAR:
        case I915_FORMAT_MOD_X_TILED:
        case I915_FORMAT_MOD_Y_TILED:
+       case I915_FORMAT_MOD_4_TILED:
                break;
        default:
                drm_dbg(&dev_priv->drm,
(quoted diff) +0 -0

b/drivers/gpu/drm/i915/display/skl_universal_plane.c

Quoted 4 lines
Quoted 4 lines

index 28890876bdeb..e5cda5bcbde4 100644

drivers/gpu/drm/i915/display/skl_universal_plane.c +0 -0
@@ -751,6 +751,8 @@ static u32 skl_plane_ctl_tiling(u64 fb_modifier)
Quoted 8 lines

drivers/gpu/drm/i915/display/skl_universal_plane.c static u32 skl_plane_ctl_tiling(u64 fb_modifier)

Quoted 8 lines
drivers/gpu/drm/i915/display/skl_universal_plane.c +2 -0
                return PLANE_CTL_TILED_X;
        case I915_FORMAT_MOD_Y_TILED:
                return PLANE_CTL_TILED_Y;
+       case I915_FORMAT_MOD_4_TILED:
+               return PLANE_CTL_TILED_4;
        case I915_FORMAT_MOD_Y_TILED_CCS:
        case I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS_CC:
                return PLANE_CTL_TILED_Y |

PLANE_CTL_RENDER_DECOMPRESSION_ENABLE;

Quoted 1 line

drivers/gpu/drm/i915/display/skl_universal_plane.c static bool

Quoted 1 line
drivers/gpu/drm/i915/display/skl_universal_plane.c +0 -0
@@ -1971,9 +1973,7 @@ static bool

gen12_plane_format_mod_supported(struct drm_plane *_plane,

Quoted 11 lines
Quoted 11 lines
Quoted 11 lines

drivers/gpu/drm/i915/display/skl_universal_plane.c skl_get_initial_plane_config(struct

Quoted 11 lines
drivers/gpu/drm/i915/display/skl_universal_plane.c +1 -3
        case DRM_FORMAT_Y216:
        case DRM_FORMAT_XVYU12_16161616:
        case DRM_FORMAT_XVYU16161616:
-               if (modifier == DRM_FORMAT_MOD_LINEAR ||
-                   modifier == I915_FORMAT_MOD_X_TILED ||
-                   modifier == I915_FORMAT_MOD_Y_TILED)
+               if (!intel_fb_is_ccs_modifier(modifier))
                        return true;
                fallthrough;
        default:
@@ -2299,11 +2299,15 @@ skl_get_initial_plane_config(struct

intel_crtc

Quoted 10 lines
Quoted 10 lines

*crtc,

Quoted 9 lines
Quoted 9 lines
drivers/gpu/drm/i915/display/skl_universal_plane.c +1 -5
                else
                        fb->modifier = I915_FORMAT_MOD_Y_TILED;
                break;
-       case PLANE_CTL_TILED_YF:
-               if (val & PLANE_CTL_RENDER_DECOMPRESSION_ENABLE)
-                       fb->modifier = I915_FORMAT_MOD_Yf_TILED_CCS;
-               else
-                       fb->modifier = I915_FORMAT_MOD_Yf_TILED;
+       case PLANE_CTL_TILED_YF: /* aka PLANE_CTL_TILED_4 on

XE_LPD+ */

Quoted 17 lines
Quoted 17 lines
Quoted 4 lines

To be safe, maybe add a static_assert(PLANE_CTL_TILED_YF == PLANE_CTL_TILED_4); ?

Quoted 12 lines

Review

Quoted 12 lines
drivers/gpu/drm/i915/display/skl_universal_plane.c +8 -0
+               if (HAS_4TILE(dev_priv)) {
+                       fb->modifier = I915_FORMAT_MOD_4_TILED;
+               } else {
+                       if (val & PLANE_CTL_RENDER_DECOMPRESSION_ENABLE)
+                               fb->modifier = I915_FORMAT_MOD_Yf_TILED_CCS;
+                       else
+                               fb->modifier = I915_FORMAT_MOD_Yf_TILED;
+               }
                break;
        default:
                MISSING_CASE(tiling);
(quoted diff) +0 -0

b/drivers/gpu/drm/i915/i915_drv.h

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

drivers/gpu/drm/i915/i915_drv.h IS_SUBPLATFORM(const struct

Quoted 4 lines

index 1bfadd9127fc..3d90bd732e91 100644

drivers/gpu/drm/i915/i915_drv.h +0 -0
@@ -1627,6 +1627,7 @@ IS_SUBPLATFORM(const struct

drm_i915_private

Quoted 2 lines
Quoted 2 lines

*i915,

Quoted 1 line
Quoted 1 line
drivers/gpu/drm/i915/i915_drv.h +0 -0
 #define CMDPARSER_USES_GGTT(dev_priv) (GRAPHICS_VER(dev_priv)

== 7)

Quoted 8 lines
Quoted 8 lines
Quoted 7 lines

Review

Quoted 7 lines
drivers/gpu/drm/i915/i915_drv.h +1 -0
 #define HAS_LLC(dev_priv)      (INTEL_INFO(dev_priv)->has_llc)
+#define HAS_4TILE(dev_priv)    (INTEL_INFO(dev_priv)->has_4tile)
 #define HAS_SNOOP(dev_priv)    (INTEL_INFO(dev_priv)->has_snoop)
 #define HAS_EDRAM(dev_priv)    ((dev_priv)->edram_size_mb)
 #define HAS_SECURE_BATCHES(dev_priv) (GRAPHICS_VER(dev_priv) < 6)
(quoted diff) +0 -0

b/drivers/gpu/drm/i915/i915_pci.c

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

drivers/gpu/drm/i915/i915_pci.c static const struct intel_device_info dg2_info

Quoted 4 lines

index f01cba4ec283..403d3a581ce7 100644

drivers/gpu/drm/i915/i915_pci.c +0 -0
@@ -1044,6 +1044,7 @@ static const struct intel_device_info dg2_info

= {

Quoted 9 lines
Quoted 9 lines
Quoted 8 lines

Review

Quoted 8 lines
drivers/gpu/drm/i915/i915_pci.c +1 -0
        DGFX_FEATURES,
        .graphics.rel = 55,
        .media.rel = 55,
+       .has_4tile = 1,
        PLATFORM(INTEL_DG2),
        .platform_engine_mask =
                BIT(RCS0) | BIT(BCS0) |
(quoted diff) +0 -0

b/drivers/gpu/drm/i915/i915_reg.h

Quoted 11 lines
Quoted 11 lines
Quoted 11 lines

drivers/gpu/drm/i915/i915_reg.h enum { · line 7290

Quoted 11 lines

index 3450818802c2..22d18a292430 100644

drivers/gpu/drm/i915/i915_reg.h +1 -0
@@ -7284,6 +7284,7 @@ enum {
 #define   PLANE_CTL_TILED_X                    (1 << 10)
 #define   PLANE_CTL_TILED_Y                    (4 << 10)
 #define   PLANE_CTL_TILED_YF                   (5 << 10)
+#define   PLANE_CTL_TILED_4                    (5 << 10)
 #define   PLANE_CTL_ASYNC_FLIP                 (1 << 9)
 #define   PLANE_CTL_FLIP_HORIZONTAL            (1 << 8)
 #define   PLANE_CTL_MEDIA_DECOMPRESSION_ENABLE (1 << 4) /*

TGL+ */

Quoted 68 lines
Quoted 68 lines
Quoted 1 line

Review

Quoted 1 line
(quoted diff) +0 -0

b/drivers/gpu/drm/i915/intel_device_info.h

Quoted 4 lines
Quoted 4 lines

index 669f0d26c3c3..67177e18704a 100644

drivers/gpu/drm/i915/intel_device_info.h +0 -0
@@ -125,6 +125,7 @@ enum intel_ppgtt_type {
Quoted 8 lines

Review

Quoted 8 lines
drivers/gpu/drm/i915/intel_device_info.h +1 -0
        func(has_64bit_reloc); \
        func(gpu_reset_clobbers_display); \
        func(has_reset_engine); \
+       func(has_4tile); \
        func(has_global_mocs); \
        func(has_gt_uc); \
        func(has_l3_dpf); \
(quoted diff) +0 -0

b/drivers/gpu/drm/i915/intel_pm.c

Quoted 4 lines

drivers/gpu/drm/i915/intel_pm.c skl_compute_wm_params(const struct

Quoted 4 lines

index 01fa3fac1b57..167704f0acf0 100644

drivers/gpu/drm/i915/intel_pm.c +0 -0
@@ -5386,6 +5386,7 @@ skl_compute_wm_params(const struct

intel_crtc_state *crtc_state,

Quoted 8 lines

Review

Quoted 8 lines
drivers/gpu/drm/i915/intel_pm.c +1 -0
        }
 
        wp->y_tiled = modifier == I915_FORMAT_MOD_Y_TILED ||
+                     modifier == I915_FORMAT_MOD_4_TILED ||
                      modifier == I915_FORMAT_MOD_Yf_TILED ||
                      modifier == I915_FORMAT_MOD_Y_TILED_CCS ||
                      modifier == I915_FORMAT_MOD_Yf_TILED_CCS;
(quoted diff) +0 -0

b/include/uapi/drm/drm_fourcc.h

Quoted 7 lines

include/uapi/drm/drm_fourcc.h extern "C" { · line 566

Quoted 7 lines

index 7f652c96845b..41184a94935d 100644

include/uapi/drm/drm_fourcc.h +0 -0
@@ -564,6 +564,14 @@ extern "C" {
  * pitch is required to be a multiple of 4 tile widths.
  */
 #define I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS_CC

fourcc_mod_code(INTEL, 8)

Quoted 31 lines

include/uapi/drm/drm_fourcc.h extern "C" { · line 569

Quoted 3 lines
include/uapi/drm/drm_fourcc.h +3 -0
+/*
+ * Intel F-tiling(aka Tile4) layout
+ *

v4 and v5 attempted to get rid of the F-tile references, but this was left behind.

include/uapi/drm/drm_fourcc.h extern "C" { · line 572

Quoted 3 lines
include/uapi/drm/drm_fourcc.h +3 -0
+ * This is a tiled layout using 4Kb tiles in row-major layout.
+ * Within the tile pixels are laid out in 64 byte units / sub-tiles in OWORD
+ * (16 bytes) chunks column-major..

I can't picture how tile 4 is organized from this description. Could we update it?
Here's a draft I came up with when wondering how I might do this myself:

* This is a tiled layout using 4KB tiles in a row-major layout. It has the same
* shape as Tile Y at two granularities: 4KB (128B x 32) and 64B (16B x 4). It
* only differs from Tile Y at the 256B granularity in between. At this
* granularity, Tile Y has a shape of 16B x 32 rows, but this tiling has a shape
* of 64B x 8 rows.

-Nanley

Quoted 8 lines
include/uapi/drm/drm_fourcc.h +2 -1
+ */
+#define I915_FORMAT_MOD_4_TILED         fourcc_mod_code(INTEL, 9)
 
 /*
  * Tiled, NV12MT, grouped in 64 (pixels) x 32 (lines) -sized macroblocks
--

2.24.1.485.gad05a3d8e5

#8 lore raw
Quoted 39 lines · Nanley G
Quoted 39 lines

-----Original Message-----
From: Lisovskiy, Stanislav <[email protected]>
Sent: Tuesday, November 23, 2021 8:37 AM
To: Chery, Nanley G <[email protected]>
Cc: Nanley Chery <[email protected]>; [email protected]
Subject: Re: [Intel-gfx] [PATCH] drm/i915/dg2: Tile 4 plane format support

Quoted 29 lines · Nanley G
Quoted 14 lines

-----Original Message-----
From: Lisovskiy, Stanislav <[email protected]>
Sent: Tuesday, November 23, 2021 3:14 AM
To: Nanley Chery <[email protected]>
Cc: [email protected]; Chery, Nanley G <[email protected]>
Subject: Re: [Intel-gfx] [PATCH] drm/i915/dg2: Tile 4 plane format support

Quoted 2 lines · Nanley Chery

Hi Stanislav,

Quoted 9 lines
Quoted 1 line

Are there IGT tests for this modifier?

Hi Nanley

Yes, there should be plenty of those, not sure they are all sent to upstream though.
We have a separate team doing this.
That modifier should be added to kms_plane_multiple and many others

Okay, I'll be on the lookout for them.

Quoted 2 lines

Stan

Quoted 7 lines
Quoted 5 lines
Quoted 1 line

Looks like you missed the other review comments I left in my prior email.

Oh, sorry just saw those. I pushed this already, I will check those anyway and sent additional patch, if needed.

Where has this been pushed to? We're still requiring an Ack from userspace/mesa to get new modifiers upstream, right?

It was pushed to drm-intel-next. To be honest, I was not aware that this requires userspace/mesa ack.

How do we proceed then? Should I revert and push the fixed version or do we wait until IGT part gets merged?

Stan

Quoted 310 lines

-Nanley

Quoted 307 lines

Stan

Quoted 107 lines

-Nanley

Quoted 104 lines
Quoted 54 lines
Quoted 51 lines · Stanislav Lisovskiy

TileF(Tile4 in bspec) format is 4K tile organized into 64B subtiles with same basic shape as for legacy TileY which will be supported by Display13.

v2: - Fixed wrong case condition(Jani Nikula)
- Increased I915_FORMAT_MOD_F_TILED up to 12(Imre Deak)

v3: - s/I915_TILING_F/TILING_4/g
- s/I915_FORMAT_MOD_F_TILED/I915_FORMAT_MOD_4_TILED/g
- Removed unneeded fencing code

v4: - Rebased, fixed merge conflict with new table-oriented
format modifier checking(Stan)
- Replaced the rest of "Tile F" mentions to "Tile 4"(Stan)

v5: - Still had to remove some Tile F mentionings
- Moved has_4tile from adlp to DG2(Ramalingam C)
- Check specifically for DG2, but not the Display13(Imre)

v6: - Moved Tile4 assocating struct for modifier/display to
the beginning(Imre Deak)
- Removed unneeded case I915_FORMAT_MOD_4_TILED modifier checks(Imre Deak)
- Fixed I915_FORMAT_MOD_4_TILED to be 9 instead of 12 (Imre Deak)

v7: - Fixed display_ver to { 13, 13 }(Imre Deak)
- Removed redundant newline(Imre Deak)

---
 drivers/gpu/drm/i915/display/intel_display.c  |  1 +
 drivers/gpu/drm/i915/display/intel_fb.c       |  9 +++++++++
 drivers/gpu/drm/i915/display/intel_fbc.c      |  1 +
 .../drm/i915/display/intel_plane_initial.c    |  1 +
 .../drm/i915/display/skl_universal_plane.c    | 20 +++++++++++--------
 drivers/gpu/drm/i915/i915_drv.h               |  1 +
 drivers/gpu/drm/i915/i915_pci.c               |  1 +
 drivers/gpu/drm/i915/i915_reg.h               |  1 +
 drivers/gpu/drm/i915/intel_device_info.h      |  1 +
 drivers/gpu/drm/i915/intel_pm.c               |  1 +
 include/uapi/drm/drm_fourcc.h                 |  8 ++++++++
 11 files changed, 37 insertions(+), 8 deletions(-)
Quoted 1 line

Review

Quoted 1 line
(quoted diff) +0 -0

b/drivers/gpu/drm/i915/display/intel_display.c

Quoted 4 lines

drivers/gpu/drm/i915/display/intel_display.c static int intel_atomic_check_async(struct

Quoted 4 lines

index f3c9208a30b1..7429965d3682 100644

drivers/gpu/drm/i915/display/intel_display.c +0 -0
@@ -7766,6 +7766,7 @@ static int intel_atomic_check_async(struct

intel_atomic_state *state, struct int

Quoted 8 lines

Review

Quoted 8 lines
drivers/gpu/drm/i915/display/intel_display.c +1 -0
                case I915_FORMAT_MOD_X_TILED:
                case I915_FORMAT_MOD_Y_TILED:
                case I915_FORMAT_MOD_Yf_TILED:
+               case I915_FORMAT_MOD_4_TILED:
                        break;
                default:
                        drm_dbg_kms(&i915->drm,
(quoted diff) +0 -0

b/drivers/gpu/drm/i915/display/intel_fb.c

Quoted 5 lines
Quoted 5 lines

index c4a743d0913f..b7f1ef62072c 100644

drivers/gpu/drm/i915/display/intel_fb.c +0 -0
@@ -139,6 +139,9 @@ struct intel_modifier_desc {
 
Quoted 12 lines

drivers/gpu/drm/i915/display/intel_fb.c struct intel_modifier_desc { · line 143

Quoted 4 lines
drivers/gpu/drm/i915/display/intel_fb.c +2 -0
 static const struct intel_modifier_desc intel_modifiers[] = {
        {
+               .modifier = I915_FORMAT_MOD_4_TILED,
+               .display_ver = { 13, 13 },

I see that every other modifier has the plane_cap field set. Why is it okay for it to be zero here?

Quoted 4 lines
drivers/gpu/drm/i915/display/intel_fb.c +1 -0
+       }, {
                .modifier = I915_FORMAT_MOD_Y_TILED_GEN12_MC_CCS,
                .display_ver = { 12, 13 },
                .plane_caps = INTEL_PLANE_CAP_TILING_Y |

INTEL_PLANE_CAP_CCS_MC,

Quoted 1 line

drivers/gpu/drm/i915/display/intel_fb.c intel_tile_width_bytes(const struct

Quoted 1 line
drivers/gpu/drm/i915/display/intel_fb.c +0 -0
@@ -544,6 +547,12 @@ intel_tile_width_bytes(const struct

drm_framebuffer *fb, int color_plane)

Quoted 5 lines
Quoted 5 lines
drivers/gpu/drm/i915/display/intel_fb.c +2 -0
                        return 128;
                else
                        return 512;
+       case I915_FORMAT_MOD_4_TILED:
+               /*
Quoted 8 lines

Review

Quoted 8 lines
drivers/gpu/drm/i915/display/intel_fb.c +4 -0
+                * Each 4K tile consists of 64B(8*8) subtiles, with
+                * same shape as Y Tile(i.e 4*16B OWords)
+                */
+               return 128;
        case I915_FORMAT_MOD_Y_TILED_CCS:
                if (intel_fb_is_ccs_aux_plane(fb, color_plane))
                        return 128;
(quoted diff) +0 -0

b/drivers/gpu/drm/i915/display/intel_fbc.c

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

drivers/gpu/drm/i915/display/intel_fbc.c static bool tiling_is_valid(struct

Quoted 4 lines

index d0c34bc3af6c..0ceabe40d8c9 100644

drivers/gpu/drm/i915/display/intel_fbc.c +0 -0
@@ -898,6 +898,7 @@ static bool tiling_is_valid(struct

drm_i915_private

Quoted 7 lines
Quoted 7 lines

*i915,

Quoted 6 lines

drivers/gpu/drm/i915/display/intel_fbc.c static bool tiling_is_valid(struct drm_i915_private *i915, · line 901

Quoted 4 lines
drivers/gpu/drm/i915/display/intel_fbc.c +1 -0
        case I915_FORMAT_MOD_Y_TILED:
        case I915_FORMAT_MOD_Yf_TILED:
                return DISPLAY_VER(i915) >= 9;
+       case I915_FORMAT_MOD_4_TILED:

The tile Y cases above check the display version. Should we do the same

here?

Quoted 10 lines
Quoted 10 lines
Quoted 5 lines

Review

Quoted 5 lines
drivers/gpu/drm/i915/display/intel_fbc.c +0 -0
        case I915_FORMAT_MOD_X_TILED:
                return true;
        default:
(quoted diff) +0 -0

b/drivers/gpu/drm/i915/display/intel_plane_initial.c

Quoted 4 lines

drivers/gpu/drm/i915/display/intel_plane_initial.c intel_alloc_initial_plane_obj(struct intel_crtc

Quoted 4 lines

index dcd698a02da2..d80855ee9b96 100644

drivers/gpu/drm/i915/display/intel_plane_initial.c +0 -0
@@ -125,6 +125,7 @@ intel_alloc_initial_plane_obj(struct intel_crtc

*crtc,

Quoted 24 lines
Quoted 24 lines
Quoted 8 lines

Review

Quoted 8 lines
drivers/gpu/drm/i915/display/intel_plane_initial.c +1 -0
        case DRM_FORMAT_MOD_LINEAR:
        case I915_FORMAT_MOD_X_TILED:
        case I915_FORMAT_MOD_Y_TILED:
+       case I915_FORMAT_MOD_4_TILED:
                break;
        default:
                drm_dbg(&dev_priv->drm,
(quoted diff) +0 -0

b/drivers/gpu/drm/i915/display/skl_universal_plane.c

Quoted 4 lines
Quoted 4 lines

index 28890876bdeb..e5cda5bcbde4 100644

drivers/gpu/drm/i915/display/skl_universal_plane.c +0 -0
@@ -751,6 +751,8 @@ static u32 skl_plane_ctl_tiling(u64 fb_modifier)
Quoted 8 lines

drivers/gpu/drm/i915/display/skl_universal_plane.c static u32 skl_plane_ctl_tiling(u64 fb_modifier)

Quoted 8 lines
drivers/gpu/drm/i915/display/skl_universal_plane.c +2 -0
                return PLANE_CTL_TILED_X;
        case I915_FORMAT_MOD_Y_TILED:
                return PLANE_CTL_TILED_Y;
+       case I915_FORMAT_MOD_4_TILED:
+               return PLANE_CTL_TILED_4;
        case I915_FORMAT_MOD_Y_TILED_CCS:
        case I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS_CC:
                return PLANE_CTL_TILED_Y |

PLANE_CTL_RENDER_DECOMPRESSION_ENABLE;

Quoted 1 line

drivers/gpu/drm/i915/display/skl_universal_plane.c static bool

Quoted 1 line
drivers/gpu/drm/i915/display/skl_universal_plane.c +0 -0
@@ -1971,9 +1973,7 @@ static bool

gen12_plane_format_mod_supported(struct drm_plane *_plane,

Quoted 11 lines
Quoted 11 lines
Quoted 11 lines

drivers/gpu/drm/i915/display/skl_universal_plane.c skl_get_initial_plane_config(struct

Quoted 11 lines
drivers/gpu/drm/i915/display/skl_universal_plane.c +1 -3
        case DRM_FORMAT_Y216:
        case DRM_FORMAT_XVYU12_16161616:
        case DRM_FORMAT_XVYU16161616:
-               if (modifier == DRM_FORMAT_MOD_LINEAR ||
-                   modifier == I915_FORMAT_MOD_X_TILED ||
-                   modifier == I915_FORMAT_MOD_Y_TILED)
+               if (!intel_fb_is_ccs_modifier(modifier))
                        return true;
                fallthrough;
        default:
@@ -2299,11 +2299,15 @@ skl_get_initial_plane_config(struct

intel_crtc

Quoted 10 lines
Quoted 10 lines

*crtc,

Quoted 9 lines
Quoted 9 lines
drivers/gpu/drm/i915/display/skl_universal_plane.c +1 -5
                else
                        fb->modifier = I915_FORMAT_MOD_Y_TILED;
                break;
-       case PLANE_CTL_TILED_YF:
-               if (val & PLANE_CTL_RENDER_DECOMPRESSION_ENABLE)
-                       fb->modifier = I915_FORMAT_MOD_Yf_TILED_CCS;
-               else
-                       fb->modifier = I915_FORMAT_MOD_Yf_TILED;
+       case PLANE_CTL_TILED_YF: /* aka PLANE_CTL_TILED_4 on

XE_LPD+ */

Quoted 17 lines
Quoted 17 lines
Quoted 4 lines

To be safe, maybe add a static_assert(PLANE_CTL_TILED_YF == PLANE_CTL_TILED_4); ?

Quoted 12 lines

Review

Quoted 12 lines
drivers/gpu/drm/i915/display/skl_universal_plane.c +8 -0
+               if (HAS_4TILE(dev_priv)) {
+                       fb->modifier = I915_FORMAT_MOD_4_TILED;
+               } else {
+                       if (val & PLANE_CTL_RENDER_DECOMPRESSION_ENABLE)
+                               fb->modifier = I915_FORMAT_MOD_Yf_TILED_CCS;
+                       else
+                               fb->modifier = I915_FORMAT_MOD_Yf_TILED;
+               }
                break;
        default:
                MISSING_CASE(tiling);
(quoted diff) +0 -0

b/drivers/gpu/drm/i915/i915_drv.h

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

drivers/gpu/drm/i915/i915_drv.h IS_SUBPLATFORM(const struct

Quoted 4 lines

index 1bfadd9127fc..3d90bd732e91 100644

drivers/gpu/drm/i915/i915_drv.h +0 -0
@@ -1627,6 +1627,7 @@ IS_SUBPLATFORM(const struct

drm_i915_private

Quoted 2 lines
Quoted 2 lines

*i915,

Quoted 1 line
Quoted 1 line
drivers/gpu/drm/i915/i915_drv.h +0 -0
 #define CMDPARSER_USES_GGTT(dev_priv) (GRAPHICS_VER(dev_priv)

== 7)

Quoted 8 lines
Quoted 8 lines
Quoted 7 lines

Review

Quoted 7 lines
drivers/gpu/drm/i915/i915_drv.h +1 -0
 #define HAS_LLC(dev_priv)      (INTEL_INFO(dev_priv)->has_llc)
+#define HAS_4TILE(dev_priv)    (INTEL_INFO(dev_priv)->has_4tile)
 #define HAS_SNOOP(dev_priv)    (INTEL_INFO(dev_priv)->has_snoop)
 #define HAS_EDRAM(dev_priv)    ((dev_priv)->edram_size_mb)
 #define HAS_SECURE_BATCHES(dev_priv) (GRAPHICS_VER(dev_priv) < 6)
(quoted diff) +0 -0

b/drivers/gpu/drm/i915/i915_pci.c

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

drivers/gpu/drm/i915/i915_pci.c static const struct intel_device_info dg2_info

Quoted 4 lines

index f01cba4ec283..403d3a581ce7 100644

drivers/gpu/drm/i915/i915_pci.c +0 -0
@@ -1044,6 +1044,7 @@ static const struct intel_device_info dg2_info

= {

Quoted 9 lines
Quoted 9 lines
Quoted 8 lines

Review

Quoted 8 lines
drivers/gpu/drm/i915/i915_pci.c +1 -0
        DGFX_FEATURES,
        .graphics.rel = 55,
        .media.rel = 55,
+       .has_4tile = 1,
        PLATFORM(INTEL_DG2),
        .platform_engine_mask =
                BIT(RCS0) | BIT(BCS0) |
(quoted diff) +0 -0

b/drivers/gpu/drm/i915/i915_reg.h

Quoted 11 lines
Quoted 11 lines
Quoted 11 lines

drivers/gpu/drm/i915/i915_reg.h enum { · line 7290

Quoted 11 lines

index 3450818802c2..22d18a292430 100644

drivers/gpu/drm/i915/i915_reg.h +1 -0
@@ -7284,6 +7284,7 @@ enum {
 #define   PLANE_CTL_TILED_X                    (1 << 10)
 #define   PLANE_CTL_TILED_Y                    (4 << 10)
 #define   PLANE_CTL_TILED_YF                   (5 << 10)
+#define   PLANE_CTL_TILED_4                    (5 << 10)
 #define   PLANE_CTL_ASYNC_FLIP                 (1 << 9)
 #define   PLANE_CTL_FLIP_HORIZONTAL            (1 << 8)
 #define   PLANE_CTL_MEDIA_DECOMPRESSION_ENABLE (1 << 4) /*

TGL+ */

Quoted 68 lines
Quoted 68 lines
Quoted 1 line

Review

Quoted 1 line
(quoted diff) +0 -0

b/drivers/gpu/drm/i915/intel_device_info.h

Quoted 4 lines
Quoted 4 lines

index 669f0d26c3c3..67177e18704a 100644

drivers/gpu/drm/i915/intel_device_info.h +0 -0
@@ -125,6 +125,7 @@ enum intel_ppgtt_type {
Quoted 8 lines

Review

Quoted 8 lines
drivers/gpu/drm/i915/intel_device_info.h +1 -0
        func(has_64bit_reloc); \
        func(gpu_reset_clobbers_display); \
        func(has_reset_engine); \
+       func(has_4tile); \
        func(has_global_mocs); \
        func(has_gt_uc); \
        func(has_l3_dpf); \
(quoted diff) +0 -0

b/drivers/gpu/drm/i915/intel_pm.c

Quoted 4 lines

drivers/gpu/drm/i915/intel_pm.c skl_compute_wm_params(const struct

Quoted 4 lines

index 01fa3fac1b57..167704f0acf0 100644

drivers/gpu/drm/i915/intel_pm.c +0 -0
@@ -5386,6 +5386,7 @@ skl_compute_wm_params(const struct

intel_crtc_state *crtc_state,

Quoted 8 lines

Review

Quoted 8 lines
drivers/gpu/drm/i915/intel_pm.c +1 -0
        }
 
        wp->y_tiled = modifier == I915_FORMAT_MOD_Y_TILED ||
+                     modifier == I915_FORMAT_MOD_4_TILED ||
                      modifier == I915_FORMAT_MOD_Yf_TILED ||
                      modifier == I915_FORMAT_MOD_Y_TILED_CCS ||
                      modifier == I915_FORMAT_MOD_Yf_TILED_CCS;
(quoted diff) +0 -0

b/include/uapi/drm/drm_fourcc.h

Quoted 7 lines

include/uapi/drm/drm_fourcc.h extern "C" { · line 566

Quoted 7 lines

index 7f652c96845b..41184a94935d 100644

include/uapi/drm/drm_fourcc.h +0 -0
@@ -564,6 +564,14 @@ extern "C" {
  * pitch is required to be a multiple of 4 tile widths.
  */
 #define I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS_CC

fourcc_mod_code(INTEL, 8)

Quoted 31 lines

include/uapi/drm/drm_fourcc.h extern "C" { · line 569

Quoted 3 lines
include/uapi/drm/drm_fourcc.h +3 -0
+/*
+ * Intel F-tiling(aka Tile4) layout
+ *

v4 and v5 attempted to get rid of the F-tile references, but this was left behind.

include/uapi/drm/drm_fourcc.h extern "C" { · line 572

Quoted 3 lines
include/uapi/drm/drm_fourcc.h +3 -0
+ * This is a tiled layout using 4Kb tiles in row-major layout.
+ * Within the tile pixels are laid out in 64 byte units / sub-tiles in OWORD
+ * (16 bytes) chunks column-major..

I can't picture how tile 4 is organized from this description. Could we update it?
Here's a draft I came up with when wondering how I might do this myself:

* This is a tiled layout using 4KB tiles in a row-major layout. It has the same
* shape as Tile Y at two granularities: 4KB (128B x 32) and 64B (16B x 4). It
* only differs from Tile Y at the 256B granularity in between. At this
* granularity, Tile Y has a shape of 16B x 32 rows, but this tiling has a shape
* of 64B x 8 rows.

-Nanley

Quoted 8 lines
include/uapi/drm/drm_fourcc.h +2 -1
+ */
+#define I915_FORMAT_MOD_4_TILED         fourcc_mod_code(INTEL, 9)
 
 /*
  * Tiled, NV12MT, grouped in 64 (pixels) x 32 (lines) -sized macroblocks
--

2.24.1.485.gad05a3d8e5

#9 lore raw
Quoted 58 lines

-----Original Message-----
From: Lisovskiy, Stanislav <[email protected]>
Sent: Tuesday, November 23, 2021 10:23 AM
To: Chery, Nanley G <[email protected]>
Cc: [email protected]; Deak, Imre <[email protected]>
Subject: Re: [Intel-gfx] [PATCH] drm/i915/dg2: Tile 4 plane format support

Quoted 48 lines · Nanley G
Quoted 47 lines

-----Original Message-----
From: Lisovskiy, Stanislav <[email protected]>
Sent: Tuesday, November 23, 2021 8:37 AM
To: Chery, Nanley G <[email protected]>
Cc: Nanley Chery <[email protected]>; [email protected]
Subject: Re: [Intel-gfx] [PATCH] drm/i915/dg2: Tile 4 plane format support

Quoted 25 lines · Nanley G
Quoted 16 lines

-----Original Message-----
From: Lisovskiy, Stanislav <[email protected]>
Sent: Tuesday, November 23, 2021 3:14 AM
To: Nanley Chery <[email protected]>
Cc: [email protected]; Chery, Nanley G <[email protected]>
Subject: Re: [Intel-gfx] [PATCH] drm/i915/dg2: Tile 4 plane format support

Quoted 3 lines · Nanley Chery

Hi Stanislav,

Are there IGT tests for this modifier?

Quoted 8 lines

Hi Nanley

Yes, there should be plenty of those, not sure they are all sent to upstream though.
We have a separate team doing this.
That modifier should be added to kms_plane_multiple and many others

Quoted 6 lines

Okay, I'll be on the lookout for them.

Quoted 2 lines

Stan

Looks like you missed the other review comments I left in my prior email.

Oh, sorry just saw those. I pushed this already, I will check those anyway and sent additional patch, if needed.

Quoted 6 lines
Quoted 1 line

Where has this been pushed to? We're still requiring an Ack from

userspace/mesa to get new modifiers upstream, right?

It was pushed to drm-intel-next. To be honest, I was not aware that this requires userspace/mesa ack.

Yeah, I don't think much of the process has been documented. Might be good for us to discuss and/or put something together. The ack was something we did in the last cycle and it seemed like something we were going to do for this one as well.

Quoted 3 lines

How do we proceed then? Should I revert and push the fixed version or do we wait until IGT part gets merged?

Reverting and waiting for IGT tests to at least be on the list seems like a reasonable plan to me. I also think it's a good idea to continue waiting on an ack from mesa as well. I'll be OOO this week for holidays, but I'm happy to discuss the latter bit when I get back.

-Nanley

Quoted 335 lines

Stan

Quoted 152 lines

-Nanley

Quoted 149 lines

Stan

Quoted 111 lines

-Nanley

Quoted 108 lines
Quoted 58 lines
Quoted 55 lines · Stanislav Lisovskiy

TileF(Tile4 in bspec) format is 4K tile organized into 64B subtiles with same basic shape as for legacy TileY which will be supported by Display13.

v2: - Fixed wrong case condition(Jani Nikula)
- Increased I915_FORMAT_MOD_F_TILED up to 12(Imre Deak)

v3: - s/I915_TILING_F/TILING_4/g
- s/I915_FORMAT_MOD_F_TILED/I915_FORMAT_MOD_4_TILED/g
- Removed unneeded fencing code

v4: - Rebased, fixed merge conflict with new table-oriented
format modifier checking(Stan)
- Replaced the rest of "Tile F" mentions to "Tile
4"(Stan)

v5: - Still had to remove some Tile F mentionings
- Moved has_4tile from adlp to DG2(Ramalingam C)
- Check specifically for DG2, but not the
Display13(Imre)

v6: - Moved Tile4 assocating struct for modifier/display to
the beginning(Imre Deak)
- Removed unneeded case I915_FORMAT_MOD_4_TILED modifier checks(Imre Deak)
- Fixed I915_FORMAT_MOD_4_TILED to be 9 instead of 12 (Imre Deak)

v7: - Fixed display_ver to { 13, 13 }(Imre Deak)
- Removed redundant newline(Imre Deak)

Cc Imre Deak <[email protected]>
Cc Matt Roper <[email protected]>
Cc Maarten Lankhorst <[email protected]>
Signed-off-by Stanislav Lisovskiy

<[email protected]>

Signed-off-by Juha-Pekka Heikkilä

<[email protected]>

---
 drivers/gpu/drm/i915/display/intel_display.c  |  1 +
 drivers/gpu/drm/i915/display/intel_fb.c       |  9 +++++++++
 drivers/gpu/drm/i915/display/intel_fbc.c      |  1 +
 .../drm/i915/display/intel_plane_initial.c    |  1 +
 .../drm/i915/display/skl_universal_plane.c    | 20 +++++++++++--------
 drivers/gpu/drm/i915/i915_drv.h               |  1 +
 drivers/gpu/drm/i915/i915_pci.c               |  1 +
 drivers/gpu/drm/i915/i915_reg.h               |  1 +
 drivers/gpu/drm/i915/intel_device_info.h      |  1 +
 drivers/gpu/drm/i915/intel_pm.c               |  1 +
 include/uapi/drm/drm_fourcc.h                 |  8 ++++++++
 11 files changed, 37 insertions(+), 8 deletions(-)
Quoted 1 line

Review

Quoted 1 line
(quoted diff) +0 -0

b/drivers/gpu/drm/i915/display/intel_display.c

Quoted 5 lines
Quoted 5 lines

index f3c9208a30b1..7429965d3682 100644

drivers/gpu/drm/i915/display/intel_display.c +0 -0
@@ -7766,6 +7766,7 @@ static int

intel_atomic_check_async(struct

intel_atomic_state *state, struct int

Quoted 8 lines
Quoted 8 lines
                case I915_FORMAT_MOD_X_TILED:
                case I915_FORMAT_MOD_Y_TILED:
                case I915_FORMAT_MOD_Yf_TILED:
+               case I915_FORMAT_MOD_4_TILED:
                        break;
                default:
                        drm_dbg_kms(&i915->drm, diff --git

a/drivers/gpu/drm/i915/display/intel_fb.c

b/drivers/gpu/drm/i915/display/intel_fb.c

Quoted 5 lines
Quoted 5 lines

index c4a743d0913f..b7f1ef62072c 100644

drivers/gpu/drm/i915/display/intel_fb.c +0 -0
@@ -139,6 +139,9 @@ struct intel_modifier_desc {
 
Quoted 12 lines

drivers/gpu/drm/i915/display/intel_fb.c struct intel_modifier_desc { · line 143

Quoted 4 lines
drivers/gpu/drm/i915/display/intel_fb.c +2 -0
 static const struct intel_modifier_desc intel_modifiers[] = {
        {
+               .modifier = I915_FORMAT_MOD_4_TILED,
+               .display_ver = { 13, 13 },

I see that every other modifier has the plane_cap field set. Why is it okay for it to be zero here?

Quoted 4 lines
drivers/gpu/drm/i915/display/intel_fb.c +1 -0
+       }, {
                .modifier = I915_FORMAT_MOD_Y_TILED_GEN12_MC_CCS,
                .display_ver = { 12, 13 },
                .plane_caps = INTEL_PLANE_CAP_TILING_Y |

INTEL_PLANE_CAP_CCS_MC,

Quoted 1 line

drivers/gpu/drm/i915/display/intel_fb.c intel_tile_width_bytes(const struct

Quoted 1 line
drivers/gpu/drm/i915/display/intel_fb.c +0 -0
@@ -544,6 +547,12 @@ intel_tile_width_bytes(const struct

drm_framebuffer *fb, int color_plane)

Quoted 13 lines
Quoted 13 lines
drivers/gpu/drm/i915/display/intel_fb.c +6 -0
                        return 128;
                else
                        return 512;
+       case I915_FORMAT_MOD_4_TILED:
+               /*
+                * Each 4K tile consists of 64B(8*8) subtiles, with
+                * same shape as Y Tile(i.e 4*16B OWords)
+                */
+               return 128;
        case I915_FORMAT_MOD_Y_TILED_CCS:
                if (intel_fb_is_ccs_aux_plane(fb, color_plane))
                        return 128; diff --git

a/drivers/gpu/drm/i915/display/intel_fbc.c

Quoted 5 lines
Quoted 5 lines

b/drivers/gpu/drm/i915/display/intel_fbc.c

Quoted 4 lines

drivers/gpu/drm/i915/display/intel_fbc.c static bool tiling_is_valid(struct

Quoted 4 lines

index d0c34bc3af6c..0ceabe40d8c9 100644

drivers/gpu/drm/i915/display/intel_fbc.c +0 -0
@@ -898,6 +898,7 @@ static bool tiling_is_valid(struct

drm_i915_private

Quoted 8 lines
Quoted 8 lines

*i915,

Quoted 7 lines

drivers/gpu/drm/i915/display/intel_fbc.c static bool tiling_is_valid(struct · line 901

Quoted 4 lines
drivers/gpu/drm/i915/display/intel_fbc.c +1 -0
        case I915_FORMAT_MOD_Y_TILED:
        case I915_FORMAT_MOD_Yf_TILED:
                return DISPLAY_VER(i915) >= 9;
+       case I915_FORMAT_MOD_4_TILED:

The tile Y cases above check the display version. Should we do the same

here?

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
drivers/gpu/drm/i915/display/intel_fbc.c +0 -0
        case I915_FORMAT_MOD_X_TILED:
                return true;
        default:

diff --git a/drivers/gpu/drm/i915/display/intel_plane_initial.c

Quoted 6 lines
Quoted 6 lines

b/drivers/gpu/drm/i915/display/intel_plane_initial.c

Quoted 5 lines
Quoted 5 lines

index dcd698a02da2..d80855ee9b96 100644

drivers/gpu/drm/i915/display/intel_plane_initial.c +0 -0
@@ -125,6 +125,7 @@ intel_alloc_initial_plane_obj(struct

intel_crtc

*crtc,

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
        case DRM_FORMAT_MOD_LINEAR:
        case I915_FORMAT_MOD_X_TILED:
        case I915_FORMAT_MOD_Y_TILED:
+       case I915_FORMAT_MOD_4_TILED:
                break;
        default:
                drm_dbg(&dev_priv->drm, diff --git

a/drivers/gpu/drm/i915/display/skl_universal_plane.c

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

b/drivers/gpu/drm/i915/display/skl_universal_plane.c

Quoted 4 lines

drivers/gpu/drm/i915/display/skl_universal_plane.c static u32 skl_plane_ctl_tiling(u64

Quoted 4 lines

index 28890876bdeb..e5cda5bcbde4 100644

drivers/gpu/drm/i915/display/skl_universal_plane.c +0 -0
@@ -751,6 +751,8 @@ static u32 skl_plane_ctl_tiling(u64

fb_modifier)

Quoted 35 lines
Quoted 35 lines
Quoted 11 lines
Quoted 11 lines
Quoted 8 lines

drivers/gpu/drm/i915/display/skl_universal_plane.c static u32 skl_plane_ctl_tiling(u64 · line 758

Quoted 8 lines
drivers/gpu/drm/i915/display/skl_universal_plane.c +2 -0
                return PLANE_CTL_TILED_X;
        case I915_FORMAT_MOD_Y_TILED:
                return PLANE_CTL_TILED_Y;
+       case I915_FORMAT_MOD_4_TILED:
+               return PLANE_CTL_TILED_4;
        case I915_FORMAT_MOD_Y_TILED_CCS:
        case I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS_CC:
                return PLANE_CTL_TILED_Y |

PLANE_CTL_RENDER_DECOMPRESSION_ENABLE;

Quoted 1 line

drivers/gpu/drm/i915/display/skl_universal_plane.c static bool

Quoted 1 line
drivers/gpu/drm/i915/display/skl_universal_plane.c +0 -0
@@ -1971,9 +1973,7 @@ static bool

gen12_plane_format_mod_supported(struct drm_plane *_plane,

Quoted 11 lines
Quoted 11 lines
Quoted 11 lines

drivers/gpu/drm/i915/display/skl_universal_plane.c skl_get_initial_plane_config(struct

Quoted 11 lines
drivers/gpu/drm/i915/display/skl_universal_plane.c +1 -3
        case DRM_FORMAT_Y216:
        case DRM_FORMAT_XVYU12_16161616:
        case DRM_FORMAT_XVYU16161616:
-               if (modifier == DRM_FORMAT_MOD_LINEAR ||
-                   modifier == I915_FORMAT_MOD_X_TILED ||
-                   modifier == I915_FORMAT_MOD_Y_TILED)
+               if (!intel_fb_is_ccs_modifier(modifier))
                        return true;
                fallthrough;
        default:
@@ -2299,11 +2299,15 @@ skl_get_initial_plane_config(struct

intel_crtc

Quoted 10 lines
Quoted 10 lines

*crtc,

Quoted 9 lines
Quoted 9 lines
drivers/gpu/drm/i915/display/skl_universal_plane.c +1 -5
                else
                        fb->modifier = I915_FORMAT_MOD_Y_TILED;
                break;
-       case PLANE_CTL_TILED_YF:
-               if (val & PLANE_CTL_RENDER_DECOMPRESSION_ENABLE)
-                       fb->modifier = I915_FORMAT_MOD_Yf_TILED_CCS;
-               else
-                       fb->modifier = I915_FORMAT_MOD_Yf_TILED;
+       case PLANE_CTL_TILED_YF: /* aka PLANE_CTL_TILED_4 on

XE_LPD+ */

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

To be safe, maybe add a static_assert(PLANE_CTL_TILED_YF == PLANE_CTL_TILED_4); ?

Quoted 4 lines
drivers/gpu/drm/i915/display/skl_universal_plane.c +4 -0
+               if (HAS_4TILE(dev_priv)) {
+                       fb->modifier = I915_FORMAT_MOD_4_TILED;
+               } else {
+                       if (val &

PLANE_CTL_RENDER_DECOMPRESSION_ENABLE)

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

drivers/gpu/drm/i915/display/skl_universal_plane.c skl_get_initial_plane_config(struct · line 2307

Quoted 1 line
drivers/gpu/drm/i915/display/skl_universal_plane.c +1 -0
+                               fb->modifier =

I915_FORMAT_MOD_Yf_TILED_CCS;

Quoted 98 lines
Quoted 98 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
drivers/gpu/drm/i915/display/skl_universal_plane.c +3 -0
+                       else
+                               fb->modifier = I915_FORMAT_MOD_Yf_TILED;
+               }
                break;
        default:
                MISSING_CASE(tiling); diff --git

a/drivers/gpu/drm/i915/i915_drv.h

Quoted 5 lines
Quoted 5 lines

b/drivers/gpu/drm/i915/i915_drv.h

Quoted 4 lines

drivers/gpu/drm/i915/i915_drv.h IS_SUBPLATFORM(const struct

Quoted 4 lines

index 1bfadd9127fc..3d90bd732e91 100644

drivers/gpu/drm/i915/i915_drv.h +0 -0
@@ -1627,6 +1627,7 @@ IS_SUBPLATFORM(const struct

drm_i915_private

Quoted 3 lines
Quoted 3 lines

*i915,

Quoted 2 lines
Quoted 2 lines
drivers/gpu/drm/i915/i915_drv.h +0 -0
 #define CMDPARSER_USES_GGTT(dev_priv)
 (GRAPHICS_VER(dev_priv)

== 7)

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
drivers/gpu/drm/i915/i915_drv.h +1 -0
 #define HAS_LLC(dev_priv)      (INTEL_INFO(dev_priv)->has_llc)
+#define HAS_4TILE(dev_priv)    (INTEL_INFO(dev_priv)->has_4tile)
 #define HAS_SNOOP(dev_priv)    (INTEL_INFO(dev_priv)->has_snoop)
 #define HAS_EDRAM(dev_priv)    ((dev_priv)->edram_size_mb)
 #define HAS_SECURE_BATCHES(dev_priv)

(GRAPHICS_VER(dev_priv) < 6) diff --git
a/drivers/gpu/drm/i915/i915_pci.c

Quoted 6 lines
Quoted 6 lines

b/drivers/gpu/drm/i915/i915_pci.c

Quoted 5 lines
Quoted 5 lines

index f01cba4ec283..403d3a581ce7 100644

drivers/gpu/drm/i915/i915_pci.c +0 -0
@@ -1044,6 +1044,7 @@ static const struct intel_device_info

dg2_info

= {

Quoted 9 lines
Quoted 9 lines
Quoted 8 lines
Quoted 8 lines
        DGFX_FEATURES,
        .graphics.rel = 55,
        .media.rel = 55,
+       .has_4tile = 1,
        PLATFORM(INTEL_DG2),
        .platform_engine_mask =
                BIT(RCS0) | BIT(BCS0) | diff --git

a/drivers/gpu/drm/i915/i915_reg.h

b/drivers/gpu/drm/i915/i915_reg.h

Quoted 11 lines
Quoted 11 lines
Quoted 11 lines

drivers/gpu/drm/i915/i915_reg.h enum { · line 7290

Quoted 11 lines

index 3450818802c2..22d18a292430 100644

drivers/gpu/drm/i915/i915_reg.h +1 -0
@@ -7284,6 +7284,7 @@ enum {
 #define   PLANE_CTL_TILED_X                    (1 << 10)
 #define   PLANE_CTL_TILED_Y                    (4 << 10)
 #define   PLANE_CTL_TILED_YF                   (5 << 10)
+#define   PLANE_CTL_TILED_4                    (5 << 10)
 #define   PLANE_CTL_ASYNC_FLIP                 (1 << 9)
 #define   PLANE_CTL_FLIP_HORIZONTAL            (1 << 8)
 #define   PLANE_CTL_MEDIA_DECOMPRESSION_ENABLE (1 << 4) /*

TGL+ */

Quoted 45 lines
Quoted 45 lines
Quoted 1 line

Review

Quoted 1 line
(quoted diff) +0 -0

b/drivers/gpu/drm/i915/intel_device_info.h

Quoted 4 lines
Quoted 4 lines

index 669f0d26c3c3..67177e18704a 100644

drivers/gpu/drm/i915/intel_device_info.h +0 -0
@@ -125,6 +125,7 @@ enum intel_ppgtt_type {
Quoted 8 lines

Review

Quoted 8 lines
drivers/gpu/drm/i915/intel_device_info.h +1 -0
        func(has_64bit_reloc); \
        func(gpu_reset_clobbers_display); \
        func(has_reset_engine); \
+       func(has_4tile); \
        func(has_global_mocs); \
        func(has_gt_uc); \
        func(has_l3_dpf); \
(quoted diff) +0 -0

b/drivers/gpu/drm/i915/intel_pm.c

Quoted 4 lines

drivers/gpu/drm/i915/intel_pm.c skl_compute_wm_params(const struct

Quoted 4 lines

index 01fa3fac1b57..167704f0acf0 100644

drivers/gpu/drm/i915/intel_pm.c +0 -0
@@ -5386,6 +5386,7 @@ skl_compute_wm_params(const struct

intel_crtc_state *crtc_state,

Quoted 9 lines
Quoted 9 lines
drivers/gpu/drm/i915/intel_pm.c +1 -0
        }
 
        wp->y_tiled = modifier == I915_FORMAT_MOD_Y_TILED ||
+                     modifier == I915_FORMAT_MOD_4_TILED ||
                      modifier == I915_FORMAT_MOD_Yf_TILED ||
                      modifier == I915_FORMAT_MOD_Y_TILED_CCS ||
                      modifier ==

I915_FORMAT_MOD_Yf_TILED_CCS; diff --git
a/include/uapi/drm/drm_fourcc.h

b/include/uapi/drm/drm_fourcc.h

Quoted 7 lines

include/uapi/drm/drm_fourcc.h extern "C" { · line 566

Quoted 7 lines

index 7f652c96845b..41184a94935d 100644

include/uapi/drm/drm_fourcc.h +0 -0
@@ -564,6 +564,14 @@ extern "C" {
  * pitch is required to be a multiple of 4 tile widths.
  */
 #define I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS_CC

fourcc_mod_code(INTEL, 8)

Quoted 7 lines

include/uapi/drm/drm_fourcc.h extern "C" { · line 569

Quoted 3 lines
include/uapi/drm/drm_fourcc.h +3 -0
+/*
+ * Intel F-tiling(aka Tile4) layout
+ *

v4 and v5 attempted to get rid of the F-tile references, but this was left behind.

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

include/uapi/drm/drm_fourcc.h extern "C" { · line 573

Quoted 4 lines
include/uapi/drm/drm_fourcc.h +4 -0
+ * This is a tiled layout using 4Kb tiles in row-major layout.
+ * Within the tile pixels are laid out in 64 byte units /
+ sub-tiles in OWORD
+ * (16 bytes) chunks column-major..

I can't picture how tile 4 is organized from this description. Could we update it?
Here's a draft I came up with when wondering how I might do this

myself:

Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines

* This is a tiled layout using 4KB tiles in a row-major layout. It has the same
* shape as Tile Y at two granularities: 4KB (128B x 32) and 64B (16B x 4). It
* only differs from Tile Y at the 256B granularity in between. At this
* granularity, Tile Y has a shape of 16B x 32 rows, but this tiling has a shape
* of 64B x 8 rows.

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

-Nanley

Quoted 2 lines
include/uapi/drm/drm_fourcc.h +2 -0
+ */
+#define I915_FORMAT_MOD_4_TILED

fourcc_mod_code(INTEL, 9)

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
include/uapi/drm/drm_fourcc.h +0 -2
 /*
  * Tiled, NV12MT, grouped in 64 (pixels) x 32 (lines)
-sized macroblocks
--

2.24.1.485.gad05a3d8e5

#10 lore raw
In reply to Nanley Chery
Quoted 75 lines · Nanley Chery

Hi Stanislav,

Are there IGT tests for this modifier?

Quoted 69 lines · Stanislav Lisovskiy

TileF(Tile4 in bspec) format is 4K tile organized into 64B subtiles with same basic shape as for legacy TileY which will be supported by Display13.

v2: - Fixed wrong case condition(Jani Nikula)
- Increased I915_FORMAT_MOD_F_TILED up to 12(Imre Deak)

v3: - s/I915_TILING_F/TILING_4/g
- s/I915_FORMAT_MOD_F_TILED/I915_FORMAT_MOD_4_TILED/g
- Removed unneeded fencing code

v4: - Rebased, fixed merge conflict with new table-oriented
format modifier checking(Stan)
- Replaced the rest of "Tile F" mentions to "Tile 4"(Stan)

v5: - Still had to remove some Tile F mentionings
- Moved has_4tile from adlp to DG2(Ramalingam C)
- Check specifically for DG2, but not the Display13(Imre)

v6: - Moved Tile4 assocating struct for modifier/display to
the beginning(Imre Deak)
- Removed unneeded case I915_FORMAT_MOD_4_TILED modifier checks(Imre Deak)
- Fixed I915_FORMAT_MOD_4_TILED to be 9 instead of 12 (Imre Deak)

v7: - Fixed display_ver to { 13, 13 }(Imre Deak)
- Removed redundant newline(Imre Deak)

---
 drivers/gpu/drm/i915/display/intel_display.c  |  1 +
 drivers/gpu/drm/i915/display/intel_fb.c       |  9 +++++++++
 drivers/gpu/drm/i915/display/intel_fbc.c      |  1 +
 .../drm/i915/display/intel_plane_initial.c    |  1 +
 .../drm/i915/display/skl_universal_plane.c    | 20 +++++++++++--------
 drivers/gpu/drm/i915/i915_drv.h               |  1 +
 drivers/gpu/drm/i915/i915_pci.c               |  1 +
 drivers/gpu/drm/i915/i915_reg.h               |  1 +
 drivers/gpu/drm/i915/intel_device_info.h      |  1 +
 drivers/gpu/drm/i915/intel_pm.c               |  1 +
 include/uapi/drm/drm_fourcc.h                 |  8 ++++++++
 11 files changed, 37 insertions(+), 8 deletions(-)
drivers/gpu/drm/i915/display/intel_display.c +1 -0
index f3c9208a30b1..7429965d3682 100644
@@ -7766,6 +7766,7 @@ static int intel_atomic_check_async(struct intel_atomic_state *state, struct int
                case I915_FORMAT_MOD_X_TILED:
                case I915_FORMAT_MOD_Y_TILED:
                case I915_FORMAT_MOD_Yf_TILED:
+               case I915_FORMAT_MOD_4_TILED:
                        break;
                default:
                        drm_dbg_kms(&i915->drm,
drivers/gpu/drm/i915/display/intel_fb.c +0 -0
index c4a743d0913f..b7f1ef62072c 100644
@@ -139,6 +139,9 @@ struct intel_modifier_desc {
 
Quoted 7 lines

drivers/gpu/drm/i915/display/intel_fb.c struct intel_modifier_desc { · line 143

Quoted 4 lines
drivers/gpu/drm/i915/display/intel_fb.c +2 -0
 static const struct intel_modifier_desc intel_modifiers[] = {
        {
+               .modifier = I915_FORMAT_MOD_4_TILED,
+               .display_ver = { 13, 13 },

I see that every other modifier has the plane_cap field set. Why is it okay for it to be zero here?

Yes, missed this. The INTEL_PLANE_CAP_TILING_4 flag needs to be added and returned from skl_get_plane_caps() for HAS_4TILE() platforms and here we need to set this flag.

Quoted 20 lines
Quoted 20 lines
drivers/gpu/drm/i915/display/intel_fb.c +7 -0
+       }, {
                .modifier = I915_FORMAT_MOD_Y_TILED_GEN12_MC_CCS,
                .display_ver = { 12, 13 },
                .plane_caps = INTEL_PLANE_CAP_TILING_Y | INTEL_PLANE_CAP_CCS_MC,
@@ -544,6 +547,12 @@ intel_tile_width_bytes(const struct drm_framebuffer *fb, int color_plane)
                        return 128;
                else
                        return 512;
+       case I915_FORMAT_MOD_4_TILED:
+               /*
+                * Each 4K tile consists of 64B(8*8) subtiles, with
+                * same shape as Y Tile(i.e 4*16B OWords)
+                */
+               return 128;
        case I915_FORMAT_MOD_Y_TILED_CCS:
                if (intel_fb_is_ccs_aux_plane(fb, color_plane))
                        return 128;
drivers/gpu/drm/i915/display/intel_fbc.c +0 -1
index d0c34bc3af6c..0ceabe40d8c9 100644
--- a/drivers/gpu/drm/i915/display/intel_fbc.c
Quoted 8 lines

drivers/gpu/drm/i915/display/intel_fbc.c static bool tiling_is_valid(struct drm_i915_private *i915, · line 901

Quoted 6 lines

+++ b/drivers/gpu/drm/i915/display/intel_fbc.c

drivers/gpu/drm/i915/display/intel_fbc.c +1 -0
@@ -898,6 +898,7 @@ static bool tiling_is_valid(struct drm_i915_private *i915,
        case I915_FORMAT_MOD_Y_TILED:
        case I915_FORMAT_MOD_Yf_TILED:
                return DISPLAY_VER(i915) >= 9;
+       case I915_FORMAT_MOD_4_TILED:

The tile Y cases above check the display version. Should we do the same here?

I don't think we need a display version check (here or above), since the modifiers will be passed to this func only on platforms supporting them.

Quoted 163 lines
Quoted 40 lines
drivers/gpu/drm/i915/display/intel_fbc.c +0 -0
        case I915_FORMAT_MOD_X_TILED:
                return true;
        default:
drivers/gpu/drm/i915/display/intel_plane_initial.c +1 -0
index dcd698a02da2..d80855ee9b96 100644
@@ -125,6 +125,7 @@ intel_alloc_initial_plane_obj(struct intel_crtc *crtc,
        case DRM_FORMAT_MOD_LINEAR:
        case I915_FORMAT_MOD_X_TILED:
        case I915_FORMAT_MOD_Y_TILED:
+       case I915_FORMAT_MOD_4_TILED:
                break;
        default:
                drm_dbg(&dev_priv->drm,
drivers/gpu/drm/i915/display/skl_universal_plane.c +3 -3
index 28890876bdeb..e5cda5bcbde4 100644
@@ -751,6 +751,8 @@ static u32 skl_plane_ctl_tiling(u64 fb_modifier)
                return PLANE_CTL_TILED_X;
        case I915_FORMAT_MOD_Y_TILED:
                return PLANE_CTL_TILED_Y;
+       case I915_FORMAT_MOD_4_TILED:
+               return PLANE_CTL_TILED_4;
        case I915_FORMAT_MOD_Y_TILED_CCS:
        case I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS_CC:
                return PLANE_CTL_TILED_Y | PLANE_CTL_RENDER_DECOMPRESSION_ENABLE;
@@ -1971,9 +1973,7 @@ static bool gen12_plane_format_mod_supported(struct drm_plane *_plane,
        case DRM_FORMAT_Y216:
        case DRM_FORMAT_XVYU12_16161616:
        case DRM_FORMAT_XVYU16161616:
-               if (modifier == DRM_FORMAT_MOD_LINEAR ||
-                   modifier == I915_FORMAT_MOD_X_TILED ||
-                   modifier == I915_FORMAT_MOD_Y_TILED)
+               if (!intel_fb_is_ccs_modifier(modifier))
                        return true;
                fallthrough;
        default:

drivers/gpu/drm/i915/display/skl_universal_plane.c skl_get_initial_plane_config(struct intel_crtc *crtc, · line 2302

Quoted 9 lines
drivers/gpu/drm/i915/display/skl_universal_plane.c +1 -5
@@ -2299,11 +2299,15 @@ skl_get_initial_plane_config(struct intel_crtc *crtc,
                else
                        fb->modifier = I915_FORMAT_MOD_Y_TILED;
                break;
-       case PLANE_CTL_TILED_YF:
-               if (val & PLANE_CTL_RENDER_DECOMPRESSION_ENABLE)
-                       fb->modifier = I915_FORMAT_MOD_Yf_TILED_CCS;
-               else
-                       fb->modifier = I915_FORMAT_MOD_Yf_TILED;
+       case PLANE_CTL_TILED_YF: /* aka PLANE_CTL_TILED_4 on XE_LPD+ */

To be safe, maybe add a static_assert(PLANE_CTL_TILED_YF == PLANE_CTL_TILED_4); ?

Quoted 76 lines
drivers/gpu/drm/i915/display/skl_universal_plane.c +8 -0
+               if (HAS_4TILE(dev_priv)) {
+                       fb->modifier = I915_FORMAT_MOD_4_TILED;
+               } else {
+                       if (val & PLANE_CTL_RENDER_DECOMPRESSION_ENABLE)
+                               fb->modifier = I915_FORMAT_MOD_Yf_TILED_CCS;
+                       else
+                               fb->modifier = I915_FORMAT_MOD_Yf_TILED;
+               }
                break;
        default:
                MISSING_CASE(tiling);
drivers/gpu/drm/i915/i915_drv.h +1 -0
index 1bfadd9127fc..3d90bd732e91 100644
@@ -1627,6 +1627,7 @@ IS_SUBPLATFORM(const struct drm_i915_private *i915,
 #define CMDPARSER_USES_GGTT(dev_priv) (GRAPHICS_VER(dev_priv) == 7)
 
 #define HAS_LLC(dev_priv)      (INTEL_INFO(dev_priv)->has_llc)
+#define HAS_4TILE(dev_priv)    (INTEL_INFO(dev_priv)->has_4tile)
 #define HAS_SNOOP(dev_priv)    (INTEL_INFO(dev_priv)->has_snoop)
 #define HAS_EDRAM(dev_priv)    ((dev_priv)->edram_size_mb)
 #define HAS_SECURE_BATCHES(dev_priv) (GRAPHICS_VER(dev_priv) < 6)
drivers/gpu/drm/i915/i915_pci.c +1 -0
index f01cba4ec283..403d3a581ce7 100644
@@ -1044,6 +1044,7 @@ static const struct intel_device_info dg2_info = {
        DGFX_FEATURES,
        .graphics.rel = 55,
        .media.rel = 55,
+       .has_4tile = 1,
        PLATFORM(INTEL_DG2),
        .platform_engine_mask =
                BIT(RCS0) | BIT(BCS0) |
drivers/gpu/drm/i915/i915_reg.h +1 -0
index 3450818802c2..22d18a292430 100644
@@ -7284,6 +7284,7 @@ enum {
 #define   PLANE_CTL_TILED_X                    (1 << 10)
 #define   PLANE_CTL_TILED_Y                    (4 << 10)
 #define   PLANE_CTL_TILED_YF                   (5 << 10)
+#define   PLANE_CTL_TILED_4                    (5 << 10)
 #define   PLANE_CTL_ASYNC_FLIP                 (1 << 9)
 #define   PLANE_CTL_FLIP_HORIZONTAL            (1 << 8)
 #define   PLANE_CTL_MEDIA_DECOMPRESSION_ENABLE (1 << 4) /* TGL+ */
drivers/gpu/drm/i915/intel_device_info.h +1 -0
index 669f0d26c3c3..67177e18704a 100644
@@ -125,6 +125,7 @@ enum intel_ppgtt_type {
        func(has_64bit_reloc); \
        func(gpu_reset_clobbers_display); \
        func(has_reset_engine); \
+       func(has_4tile); \
        func(has_global_mocs); \
        func(has_gt_uc); \
        func(has_l3_dpf); \
drivers/gpu/drm/i915/intel_pm.c +1 -0
index 01fa3fac1b57..167704f0acf0 100644
@@ -5386,6 +5386,7 @@ skl_compute_wm_params(const struct intel_crtc_state *crtc_state,
        }
 
        wp->y_tiled = modifier == I915_FORMAT_MOD_Y_TILED ||
+                     modifier == I915_FORMAT_MOD_4_TILED ||
                      modifier == I915_FORMAT_MOD_Yf_TILED ||
                      modifier == I915_FORMAT_MOD_Y_TILED_CCS ||
                      modifier == I915_FORMAT_MOD_Yf_TILED_CCS;
include/uapi/drm/drm_fourcc.h +0 -0
index 7f652c96845b..41184a94935d 100644

include/uapi/drm/drm_fourcc.h extern "C" { · line 569

Quoted 6 lines
include/uapi/drm/drm_fourcc.h +3 -0
@@ -564,6 +564,14 @@ extern "C" {
  * pitch is required to be a multiple of 4 tile widths.
  */
 #define I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS_CC fourcc_mod_code(INTEL, 8)
+/*
+ * Intel F-tiling(aka Tile4) layout
+ *

v4 and v5 attempted to get rid of the F-tile references, but this was left behind.

include/uapi/drm/drm_fourcc.h extern "C" { · line 572

Quoted 3 lines
include/uapi/drm/drm_fourcc.h +3 -0
+ * This is a tiled layout using 4Kb tiles in row-major layout.
+ * Within the tile pixels are laid out in 64 byte units / sub-tiles in OWORD
+ * (16 bytes) chunks column-major..

I can't picture how tile 4 is organized from this description. Could we update it?
Here's a draft I came up with when wondering how I might do this myself:

* This is a tiled layout using 4KB tiles in a row-major layout. It has the same
* shape as Tile Y at two granularities: 4KB (128B x 32) and 64B (16B x 4). It
* only differs from Tile Y at the 256B granularity in between. At this
* granularity, Tile Y has a shape of 16B x 32 rows, but this tiling has a shape
* of 64B x 8 rows.

-Nanley

Quoted 8 lines
include/uapi/drm/drm_fourcc.h +2 -1
+ */
+#define I915_FORMAT_MOD_4_TILED         fourcc_mod_code(INTEL, 9)
 
 /*
  * Tiled, NV12MT, grouped in 64 (pixels) x 32 (lines) -sized macroblocks
--

2.24.1.485.gad05a3d8e5

#11 lore raw

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/dg2: Tile 4 plane format support (rev5)

In reply to Stanislav Lisovskiy
== Series Details ==

== Series Details ==

Series: drm/i915/dg2: Tile 4 plane format support (rev5)
URL : https://patchwork.freedesktop.org/series/95715/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_10916 -> Patchwork_21659
====================================================

Summary
-------

**SUCCESS**

No regressions found.

External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/index.html

Participating hosts (42 -> 35)
------------------------------

Additional (1): fi-icl-u2
Missing (8): bat-dg1-6 fi-tgl-u2 bat-dg1-5 fi-bsw-cyan bat-adlp-6 bat-adlp-4 bat-jsl-2 bat-jsl-1

Known issues
------------

Here are the changes found in Patchwork_21659 that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@amdgpu/amd_basic@semaphore:
- fi-bsw-nick: NOTRUN -> [SKIP][1] ([fdo#109271]) +17 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/fi-bsw-nick/igt@amdgpu/[email protected]

* igt@amdgpu/amd_cs_nop@fork-gfx0:
- fi-icl-u2: NOTRUN -> [SKIP][2] ([fdo#109315]) +17 similar issues
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/fi-icl-u2/igt@amdgpu/[email protected]

* igt@gem_huc_copy@huc-copy:
- fi-icl-u2: NOTRUN -> [SKIP][3] ([i915#2190])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/fi-icl-u2/igt@[email protected]

* igt@gem_lmem_swapping@parallel-random-engines:
- fi-icl-u2: NOTRUN -> [SKIP][4] ([i915#4555]) +3 similar issues
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/fi-icl-u2/igt@[email protected]

* igt@i915_selftest@live@execlists:
- fi-bsw-kefka: [PASS][5] -> [INCOMPLETE][6] ([i915#2940])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10916/fi-bsw-kefka/igt@i915_selftest@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/fi-bsw-kefka/igt@i915_selftest@[email protected]

* igt@kms_chamelium@hdmi-hpd-fast:
- fi-icl-u2: NOTRUN -> [SKIP][7] ([fdo#111827]) +8 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/fi-icl-u2/igt@[email protected]

* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy:
- fi-icl-u2: NOTRUN -> [SKIP][8] ([fdo#109278]) +2 similar issues
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/fi-icl-u2/igt@[email protected]

* igt@kms_force_connector_basic@force-load-detect:
- fi-icl-u2: NOTRUN -> [SKIP][9] ([fdo#109285])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/fi-icl-u2/igt@[email protected]

* igt@prime_vgem@basic-userptr:
- fi-icl-u2: NOTRUN -> [SKIP][10] ([i915#3301])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/fi-icl-u2/igt@[email protected]

* igt@runner@aborted:
- fi-bsw-kefka: NOTRUN -> [FAIL][11] ([fdo#109271] / [i915#1436] / [i915#3428] / [i915#4312])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/fi-bsw-kefka/igt@[email protected]

#### Possible fixes ####

* igt@i915_selftest@live@execlists:
- fi-bsw-nick: [INCOMPLETE][12] ([i915#2940]) -> [PASS][13]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10916/fi-bsw-nick/igt@i915_selftest@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/fi-bsw-nick/igt@i915_selftest@[email protected]

{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).

[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109278]: https://bugs.freedesktop.org/show_bug.cgi?id=109278
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1436]: https://gitlab.freedesktop.org/drm/intel/issues/1436
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575
[i915#2940]: https://gitlab.freedesktop.org/drm/intel/issues/2940
[i915#3301]: https://gitlab.freedesktop.org/drm/intel/issues/3301
[i915#3428]: https://gitlab.freedesktop.org/drm/intel/issues/3428
[i915#4312]: https://gitlab.freedesktop.org/drm/intel/issues/4312
[i915#4555]: https://gitlab.freedesktop.org/drm/intel/issues/4555

Build changes
-------------

* Linux: CI_DRM_10916 -> Patchwork_21659

CI-20190529: 20190529
CI_DRM_10916: 876217519d26774d843128cc66640ae501a5c38d @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_6286: cdcbf81f734fdb1d102e84490e49e9fec23760cd @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_21659: 5aed8d5e578103edb32ed0c1648f8f629980c290 @ git://anongit.freedesktop.org/gfx-ci/linux

== Linux commits ==

5aed8d5e5781 drm/i915/dg2: Tile 4 plane format support

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/index.html

#12 lore raw

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915/dg2: Tile 4 plane format support (rev5)

In reply to Stanislav Lisovskiy
== Series Details ==

== Series Details ==

Series: drm/i915/dg2: Tile 4 plane format support (rev5)
URL : https://patchwork.freedesktop.org/series/95715/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_10916_full -> Patchwork_21659_full
====================================================

Summary
-------

**WARNING**

Minor unknown changes coming with Patchwork_21659_full need to be verified manually.

If you think the reported changes have nothing to do with the changes introduced in Patchwork_21659_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.

Participating hosts (10 -> 10)
------------------------------

No changes in participating hosts

Possible new issues
-------------------

Here are the unknown changes that may have been introduced in Patchwork_21659_full:

### IGT changes ###

#### Warnings ####

* igt@kms_content_protection@mei_interface:
- shard-kbl: [SKIP][1] ([fdo#109271]) -> [INCOMPLETE][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10916/shard-kbl2/igt@kms_content_protection@mei_interface.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-kbl7/igt@kms_content_protection@mei_interface.html

* igt@kms_sysfs_edid_timing:
- shard-kbl: [FAIL][3] ([IGT#2]) -> [INCOMPLETE][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10916/shard-kbl7/igt@kms_sysfs_edid_timing.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-kbl7/igt@kms_sysfs_edid_timing.html

Known issues
------------

Here are the changes found in Patchwork_21659_full that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@gem_ctx_isolation@preservation-s3@bcs0:
- shard-kbl: [PASS][5] -> [DMESG-WARN][6] ([i915#180]) +3 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10916/shard-kbl4/igt@gem_ctx_isolation@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-kbl6/igt@gem_ctx_isolation@[email protected]

* igt@gem_exec_fair@basic-flow@rcs0:
- shard-skl: NOTRUN -> [SKIP][7] ([fdo#109271]) +332 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-skl1/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-none-rrul@rcs0:
- shard-kbl: NOTRUN -> [FAIL][8] ([i915#2842])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-kbl2/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-tglb: [PASS][9] -> [FAIL][10] ([i915#2842])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10916/shard-tglb1/igt@gem_exec_fair@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-tglb6/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-pace@bcs0:
- shard-iclb: [PASS][11] -> [FAIL][12] ([i915#2842])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10916/shard-iclb3/igt@gem_exec_fair@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-iclb5/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-throttle@rcs0:
- shard-iclb: [PASS][13] -> [FAIL][14] ([i915#2849])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10916/shard-iclb3/igt@gem_exec_fair@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-iclb5/igt@gem_exec_fair@[email protected]

* igt@gem_exec_suspend@basic-s0:
- shard-tglb: [PASS][15] -> [INCOMPLETE][16] ([i915#456])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10916/shard-tglb1/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-tglb7/igt@[email protected]

* igt@gem_pread@exhaustion:
- shard-kbl: NOTRUN -> [WARN][17] ([i915#2658])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-kbl6/igt@[email protected]

* igt@gem_pxp@regular-baseline-src-copy-readible:
- shard-kbl: NOTRUN -> [SKIP][18] ([fdo#109271]) +104 similar issues
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-kbl6/igt@[email protected]

* igt@gem_userptr_blits@vma-merge:
- shard-skl: NOTRUN -> [FAIL][19] ([i915#3318])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-skl1/igt@[email protected]

* igt@gen9_exec_parse@valid-registers:
- shard-tglb: NOTRUN -> [SKIP][20] ([i915#2856])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-tglb5/igt@[email protected]

* igt@i915_pm_dc@dc6-dpms:
- shard-skl: NOTRUN -> [FAIL][21] ([i915#454])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-skl10/igt@[email protected]

* igt@kms_big_fb@linear-32bpp-rotate-270:
- shard-tglb: NOTRUN -> [SKIP][22] ([fdo#111614])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-tglb5/igt@[email protected]

* igt@kms_big_fb@x-tiled-32bpp-rotate-180:
- shard-glk: [PASS][23] -> [DMESG-WARN][24] ([i915#118]) +1 similar issue
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10916/shard-glk5/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-glk8/igt@[email protected]

* igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-0-async-flip:
- shard-skl: NOTRUN -> [FAIL][25] ([i915#3743]) +3 similar issues
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-skl8/igt@[email protected]

* igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-0-hflip:
- shard-skl: NOTRUN -> [SKIP][26] ([fdo#109271] / [i915#3777]) +1 similar issue
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-skl9/igt@[email protected]

* igt@kms_big_fb@yf-tiled-addfb:
- shard-tglb: NOTRUN -> [SKIP][27] ([fdo#111615])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-tglb5/igt@[email protected]

* igt@kms_ccs@pipe-a-bad-rotation-90-y_tiled_gen12_rc_ccs_cc:
- shard-kbl: NOTRUN -> [SKIP][28] ([fdo#109271] / [i915#3886]) +5 similar issues
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-kbl6/igt@kms_ccs@pipe-a-bad-rotation-90-y_tiled_gen12_rc_ccs_cc.html

* igt@kms_ccs@pipe-a-ccs-on-another-bo-y_tiled_gen12_rc_ccs_cc:
- shard-skl: NOTRUN -> [SKIP][29] ([fdo#109271] / [i915#3886]) +14 similar issues
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-skl7/igt@kms_ccs@pipe-a-ccs-on-another-bo-y_tiled_gen12_rc_ccs_cc.html

* igt@kms_ccs@pipe-a-crc-primary-rotation-180-y_tiled_gen12_mc_ccs:
- shard-tglb: NOTRUN -> [SKIP][30] ([i915#3689] / [i915#3886])
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-tglb5/igt@kms_ccs@pipe-a-crc-primary-rotation-180-y_tiled_gen12_mc_ccs.html

* igt@kms_ccs@pipe-b-crc-primary-rotation-180-y_tiled_ccs:
- shard-tglb: NOTRUN -> [SKIP][31] ([i915#3689])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-tglb3/igt@kms_ccs@pipe-b-crc-primary-rotation-180-y_tiled_ccs.html

* igt@kms_ccs@pipe-c-crc-primary-rotation-180-y_tiled_gen12_mc_ccs:
- shard-apl: NOTRUN -> [SKIP][32] ([fdo#109271] / [i915#3886]) +2 similar issues
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-apl3/igt@kms_ccs@pipe-c-crc-primary-rotation-180-y_tiled_gen12_mc_ccs.html

* igt@kms_chamelium@hdmi-hpd-for-each-pipe:
- shard-kbl: NOTRUN -> [SKIP][33] ([fdo#109271] / [fdo#111827]) +6 similar issues
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-kbl6/igt@[email protected]

* igt@kms_chamelium@vga-hpd-after-suspend:
- shard-skl: NOTRUN -> [SKIP][34] ([fdo#109271] / [fdo#111827]) +24 similar issues
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-skl9/igt@[email protected]

* igt@kms_color@pipe-b-ctm-0-5:
- shard-skl: [PASS][35] -> [DMESG-WARN][36] ([i915#1982])
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10916/shard-skl6/igt@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-skl3/igt@[email protected]

* igt@kms_color_chamelium@pipe-a-ctm-limited-range:
- shard-apl: NOTRUN -> [SKIP][37] ([fdo#109271] / [fdo#111827]) +6 similar issues
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-apl4/igt@[email protected]

* igt@kms_content_protection@srm:
- shard-kbl: NOTRUN -> [TIMEOUT][38] ([i915#1319])
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-kbl2/igt@[email protected]

* igt@kms_cursor_crc@pipe-b-cursor-32x10-rapid-movement:
- shard-tglb: NOTRUN -> [SKIP][39] ([i915#3359])
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-tglb5/igt@[email protected]

* igt@kms_cursor_crc@pipe-b-cursor-512x512-random:
- shard-tglb: NOTRUN -> [SKIP][40] ([fdo#109279] / [i915#3359])
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-tglb5/igt@[email protected]

* igt@kms_cursor_legacy@flip-vs-cursor-varying-size:
- shard-skl: [PASS][41] -> [FAIL][42] ([i915#2346])
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10916/shard-skl6/igt@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-skl3/igt@[email protected]

* igt@kms_cursor_legacy@pipe-d-torture-bo:
- shard-kbl: NOTRUN -> [SKIP][43] ([fdo#109271] / [i915#533])
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-kbl2/igt@[email protected]

* igt@kms_draw_crc@draw-method-rgb565-mmap-cpu-ytiled:
- shard-snb: NOTRUN -> [SKIP][44] ([fdo#109271]) +4 similar issues
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-snb5/igt@[email protected]

* igt@kms_fbcon_fbt@fbc-suspend:
- shard-apl: [PASS][45] -> [INCOMPLETE][46] ([i915#180] / [i915#1982])
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10916/shard-apl7/igt@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-apl2/igt@[email protected]

* igt@kms_flip@flip-vs-expired-vblank-interruptible@b-edp1:
- shard-skl: [PASS][47] -> [FAIL][48] ([i915#79])
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10916/shard-skl1/igt@kms_flip@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-skl2/igt@kms_flip@[email protected]

* igt@kms_flip@flip-vs-expired-vblank@c-edp1:
- shard-skl: NOTRUN -> [FAIL][49] ([i915#79]) +1 similar issue
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-skl10/igt@kms_flip@[email protected]

* igt@kms_flip@flip-vs-suspend@a-dp1:
- shard-apl: [PASS][50] -> [DMESG-WARN][51] ([i915#180]) +4 similar issues
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10916/shard-apl1/igt@kms_flip@[email protected]
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-apl8/igt@kms_flip@[email protected]

* igt@kms_flip@plain-flip-ts-check-interruptible@c-edp1:
- shard-skl: [PASS][52] -> [FAIL][53] ([i915#2122]) +2 similar issues
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10916/shard-skl6/igt@kms_flip@[email protected]
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-skl3/igt@kms_flip@[email protected]

* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs:
- shard-skl: NOTRUN -> [SKIP][54] ([fdo#109271] / [i915#2672])
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-skl7/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs.html

* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilercccs:
- shard-apl: NOTRUN -> [SKIP][55] ([fdo#109271] / [i915#2672])
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-apl4/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-indfb-plflip-blt:
- shard-tglb: NOTRUN -> [SKIP][56] ([fdo#111825]) +4 similar issues
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-tglb5/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-indfb-plflip-blt.html

* igt@kms_hdr@bpc-switch-suspend:
- shard-skl: NOTRUN -> [FAIL][57] ([i915#1188])
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-skl1/igt@[email protected]

* igt@kms_pipe_crc_basic@hang-read-crc-pipe-d:
- shard-skl: NOTRUN -> [SKIP][58] ([fdo#109271] / [i915#533]) +2 similar issues
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-skl7/igt@[email protected]

* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-d:
- shard-apl: NOTRUN -> [SKIP][59] ([fdo#109271] / [i915#533])
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-apl3/igt@[email protected]

* igt@kms_plane_alpha_blend@pipe-a-alpha-basic:
- shard-skl: NOTRUN -> [FAIL][60] ([fdo#108145] / [i915#265])
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-skl7/igt@[email protected]

* igt@kms_plane_alpha_blend@pipe-a-alpha-opaque-fb:
- shard-apl: NOTRUN -> [FAIL][61] ([fdo#108145] / [i915#265]) +1 similar issue
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-apl4/igt@[email protected]

* igt@kms_plane_alpha_blend@pipe-b-alpha-basic:
- shard-kbl: NOTRUN -> [FAIL][62] ([fdo#108145] / [i915#265]) +1 similar issue
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-kbl6/igt@[email protected]

* igt@kms_plane_alpha_blend@pipe-b-alpha-transparent-fb:
- shard-kbl: NOTRUN -> [FAIL][63] ([i915#265])
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-kbl6/igt@[email protected]

* igt@kms_plane_alpha_blend@pipe-c-alpha-transparent-fb:
- shard-apl: NOTRUN -> [FAIL][64] ([i915#265])
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-apl4/igt@[email protected]

* igt@kms_plane_lowres@pipe-b-tiling-x:
- shard-tglb: NOTRUN -> [SKIP][65] ([i915#3536])
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-tglb5/igt@[email protected]

* igt@kms_plane_scaling@scaler-with-clipping-clamping@pipe-c-scaler-with-clipping-clamping:
- shard-skl: NOTRUN -> [SKIP][66] ([fdo#109271] / [i915#2733])
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-skl7/igt@kms_plane_scaling@scaler-with-clipping-clamping@pipe-c-scaler-with-clipping-clamping.html

* igt@kms_psr2_sf@plane-move-sf-dmg-area-0:
- shard-apl: NOTRUN -> [SKIP][67] ([fdo#109271] / [i915#658]) +1 similar issue
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-apl4/igt@[email protected]

* igt@kms_psr2_sf@plane-move-sf-dmg-area-2:
- shard-skl: NOTRUN -> [SKIP][68] ([fdo#109271] / [i915#658]) +5 similar issues
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-skl10/igt@[email protected]

* igt@kms_psr2_sf@primary-plane-update-sf-dmg-area-1:
- shard-kbl: NOTRUN -> [SKIP][69] ([fdo#109271] / [i915#658])
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-kbl6/igt@[email protected]

* igt@kms_psr@psr2_sprite_plane_move:
- shard-iclb: [PASS][70] -> [SKIP][71] ([fdo#109441]) +3 similar issues
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10916/shard-iclb2/igt@kms_psr@psr2_sprite_plane_move.html
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-iclb7/igt@kms_psr@psr2_sprite_plane_move.html

* igt@kms_sysfs_edid_timing:
- shard-apl: NOTRUN -> [FAIL][72] ([IGT#2])
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-apl6/igt@kms_sysfs_edid_timing.html
- shard-skl: NOTRUN -> [FAIL][73] ([IGT#2])
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-skl9/igt@kms_sysfs_edid_timing.html

* igt@kms_writeback@writeback-invalid-parameters:
- shard-skl: NOTRUN -> [SKIP][74] ([fdo#109271] / [i915#2437])
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-skl7/igt@[email protected]

* igt@kms_writeback@writeback-pixel-formats:
- shard-apl: NOTRUN -> [SKIP][75] ([fdo#109271] / [i915#2437])
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-apl3/igt@[email protected]

* igt@perf@polling-parameterized:
- shard-skl: [PASS][76] -> [FAIL][77] ([i915#1542])
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10916/shard-skl6/igt@[email protected]
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-skl10/igt@[email protected]

* igt@perf@polling-small-buf:
- shard-skl: NOTRUN -> [FAIL][78] ([i915#1722])
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-skl7/igt@[email protected]

* igt@perf_pmu@rc6-suspend:
- shard-kbl: NOTRUN -> [DMESG-WARN][79] ([i915#180])
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-kbl6/igt@[email protected]

* igt@prime_nv_api@i915_nv_reimport_twice_check_flink_name:
- shard-apl: NOTRUN -> [SKIP][80] ([fdo#109271]) +85 similar issues
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-apl7/igt@prime_nv_api@i915_nv_reimport_twice_check_flink_name.html

* igt@sysfs_clients@fair-3:
- shard-skl: NOTRUN -> [SKIP][81] ([fdo#109271] / [i915#2994]) +3 similar issues
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-skl7/igt@[email protected]
- shard-apl: NOTRUN -> [SKIP][82] ([fdo#109271] / [i915#2994])
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-apl7/igt@[email protected]

* igt@sysfs_clients@recycle:
- shard-tglb: NOTRUN -> [SKIP][83] ([i915#2994])
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-tglb3/igt@[email protected]

#### Possible fixes ####

* igt@gem_exec_fair@basic-none-share@rcs0:
- shard-iclb: [FAIL][84] ([i915#2842]) -> [PASS][85]
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10916/shard-iclb4/igt@gem_exec_fair@[email protected]
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-iclb2/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-pace@vecs0:
- shard-kbl: [FAIL][86] ([i915#2842]) -> [PASS][87]
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10916/shard-kbl2/igt@gem_exec_fair@[email protected]
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-kbl4/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-throttle@rcs0:
- shard-glk: [FAIL][88] ([i915#2842]) -> [PASS][89]
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10916/shard-glk9/igt@gem_exec_fair@[email protected]
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-glk7/igt@gem_exec_fair@[email protected]

* igt@gem_workarounds@suspend-resume-context:
- shard-apl: [DMESG-WARN][90] ([i915#180]) -> [PASS][91] +3 similar issues
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10916/shard-apl4/igt@[email protected]
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-apl4/igt@[email protected]

* igt@i915_pm_dc@dc6-psr:
- shard-iclb: [FAIL][92] ([i915#454]) -> [PASS][93]
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10916/shard-iclb3/igt@[email protected]
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-iclb5/igt@[email protected]

* igt@i915_pm_rc6_residency@rc6-fence:
- shard-tglb: [WARN][94] ([i915#2681] / [i915#2684]) -> [PASS][95]
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10916/shard-tglb1/igt@[email protected]
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-tglb6/igt@[email protected]

* igt@i915_selftest@live@hangcheck:
- shard-snb: [INCOMPLETE][96] ([i915#3921]) -> [PASS][97]
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10916/shard-snb6/igt@i915_selftest@[email protected]
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-snb5/igt@i915_selftest@[email protected]

* igt@kms_big_fb@y-tiled-32bpp-rotate-0:
- shard-glk: [DMESG-WARN][98] ([i915#118]) -> [PASS][99] +2 similar issues
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10916/shard-glk9/igt@[email protected]
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-glk7/igt@[email protected]

* igt@kms_ccs@pipe-a-crc-primary-rotation-180-yf_tiled_ccs:
- shard-glk: [DMESG-WARN][100] ([i915#118] / [i915#1888]) -> [PASS][101]
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10916/shard-glk4/igt@kms_ccs@pipe-a-crc-primary-rotation-180-yf_tiled_ccs.html
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-glk9/igt@kms_ccs@pipe-a-crc-primary-rotation-180-yf_tiled_ccs.html

* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size:
- shard-iclb: [FAIL][102] ([i915#2346]) -> [PASS][103]
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10916/shard-iclb7/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-iclb6/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html

* igt@kms_cursor_legacy@pipe-b-forked-bo:
- shard-kbl: [INCOMPLETE][104] -> [PASS][105]
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10916/shard-kbl7/igt@[email protected]
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-kbl6/igt@[email protected]

* igt@kms_draw_crc@draw-method-rgb565-pwrite-ytiled:
- shard-glk: [FAIL][106] -> [PASS][107]
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10916/shard-glk9/igt@[email protected]
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-glk7/igt@[email protected]

* igt@kms_fbcon_fbt@fbc-suspend:
- shard-kbl: [INCOMPLETE][108] ([i915#180] / [i915#636]) -> [PASS][109]
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10916/shard-kbl6/igt@[email protected]
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-kbl2/igt@[email protected]

* igt@kms_flip@flip-vs-expired-vblank@b-hdmi-a1:
- shard-glk: [FAIL][110] ([i915#79]) -> [PASS][111] +1 similar issue
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10916/shard-glk9/igt@kms_flip@[email protected]
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-glk7/igt@kms_flip@[email protected]

* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-16bpp-ytile:
- shard-iclb: [SKIP][112] ([i915#3701]) -> [PASS][113]
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10916/shard-iclb2/igt@[email protected]
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-iclb7/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-2p-pri-indfb-multidraw:
- shard-glk: [FAIL][114] ([i915#2546]) -> [PASS][115]
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10916/shard-glk1/igt@[email protected]
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-glk3/igt@[email protected]

* igt@kms_hdr@bpc-switch-suspend:
- shard-tglb: [INCOMPLETE][116] ([i915#1373] / [i915#2828]) -> [PASS][117]
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10916/shard-tglb7/igt@[email protected]
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-tglb5/igt@[email protected]

* igt@kms_psr@psr2_cursor_plane_onoff:
- shard-iclb: [SKIP][118] ([fdo#109441]) -> [PASS][119] +3 similar issues
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10916/shard-iclb6/igt@kms_psr@psr2_cursor_plane_onoff.html
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-iclb2/igt@kms_psr@psr2_cursor_plane_onoff.html

* igt@perf@short-reads:
- shard-skl: [FAIL][120] ([i915#51]) -> [PASS][121]
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10916/shard-skl10/igt@[email protected]
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-skl4/igt@[email protected]

#### Warnings ####

* igt@i915_pm_rc6_residency@rc6-fence:
- shard-iclb: [WARN][122] ([i915#2684]) -> [WARN][123] ([i915#1804] / [i915#2684])
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10916/shard-iclb2/igt@[email protected]
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-iclb7/igt@[email protected]

* igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area-1:
- shard-iclb: [SKIP][124] ([i915#2920]) -> [SKIP][125] ([i915#658]) +3 similar issues
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10916/shard-iclb2/igt@[email protected]
[125]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-iclb7/igt@[email protected]

* igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area-4:
- shard-iclb: [SKIP][126] ([i915#658]) -> [SKIP][127] ([i915#2920]) +1 similar issue
[126]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10916/shard-iclb4/igt@[email protected]
[127]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-iclb2/igt@[email protected]

* igt@kms_psr2_su@page_flip:
- shard-iclb: [FAIL][128] ([i915#4148]) -> [SKIP][129] ([fdo#109642] / [fdo#111068] / [i915#658])
[128]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10916/shard-iclb2/igt@kms_psr2_su@page_flip.html
[129]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-iclb7/igt@kms_psr2_su@page_flip.html

* igt@runner@aborted:
- shard-kbl: ([FAIL][130], [FAIL][131], [FAIL][132], [FAIL][133]) ([i915#180] / [i915#1814] / [i915#3002] / [i915#3363] / [i915#4312] / [i915#602] / [i915#92]) -> ([FAIL][134], [FAIL][135], [FAIL][136], [FAIL][137], [FAIL][138], [FAIL][139], [FAIL][140]) ([i915#1436] / [i915#180] / [i915#1814] / [i915#3002] / [i915#3363] / [i915#4312] / [i915#602])
[130]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10916/shard-kbl6/igt@[email protected]
[131]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10916/shard-kbl6/igt@[email protected]
[132]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10916/shard-kbl6/igt@[email protected]
[133]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10916/shard-kbl2/igt@[email protected]
[134]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-kbl4/igt@[email protected]
[135]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-kbl6/igt@[email protected]
[136]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-kbl6/igt@[email protected]
[137]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-kbl6/igt@[email protected]
[138]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-kbl6/igt@[email protected]
[139]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-kbl6/igt@[email protected]
[140]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/shard-kbl6/igt@[email protected]
- shard-apl: ([FAIL][141], [FAIL][142], [FAIL][143], [FAIL][144], [FAIL][145], [FAIL][146], [FAIL][147], [FAIL][148]) ([fdo#109271] / [i915#180] / [i915#3002] / [i915#3363] / [i915#4312]) -> ([FAIL][149], [FAIL][150], [FAIL][151], [FAIL][152], [FAIL][153], [FAIL][154], [FAIL][155], [FAIL][156]) ([fdo#109271] / [i915#180] / [i915#1814] / [i915#3002] / [i915#3363] / [i915#4312])
[141]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10916/shard-apl8/igt@[email protected]
[142]: https://intel-g

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21659/index.html