drm/fourcc: define Intel Meteorlake related ccs modifiers
PATCH 1/2 drm/fourcc: define Intel Meteorlake related ccs modifiers
Add Tile4 type ccs modifiers with aux buffer needed for MTL
--- include/uapi/drm/drm_fourcc.h | 43 +++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+)
include/uapi/drm/drm_fourcc.h +43 -0
@@ -657,6 +657,49 @@ extern "C" {*/ #define I915_FORMAT_MOD_4_TILED_DG2_RC_CCS_CC fourcc_mod_code(INTEL, 12) +/* +* Intel color control surfaces (CCS) for display ver 14 render compression. +* +* The main surface is tile4 and at plane index 0, the CCS is linear and +* at index 1. A 64B CCS cache line corresponds to an area of 4x1 tiles in +* main surface. In other words, 4 bits in CCS map to a main surface cache +* line pair. The main surface pitch is required to be a multiple of four +* tile4 widths. +*/ +#define I915_FORMAT_MOD_4_TILED_MTL_RC_CCS fourcc_mod_code(INTEL, 13) + +/* +* Intel color control surfaces (CCS) for display ver 14 media compression +* +* The main surface is tile4 and at plane index 0, the CCS is linear and +* at index 1. A 64B CCS cache line corresponds to an area of 4x1 tiles in +* main surface. In other words, 4 bits in CCS map to a main surface cache +* line pair. The main surface pitch is required to be a multiple of four +* tile4 widths. For semi-planar formats like NV12, CCS planes follow the +* Y and UV planes i.e., planes 0 and 1 are used for Y and UV surfaces, +* planes 2 and 3 for the respective CCS. +*/ +#define I915_FORMAT_MOD_4_TILED_MTL_MC_CCS fourcc_mod_code(INTEL, 14) + +/* +* Intel Color Control Surface with Clear Color (CCS) for display ver 14 render +* compression. +* +* The main surface is tile4 and is at plane index 0 whereas CCS is linear +* and at index 1. The clear color is stored at index 2, and the pitch should +* be ignored. The clear color structure is 256 bits. The first 128 bits +* represents Raw Clear Color Red, Green, Blue and Alpha color each represented +* by 32 bits. The raw clear color is consumed by the 3d engine and generates +* the converted clear color of size 64 bits. The first 32 bits store the Lower +* Converted Clear Color value and the next 32 bits store the Higher Converted +* Clear Color value when applicable. The Converted Clear Color values are +* consumed by the DE. The last 64 bits are used to store Color Discard Enable +* and Depth Clear Value Valid which are ignored by the DE. A CCS cache line +* corresponds to an area of 4x1 tiles in the main surface. The main surface +* pitch is required to be a multiple of 4 tile widths. +*/ +#define I915_FORMAT_MOD_4_TILED_MTL_RC_CCS_CC fourcc_mod_code(INTEL, 15) +/* * Tiled, NV12MT, grouped in 64 (pixels) x 32 (lines) -sized macroblocks *
Signature · 1 line
2.25.1
PATCH 2/2 drm/i915/mtl: Add handling for MTL ccs modifiers
Add Tile4 ccs modifiers w/ auxbuffer handling
--- drivers/gpu/drm/i915/display/intel_fb.c | 42 ++++++++++++++++++- .../drm/i915/display/skl_universal_plane.c | 22 +++++++++- 2 files changed, 61 insertions(+), 3 deletions(-)
drivers/gpu/drm/i915/display/intel_fb.c +41 -1
@@ -157,6 +157,32 @@ struct intel_modifier_desc {static const struct intel_modifier_desc intel_modifiers[] = { { + .modifier =I915_FORMAT_MOD_4_TILED_MTL_MC_CCS , + .display_ver = {14 ,14 }, + .plane_caps =INTEL_PLANE_CAP_TILING_4 |INTEL_PLANE_CAP_CCS_MC , + + .ccs.packed_aux_planes =BIT (1 ), + .ccs.planar_aux_planes =BIT (2 ) |BIT (3 ), + +FORMAT_OVERRIDE (gen12_ccs_formats), + }, { + .modifier =I915_FORMAT_MOD_4_TILED_MTL_RC_CCS , + .display_ver = {14 ,14 }, + .plane_caps =INTEL_PLANE_CAP_TILING_4 |INTEL_PLANE_CAP_CCS_RC , + + .ccs.packed_aux_planes =BIT (1 ), + +FORMAT_OVERRIDE (gen12_ccs_formats), + }, { + .modifier =I915_FORMAT_MOD_4_TILED_MTL_RC_CCS_CC , + .display_ver = {14 ,14 }, + .plane_caps =INTEL_PLANE_CAP_TILING_4 |INTEL_PLANE_CAP_CCS_RC_CC , + + .ccs.cc_planes =BIT (2 ), + .ccs.packed_aux_planes =BIT (1 ), + +FORMAT_OVERRIDE (gen12_ccs_cc_formats), + }, { .modifier =I915_FORMAT_MOD_4_TILED_DG2_MC_CCS , .display_ver = {13 ,13 }, .plane_caps =INTEL_PLANE_CAP_TILING_4 |INTEL_PLANE_CAP_CCS_MC ,
@@ -370,6 +396,14 @@ static bool plane_has_modifier(struct drm_i915_private *i915,if (!plane_caps_contain_all (plane_caps, md->plane_caps))return false; +/* +* Separate AuxCCS and Flat CCS modifiers to be run only on platforms +* where supported. +*/ +if (intel_fb_is_ccs_modifier (md->modifier) && +HAS_FLAT_CCS (i915) != !md->ccs.packed_aux_planes) +return false; +return true; }
@@ -489,7 +523,7 @@ static bool intel_fb_is_gen12_ccs_aux_plane(const struct drm_framebuffer *fb, in {const struct intel_modifier_desc *md =lookup_modifier (fb->modifier); -return check_modifier_display_ver_range (md,12 ,13 ) && +return check_modifier_display_ver_range (md,12 ,14 ) &&ccs_aux_plane_mask (md, fb->format) &BIT (color_plane); }
@@ -605,6 +639,9 @@ intel_tile_width_bytes(const struct drm_framebuffer *fb, int color_plane)if (intel_fb_is_ccs_aux_plane (fb, color_plane))return 128 ; fallthrough; +case I915_FORMAT_MOD_4_TILED_MTL_RC_CCS : +case I915_FORMAT_MOD_4_TILED_MTL_RC_CCS_CC : +case I915_FORMAT_MOD_4_TILED_MTL_MC_CCS :case I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS :case I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS_CC :case I915_FORMAT_MOD_Y_TILED_GEN12_MC_CCS :
@@ -791,6 +828,9 @@ unsigned int intel_surf_alignment(const struct drm_framebuffer *fb,case I915_FORMAT_MOD_Y_TILED_GEN12_MC_CCS :case I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS :case I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS_CC : +case I915_FORMAT_MOD_4_TILED_MTL_MC_CCS : +case I915_FORMAT_MOD_4_TILED_MTL_RC_CCS : +case I915_FORMAT_MOD_4_TILED_MTL_RC_CCS_CC :return 16 *1024 ;case I915_FORMAT_MOD_Y_TILED_CCS :case I915_FORMAT_MOD_Yf_TILED_CCS:
drivers/gpu/drm/i915/display/skl_universal_plane.c +20 -2
@@ -789,6 +789,14 @@ static u32 skl_plane_ctl_tiling(u64 fb_modifier)PLANE_CTL_CLEAR_COLOR_DISABLE ;case I915_FORMAT_MOD_4_TILED_DG2_RC_CCS_CC :return PLANE_CTL_TILED_4 |PLANE_CTL_RENDER_DECOMPRESSION_ENABLE ; +case I915_FORMAT_MOD_4_TILED_MTL_RC_CCS : +return PLANE_CTL_TILED_4 | +PLANE_CTL_RENDER_DECOMPRESSION_ENABLE | +PLANE_CTL_CLEAR_COLOR_DISABLE ; +case I915_FORMAT_MOD_4_TILED_MTL_RC_CCS_CC : +return PLANE_CTL_TILED_4 |PLANE_CTL_RENDER_DECOMPRESSION_ENABLE ; +case I915_FORMAT_MOD_4_TILED_MTL_MC_CCS : +return PLANE_CTL_TILED_4 |PLANE_CTL_MEDIA_DECOMPRESSION_ENABLE ;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 ;
@@ -2160,6 +2168,11 @@ skl_plane_disable_flip_done(struct intel_plane *plane)static bool skl_plane_has_rc_ccs (struct drm_i915_private *i915,enum pipe pipe,enum plane_id plane_id) { +/* Wa_14017240301 */ +if (IS_MTL_GRAPHICS_STEP (i915,M ,STEP_A0 ,STEP_B0 ) || +IS_MTL_GRAPHICS_STEP (i915,P ,STEP_A0 ,STEP_B0 )) +return false; +/* Wa_22011186057 */ if (IS_ADLP_DISPLAY_STEP (i915,STEP_A0 ,STEP_B0 ))return false;
@@ -2441,12 +2454,17 @@ skl_get_initial_plane_config(struct intel_crtc *crtc,case PLANE_CTL_TILED_Y : plane_config->tiling =I915_TILING_Y ;if (val &PLANE_CTL_RENDER_DECOMPRESSION_ENABLE ) -if (DISPLAY_VER (dev_priv) >=12 ) +if (DISPLAY_VER (dev_priv) >=14 ) + fb->modifier =I915_FORMAT_MOD_4_TILED_MTL_RC_CCS ; +else if (DISPLAY_VER (dev_priv) >=12 ) fb->modifier =I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS ;else fb->modifier =I915_FORMAT_MOD_Y_TILED_CCS ;else if (val &PLANE_CTL_MEDIA_DECOMPRESSION_ENABLE ) - fb->modifier =I915_FORMAT_MOD_Y_TILED_GEN12_MC_CCS ; +if (DISPLAY_VER (dev_priv) >=14 ) + fb->modifier =I915_FORMAT_MOD_4_TILED_MTL_MC_CCS ; +else + fb->modifier =I915_FORMAT_MOD_Y_TILED_GEN12_MC_CCS ;else fb->modifier =I915_FORMAT_MOD_Y_TILED ;break ;
Signature · 1 line
2.25.1
Patchwork
CI[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/2] drm/fourcc: define Intel Meteorlake related ccs modifiers
In reply to Juha-Pekka Heikkila== Series Details ==
== Series Details ==
Series: series starting with [1/2] drm/fourcc: define Intel Meteorlake related ccs modifiers
URL : https://patchwork.freedesktop.org/series/117522/
State : warning
== Summary ==
Error: dim checkpatch faileda5f7e473fdd1 drm/fourcc: define Intel Meteorlake related ccs modifiers 43619dc33a48 drm/i915/mtl: Add handling for MTL ccs modifiers -:57: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #57: FILE: drivers/gpu/drm/i915/display/intel_fb.c:404:
+ if (intel_fb_is_ccs_modifier(md->modifier) &&
+ HAS_FLAT_CCS(i915) != !md->ccs.packed_aux_planes)
total: 0 errors, 0 warnings, 1 checks, 116 lines checked
Patchwork
CI[Intel-gfx] ✗ Fi.CI.SPARSE: warning for series starting with [1/2] drm/fourcc: define Intel Meteorlake related ccs modifiers
In reply to Juha-Pekka Heikkila== Series Details ==
== Series Details ==
Series: series starting with [1/2] drm/fourcc: define Intel Meteorlake related ccs modifiers
URL : https://patchwork.freedesktop.org/series/117522/
State : warning
== Summary ==
Error: dim sparse failed
Sparse version: v0.6.2
Fast mode used, each commit won't be checked separately.
Patchwork
CI[Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [1/2] drm/fourcc: define Intel Meteorlake related ccs modifiers
In reply to Juha-Pekka Heikkila== Series Details ==
== Series Details ==
Series: series starting with [1/2] drm/fourcc: define Intel Meteorlake related ccs modifiers
URL : https://patchwork.freedesktop.org/series/117522/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_13128 -> Patchwork_117522v1
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_117522v1/index.html
Participating hosts (40 -> 40)
------------------------------
Additional (1): fi-kbl-soraka
Missing (1): fi-snb-2520m
Known issues
------------
Here are the changes found in Patchwork_117522v1 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_huc_copy@huc-copy:
- fi-kbl-soraka: NOTRUN -> [SKIP][1] ([fdo#109271] / [i915#2190])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_117522v1/fi-kbl-soraka/igt@[email protected]
* igt@gem_lmem_swapping@basic:
- fi-kbl-soraka: NOTRUN -> [SKIP][2] ([fdo#109271] / [i915#4613]) +3 similar issues
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_117522v1/fi-kbl-soraka/igt@[email protected]
* igt@gem_lmem_swapping@verify-random:
- fi-cfl-8109u: NOTRUN -> [SKIP][3] ([fdo#109271] / [i915#4613]) +3 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_117522v1/fi-cfl-8109u/igt@[email protected]
* igt@i915_pm_backlight@basic-brightness@edp-1:
- bat-rplp-1: NOTRUN -> [ABORT][4] ([i915#7077])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_117522v1/bat-rplp-1/igt@i915_pm_backlight@[email protected]
* igt@i915_selftest@live@gt_pm:
- fi-kbl-soraka: NOTRUN -> [DMESG-FAIL][5] ([i915#1886] / [i915#7913])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_117522v1/fi-kbl-soraka/igt@i915_selftest@live@gt_pm.html
* igt@i915_selftest@live@requests:
- bat-rpls-1: [PASS][6] -> [ABORT][7] ([i915#4983] / [i915#7911] / [i915#7920] / [i915#7953])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13128/bat-rpls-1/igt@i915_selftest@[email protected]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_117522v1/bat-rpls-1/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@slpc:
- bat-rpls-2: NOTRUN -> [DMESG-WARN][8] ([i915#6367])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_117522v1/bat-rpls-2/igt@i915_selftest@[email protected]
* igt@i915_suspend@basic-s2idle-without-i915:
- bat-rpls-2: NOTRUN -> [ABORT][9] ([i915#6687])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_117522v1/bat-rpls-2/igt@[email protected]
* igt@kms_chamelium_frames@hdmi-crc-fast:
- fi-cfl-8109u: NOTRUN -> [SKIP][10] ([fdo#109271]) +18 similar issues
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_117522v1/fi-cfl-8109u/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic:
- fi-kbl-soraka: NOTRUN -> [SKIP][11] ([fdo#109271]) +16 similar issues
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_117522v1/fi-kbl-soraka/igt@[email protected]
* igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence:
- bat-dg2-11: NOTRUN -> [SKIP][12] ([i915#1845] / [i915#5354]) +2 similar issues
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_117522v1/bat-dg2-11/igt@[email protected]
* igt@kms_pipe_crc_basic@nonblocking-crc@pipe-d-dp-1:
- bat-dg2-8: [PASS][13] -> [FAIL][14] ([i915#7932])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13128/bat-dg2-8/igt@kms_pipe_crc_basic@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_117522v1/bat-dg2-8/igt@kms_pipe_crc_basic@[email protected]
#### Possible fixes ####
* igt@i915_selftest@live@requests:
- {bat-mtlp-8}: [ABORT][15] ([i915#4983] / [i915#7920] / [i915#7953]) -> [PASS][16]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13128/bat-mtlp-8/igt@i915_selftest@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_117522v1/bat-mtlp-8/igt@i915_selftest@[email protected]
- bat-rpls-2: [ABORT][17] ([i915#4983] / [i915#7913]) -> [PASS][18]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13128/bat-rpls-2/igt@i915_selftest@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_117522v1/bat-rpls-2/igt@i915_selftest@[email protected]
- {bat-mtlp-6}: [ABORT][19] ([i915#4983] / [i915#7920] / [i915#7953]) -> [PASS][20]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13128/bat-mtlp-6/igt@i915_selftest@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_117522v1/bat-mtlp-6/igt@i915_selftest@[email protected]
* igt@kms_busy@basic@modeset:
- fi-cfl-8109u: [INCOMPLETE][21] -> [PASS][22]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13128/fi-cfl-8109u/igt@kms_busy@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_117522v1/fi-cfl-8109u/igt@kms_busy@[email protected]
* igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence@pipe-d-dp-1:
- bat-dg2-8: [FAIL][23] ([i915#7932]) -> [PASS][24]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13128/bat-dg2-8/igt@kms_pipe_crc_basic@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_117522v1/bat-dg2-8/igt@kms_pipe_crc_basic@[email protected]
#### Warnings ####
* igt@kms_setmode@basic-clone-single-crtc:
- bat-rplp-1: [ABORT][25] -> [SKIP][26] ([i915#3555] / [i915#4579])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13128/bat-rplp-1/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_117522v1/bat-rplp-1/igt@[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
[i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845
[i915#1886]: https://gitlab.freedesktop.org/drm/intel/issues/1886
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#4078]: https://gitlab.freedesktop.org/drm/intel/issues/4078
[i915#4579]: https://gitlab.freedesktop.org/drm/intel/issues/4579
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983
[i915#5354]: https://gitlab.freedesktop.org/drm/intel/issues/5354
[i915#6367]: https://gitlab.freedesktop.org/drm/intel/issues/6367
[i915#6645]: https://gitlab.freedesktop.org/drm/intel/issues/6645
[i915#6687]: https://gitlab.freedesktop.org/drm/intel/issues/6687
[i915#7077]: https://gitlab.freedesktop.org/drm/intel/issues/7077
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#7911]: https://gitlab.freedesktop.org/drm/intel/issues/7911
[i915#7913]: https://gitlab.freedesktop.org/drm/intel/issues/7913
[i915#7920]: https://gitlab.freedesktop.org/drm/intel/issues/7920
[i915#7932]: https://gitlab.freedesktop.org/drm/intel/issues/7932
[i915#7953]: https://gitlab.freedesktop.org/drm/intel/issues/7953
Build changes
-------------
* Linux: CI_DRM_13128 -> Patchwork_117522v1
CI-20190529: 20190529
CI_DRM_13128: 31e3463b0edba64934bfd9e8fdbebeab1676d3eb @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7283: ce51f53938690f581b315fa045d41155a5c6ecd3 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_117522v1: 31e3463b0edba64934bfd9e8fdbebeab1676d3eb @ git://anongit.freedesktop.org/gfx-ci/linux
### Linux commits
a36c6e0d1ce6 drm/i915/mtl: Add handling for MTL ccs modifiers 4d6b87283b23 drm/fourcc: define Intel Meteorlake related ccs modifiers
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_117522v1/index.html
Patchwork
CI[Intel-gfx] ✓ Fi.CI.IGT: success for series starting with [1/2] drm/fourcc: define Intel Meteorlake related ccs modifiers
In reply to Juha-Pekka Heikkila== Series Details ==
== Series Details ==
Series: series starting with [1/2] drm/fourcc: define Intel Meteorlake related ccs modifiers
URL : https://patchwork.freedesktop.org/series/117522/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_13128_full -> Patchwork_117522v1_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (7 -> 7)
------------------------------
No changes in participating hosts
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_117522v1_full:
### IGT changes ###
#### Suppressed ####
The following results come from untrusted machines, tests, or statuses. They do not affect the overall result.
* igt@kms_rotation_crc@multiplane-rotation-cropping-bottom:
- {shard-dg1}: [PASS][1] -> [INCOMPLETE][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13128/shard-dg1-17/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_117522v1/shard-dg1-13/igt@[email protected]
Known issues
------------
Here are the changes found in Patchwork_117522v1_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_huc_copy@huc-copy:
- shard-glk: NOTRUN -> [SKIP][3] ([fdo#109271] / [i915#2190])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_117522v1/shard-glk6/igt@[email protected]
* igt@kms_ccs@pipe-c-crc-primary-basic-y_tiled_gen12_mc_ccs:
- shard-apl: NOTRUN -> [SKIP][4] ([fdo#109271] / [i915#3886]) +1 similar issue
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_117522v1/shard-apl1/igt@kms_ccs@pipe-c-crc-primary-basic-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-c-crc-sprite-planes-basic-y_tiled_gen12_rc_ccs_cc:
- shard-glk: NOTRUN -> [SKIP][5] ([fdo#109271] / [i915#3886]) +1 similar issue
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_117522v1/shard-glk6/igt@kms_ccs@pipe-c-crc-sprite-planes-basic-y_tiled_gen12_rc_ccs_cc.html
* igt@kms_ccs@pipe-d-crc-sprite-planes-basic-4_tiled_dg2_rc_ccs:
- shard-apl: NOTRUN -> [SKIP][6] ([fdo#109271]) +11 similar issues
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_117522v1/shard-apl1/igt@kms_ccs@pipe-d-crc-sprite-planes-basic-4_tiled_dg2_rc_ccs.html
* igt@kms_content_protection@lic@pipe-a-dp-1:
- shard-apl: NOTRUN -> [TIMEOUT][7] ([i915#7173])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_117522v1/shard-apl1/igt@kms_content_protection@[email protected]
* igt@kms_flip@flip-vs-expired-vblank-interruptible@a-hdmi-a1:
- shard-glk: [PASS][8] -> [FAIL][9] ([i915#2122])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13128/shard-glk2/igt@kms_flip@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_117522v1/shard-glk4/igt@kms_flip@[email protected]
* igt@kms_psr2_su@page_flip-xrgb8888:
- shard-apl: NOTRUN -> [SKIP][10] ([fdo#109271] / [i915#658])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_117522v1/shard-apl1/igt@kms_psr2_su@page_flip-xrgb8888.html
* igt@kms_vrr@negative-basic:
- shard-glk: NOTRUN -> [SKIP][11] ([fdo#109271]) +18 similar issues
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_117522v1/shard-glk6/igt@[email protected]
#### Possible fixes ####
* igt@gem_exec_fair@basic-pace-solo@rcs0:
- {shard-rkl}: [FAIL][12] ([i915#2842]) -> [PASS][13]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13128/shard-rkl-3/igt@gem_exec_fair@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_117522v1/shard-rkl-1/igt@gem_exec_fair@[email protected]
* igt@gem_lmem_swapping@smem-oom@lmem0:
- {shard-dg1}: [DMESG-WARN][14] ([i915#4936] / [i915#5493]) -> [PASS][15]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13128/shard-dg1-14/igt@gem_lmem_swapping@[email protected]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_117522v1/shard-dg1-14/igt@gem_lmem_swapping@[email protected]
* igt@i915_module_load@reload-with-fault-injection:
- {shard-dg1}: [DMESG-WARN][16] ([i915#8420]) -> [PASS][17]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13128/shard-dg1-16/igt@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_117522v1/shard-dg1-14/igt@[email protected]
* igt@i915_pm_lpsp@kms-lpsp@kms-lpsp-hdmi-a:
- {shard-rkl}: [SKIP][18] ([i915#1937]) -> [PASS][19]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13128/shard-rkl-2/igt@i915_pm_lpsp@[email protected]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_117522v1/shard-rkl-7/igt@i915_pm_lpsp@[email protected]
* igt@i915_pm_rpm@dpms-non-lpsp:
- {shard-rkl}: [SKIP][20] ([i915#1397]) -> [PASS][21] +1 similar issue
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13128/shard-rkl-7/igt@[email protected]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_117522v1/shard-rkl-2/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size:
- shard-apl: [FAIL][22] ([i915#2346]) -> [PASS][23] +1 similar issue
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13128/shard-apl4/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_117522v1/shard-apl7/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html
* igt@kms_flip@2x-plain-flip-fb-recreate@bc-hdmi-a1-hdmi-a2:
- shard-glk: [FAIL][24] ([i915#2122]) -> [PASS][25] +1 similar issue
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13128/shard-glk4/igt@kms_flip@[email protected]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_117522v1/shard-glk7/igt@kms_flip@[email protected]
* igt@kms_hdr@bpc-switch-suspend@pipe-a-dp-1:
- shard-apl: [ABORT][26] -> [PASS][27]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13128/shard-apl1/igt@kms_hdr@[email protected]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_117522v1/shard-apl1/igt@kms_hdr@[email protected]
* igt@perf@stress-open-close@0-rcs0:
- shard-glk: [ABORT][28] ([i915#5213] / [i915#7941]) -> [PASS][29]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13128/shard-glk1/igt@perf@[email protected]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_117522v1/shard-glk6/igt@perf@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#103375]: https://bugs.freedesktop.org/show_bug.cgi?id=103375
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1397]: https://gitlab.freedesktop.org/drm/intel/issues/1397
[i915#1937]: https://gitlab.freedesktop.org/drm/intel/issues/1937
[i915#2122]: https://gitlab.freedesktop.org/drm/intel/issues/2122
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2346]: https://gitlab.freedesktop.org/drm/intel/issues/2346
[i915#2681]: https://gitlab.freedesktop.org/drm/intel/issues/2681
[i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842
[i915#2846]: https://gitlab.freedesktop.org/drm/intel/issues/2846
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3591]: https://gitlab.freedesktop.org/drm/intel/issues/3591
[i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886
[i915#3955]: https://gitlab.freedesktop.org/drm/intel/issues/3955
[i915#4070]: https://gitlab.freedesktop.org/drm/intel/issues/4070
[i915#4078]: https://gitlab.freedesktop.org/drm/intel/issues/4078
[i915#4579]: https://gitlab.freedesktop.org/drm/intel/issues/4579
[i915#4816]: https://gitlab.freedesktop.org/drm/intel/issues/4816
[i915#4936]: https://gitlab.freedesktop.org/drm/intel/issues/4936
[i915#5176]: https://gitlab.freedesktop.org/drm/intel/issues/5176
[i915#5213]: https://gitlab.freedesktop.org/drm/intel/issues/5213
[i915#5235]: https://gitlab.freedesktop.org/drm/intel/issues/5235
[i915#5493]: https://gitlab.freedesktop.org/drm/intel/issues/5493
[i915#6268]: https://gitlab.freedesktop.org/drm/intel/issues/6268
[i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
[i915#6786]: https://gitlab.freedesktop.org/drm/intel/issues/6786
[i915#7173]: https://gitlab.freedesktop.org/drm/intel/issues/7173
[i915#7742]: https://gitlab.freedesktop.org/drm/intel/issues/7742
[i915#7941]: https://gitlab.freedesktop.org/drm/intel/issues/7941
[i915#7953]: https://gitlab.freedesktop.org/drm/intel/issues/7953
[i915#8211]: https://gitlab.freedesktop.org/drm/intel/issues/8211
[i915#8234]: https://gitlab.freedesktop.org/drm/intel/issues/8234
[i915#8420]: https://gitlab.freedesktop.org/drm/intel/issues/8420
Build changes
-------------
* Linux: CI_DRM_13128 -> Patchwork_117522v1
CI-20190529: 20190529
CI_DRM_13128: 31e3463b0edba64934bfd9e8fdbebeab1676d3eb @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7283: ce51f53938690f581b315fa045d41155a5c6ecd3 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_117522v1: 31e3463b0edba64934bfd9e8fdbebeab1676d3eb @ git://anongit.freedesktop.org/gfx-ci/linux
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_117522v1/index.html
Jani Nikula
maintainerQuoted 1 line · Juha-Pekka Heikkila
Add Tile4 type ccs modifiers with aux buffer needed for MTL
Please send this Cc: dri-devel too.
BR,
Jani.
Quoted 60 lines
Signed-off-by Juha-Pekka Heikkila <[email protected]>--- include/uapi/drm/drm_fourcc.h | 43 +++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+)include/uapi/drm/drm_fourcc.h +43
-0@@ -657,6 +657,49 @@ extern "C" {*/ #define I915_FORMAT_MOD_4_TILED_DG2_RC_CCS_CC fourcc_mod_code(INTEL, 12) +/* +* Intel color control surfaces (CCS) for display ver 14 render compression. +* +* The main surface is tile4 and at plane index 0, the CCS is linear and +* at index 1. A 64B CCS cache line corresponds to an area of 4x1 tiles in +* main surface. In other words, 4 bits in CCS map to a main surface cache +* line pair. The main surface pitch is required to be a multiple of four +* tile4 widths. +*/ +#define I915_FORMAT_MOD_4_TILED_MTL_RC_CCS fourcc_mod_code(INTEL, 13) + +/* +* Intel color control surfaces (CCS) for display ver 14 media compression +* +* The main surface is tile4 and at plane index 0, the CCS is linear and +* at index 1. A 64B CCS cache line corresponds to an area of 4x1 tiles in +* main surface. In other words, 4 bits in CCS map to a main surface cache +* line pair. The main surface pitch is required to be a multiple of four +* tile4 widths. For semi-planar formats like NV12, CCS planes follow the +* Y and UV planes i.e., planes 0 and 1 are used for Y and UV surfaces, +* planes 2 and 3 for the respective CCS. +*/ +#define I915_FORMAT_MOD_4_TILED_MTL_MC_CCS fourcc_mod_code(INTEL, 14) + +/* +* Intel Color Control Surface with Clear Color (CCS) for display ver 14 render +* compression. +* +* The main surface is tile4 and is at plane index 0 whereas CCS is linear +* and at index 1. The clear color is stored at index 2, and the pitch should +* be ignored. The clear color structure is 256 bits. The first 128 bits +* represents Raw Clear Color Red, Green, Blue and Alpha color each represented +* by 32 bits. The raw clear color is consumed by the 3d engine and generates +* the converted clear color of size 64 bits. The first 32 bits store the Lower +* Converted Clear Color value and the next 32 bits store the Higher Converted +* Clear Color value when applicable. The Converted Clear Color values are +* consumed by the DE. The last 64 bits are used to store Color Discard Enable +* and Depth Clear Value Valid which are ignored by the DE. A CCS cache line +* corresponds to an area of 4x1 tiles in the main surface. The main surface +* pitch is required to be a multiple of 4 tile widths. +*/ +#define I915_FORMAT_MOD_4_TILED_MTL_RC_CCS_CC fourcc_mod_code(INTEL, 15) +/* * Tiled, NV12MT, grouped in 64 (pixels) x 32 (lines) -sized macroblocks *
Signature · 1 line
Jani Nikula, Intel Open Source Graphics Center
Quoted 4 lines · Jani Nikula
Quoted 1 line · Juha-Pekka Heikkila
Add Tile4 type ccs modifiers with aux buffer needed for MTL
Please send this Cc: dri-devel too.
Sure, I'll resend shortly. Here I just didn't want to spam dri-devel since from original set this patch is already sent there and didn't get any changes since that.
/Juha-Pekka
Quoted 62 lines
Quoted 61 lines
Signed-off-by Juha-Pekka Heikkila <[email protected]>--- include/uapi/drm/drm_fourcc.h | 43 +++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+)include/uapi/drm/drm_fourcc.h +43
-0@@ -657,6 +657,49 @@ extern "C" {*/ #define I915_FORMAT_MOD_4_TILED_DG2_RC_CCS_CC fourcc_mod_code(INTEL, 12) +/* +* Intel color control surfaces (CCS) for display ver 14 render compression. +* +* The main surface is tile4 and at plane index 0, the CCS is linear and +* at index 1. A 64B CCS cache line corresponds to an area of 4x1 tiles in +* main surface. In other words, 4 bits in CCS map to a main surface cache +* line pair. The main surface pitch is required to be a multiple of four +* tile4 widths. +*/ +#define I915_FORMAT_MOD_4_TILED_MTL_RC_CCS fourcc_mod_code(INTEL, 13) + +/* +* Intel color control surfaces (CCS) for display ver 14 media compression +* +* The main surface is tile4 and at plane index 0, the CCS is linear and +* at index 1. A 64B CCS cache line corresponds to an area of 4x1 tiles in +* main surface. In other words, 4 bits in CCS map to a main surface cache +* line pair. The main surface pitch is required to be a multiple of four +* tile4 widths. For semi-planar formats like NV12, CCS planes follow the +* Y and UV planes i.e., planes 0 and 1 are used for Y and UV surfaces, +* planes 2 and 3 for the respective CCS. +*/ +#define I915_FORMAT_MOD_4_TILED_MTL_MC_CCS fourcc_mod_code(INTEL, 14) + +/* +* Intel Color Control Surface with Clear Color (CCS) for display ver 14 render +* compression. +* +* The main surface is tile4 and is at plane index 0 whereas CCS is linear +* and at index 1. The clear color is stored at index 2, and the pitch should +* be ignored. The clear color structure is 256 bits. The first 128 bits +* represents Raw Clear Color Red, Green, Blue and Alpha color each represented +* by 32 bits. The raw clear color is consumed by the 3d engine and generates +* the converted clear color of size 64 bits. The first 32 bits store the Lower +* Converted Clear Color value and the next 32 bits store the Higher Converted +* Clear Color value when applicable. The Converted Clear Color values are +* consumed by the DE. The last 64 bits are used to store Color Discard Enable +* and Depth Clear Value Valid which are ignored by the DE. A CCS cache line +* corresponds to an area of 4x1 tiles in the main surface. The main surface +* pitch is required to be a multiple of 4 tile widths. +*/ +#define I915_FORMAT_MOD_4_TILED_MTL_RC_CCS_CC fourcc_mod_code(INTEL, 15) +/* * Tiled, NV12MT, grouped in 64 (pixels) x 32 (lines) -sized macroblocks *