Skip to contentSkip to conversation

lib/intel_bufops: Fix CCS plane width calculation

PATCH In review Imre Deak 3 participants 6 messages May 1, 2021 – May 3, 2021 Library code

lore
Share & tools
lore

Imre Deak

author
#0 lore raw

PATCH 1/3 lib/intel_bufops: Fix CCS plane width calculation

The CCS plane width calculation was correct only for 32bpp formats, where a 64 byte CCS unit maps to a 4 tiles * 32 pixel width on the main surface, but for other bpps the same CCS unit maps to a
(4 tiles * 128 bytes / (bpp/8 bytes/pixel)) width. Fix the width calculation accordingly.

---
 lib/intel_bufops.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/intel_bufops.h +1 -1
index 1a3d86925..3dc059808 100644
@@ -78,7 +78,7 @@ intel_buf_ccs_width(int gen, const struct intel_buf *buf)
 	 * main surface.
 	 */
 	if (gen >= 12)
-		return DIV_ROUND_UP(intel_buf_width(buf), 128) * 64;
+		return DIV_ROUND_UP(intel_buf_width(buf), 512 / (buf->bpp / 8)) * 64;
 
 	return DIV_ROUND_UP(intel_buf_width(buf), 1024) * 128;
 }
Signature · 6 lines
2.27.0

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
author
#1 lore raw

PATCH 2/3 lib/veboxcopy_gen12: Add support for MC_CCS/XYUV8888 conversions

Use the AYUV encodings for both the surface format and the AUX page table tag. This matches the layout of XYUV8888, except for the missing alpha channel, and this is the closest format I found in bspec.

Tested by igt/kms_plane and kms_ccs.

---
 lib/intel_aux_pgtable.c | 5 +++++
 lib/veboxcopy_gen12.c   | 8 +++++---
 2 files changed, 10 insertions(+), 3 deletions(-)
lib/intel_aux_pgtable.c +5 -0
index f29a30916..d89b0575a 100644
@@ -34,6 +34,7 @@
 #define AUX_FORMAT_YCRCB	0x03
 #define AUX_FORMAT_P010		0x07
 #define AUX_FORMAT_P016		0x08
+#define AUX_FORMAT_AYUV		0x09
 #define AUX_FORMAT_ARGB_8B	0x0A
 #define AUX_FORMAT_NV12_21	0x0F
 
@@ -305,6 +306,10 @@ static uint64_t pgt_get_l1_flags(const struct intel_buf *buf, int surface_idx)
 			entry.e.format = AUX_FORMAT_YCRCB;
 			entry.e.depth = DEPTH_VAL_RESERVED;
 			break;
+		case 32:
+			entry.e.format = AUX_FORMAT_AYUV;
+			entry.e.depth = DEPTH_VAL_RESERVED;
+			break;
 		default:
 			igt_assert(0);
 		}
lib/veboxcopy_gen12.c +5 -3
index b4cd7bddb..175644938 100644
@@ -28,6 +28,7 @@
 
 #define YCRCB_NORMAL	0
 #define PLANAR_420_8	4
+#define PACKED_444A_8	5
 #define R8G8B8A8_UNORM	8
 #define PLANAR_420_16	12
 
@@ -136,6 +137,7 @@ static bool format_is_interleaved_yuv(int format)
 {
 	switch (format) {
 	case YCRCB_NORMAL:
+	case PACKED_444A_8:
 	case PLANAR_420_8:
 	case PLANAR_420_16:
 		return true;
@@ -279,9 +281,9 @@ void gen12_vebox_copyfunc(struct intel_bb *ibb,
 							 YCRCB_NORMAL;
 		break;
 	case 32:
-		igt_assert(!src->format_is_yuv &&
-			   !src->format_is_yuv_semiplanar);
-		format = R8G8B8A8_UNORM;
+		igt_assert(!src->format_is_yuv_semiplanar);
+		format = src->format_is_yuv ? PACKED_444A_8 :
+					      R8G8B8A8_UNORM;
 		break;
 	default:
 		igt_assert_f(0, "Unsupported bpp: %u\n", src->bpp);
Signature · 6 lines
2.27.0

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
author
#2 lore raw

PATCH 3/3 tests/kms_ccs: Test the XYUV8888 format as well

In reply to Imre Deak

In addition to the rest of packed YUV formats add a subtest for XYUV8888 as well, for a coverage of calculations for 32bpp YUV formats.

---
 tests/kms_ccs.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
tests/kms_ccs.c +2 -1
index 30e0fdb54..35f3904ae 100644
@@ -80,6 +80,7 @@ static const struct {
 };
 
 static const uint32_t formats[] = {
+	DRM_FORMAT_XYUV8888,
 	DRM_FORMAT_XRGB8888,
 	DRM_FORMAT_YUYV,
 	DRM_FORMAT_NV12,
@@ -90,7 +91,7 @@ static const uint32_t formats[] = {
 static const struct {
 	uint64_t modifier;
 	const char *str;
-} ccs_modifiers[5] = {
+} ccs_modifiers[] = {
 	{LOCAL_I915_FORMAT_MOD_Y_TILED_CCS, "LOCAL_I915_FORMAT_MOD_Y_TILED_CCS"},
 	{LOCAL_I915_FORMAT_MOD_Yf_TILED_CCS, "LOCAL_I915_FORMAT_MOD_Yf_TILED_CCS"},
 	{LOCAL_I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS, "LOCAL_I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS"},
Signature · 6 lines
2.27.0

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
#3 lore raw

[igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/3] lib/intel_bufops: Fix CCS plane width calculation

In reply to Imre Deak
== Series Details ==

== Series Details ==

Series: series starting with [i-g-t,1/3] lib/intel_bufops: Fix CCS plane width calculation
URL : https://patchwork.freedesktop.org/series/89722/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_10034 -> IGTPW_5773
====================================================

Summary
-------

**SUCCESS**

No regressions found.

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

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

Here are the changes found in IGTPW_5773 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/IGTPW_5773/fi-bsw-nick/igt@amdgpu/[email protected]

* igt@amdgpu/amd_cs_nop@sync-fork-compute0:
- fi-snb-2600: NOTRUN -> [SKIP][2] ([fdo#109271]) +17 similar issues
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/fi-snb-2600/igt@amdgpu/[email protected]

* igt@kms_chamelium@dp-crc-fast:
- fi-kbl-7500u: [PASS][3] -> [FAIL][4] ([i915#1372])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10034/fi-kbl-7500u/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/fi-kbl-7500u/igt@[email protected]

#### Possible fixes ####

* igt@gem_exec_suspend@basic-s3:
- fi-tgl-u2: [FAIL][5] ([i915#1888]) -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10034/fi-tgl-u2/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/fi-tgl-u2/igt@[email protected]

* igt@i915_selftest@live@hangcheck:
- fi-snb-2600: [INCOMPLETE][7] ([i915#2782]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10034/fi-snb-2600/igt@i915_selftest@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/fi-snb-2600/igt@i915_selftest@[email protected]

* igt@i915_selftest@live@late_gt_pm:
- fi-bsw-nick: [DMESG-FAIL][9] ([i915#2927]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10034/fi-bsw-nick/igt@i915_selftest@live@late_gt_pm.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/fi-bsw-nick/igt@i915_selftest@live@late_gt_pm.html

{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#1372]: https://gitlab.freedesktop.org/drm/intel/issues/1372
[i915#1888]: https://gitlab.freedesktop.org/drm/intel/issues/1888
[i915#2782]: https://gitlab.freedesktop.org/drm/intel/issues/2782
[i915#2867]: https://gitlab.freedesktop.org/drm/intel/issues/2867
[i915#2927]: https://gitlab.freedesktop.org/drm/intel/issues/2927
[i915#3303]: https://gitlab.freedesktop.org/drm/intel/issues/3303

Participating hosts (46 -> 40)
------------------------------

Missing (6): fi-ilk-m540 fi-hsw-4200u fi-bsw-cyan fi-ctg-p8600 fi-dg1-1 fi-bdw-samus

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

* CI: CI-20190529 -> None
* IGT: IGT_6077 -> IGTPW_5773

CI-20190529: 20190529
CI_DRM_10034: 81d9afcd1e737eed4ea216976f506dfb68a59548 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_5773: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/index.html
IGT_6077: 126a3f6fc0e97786e2819085efc84e741093aed5 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools

== Logs ==

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

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#4 lore raw

[igt-dev] ✓ Fi.CI.IGT: success for series starting with [i-g-t,1/3] lib/intel_bufops: Fix CCS plane width calculation

In reply to Imre Deak
== Series Details ==

== Series Details ==

Series: series starting with [i-g-t,1/3] lib/intel_bufops: Fix CCS plane width calculation
URL : https://patchwork.freedesktop.org/series/89722/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_10034_full -> IGTPW_5773_full
====================================================

Summary
-------

**SUCCESS**

No regressions found.

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

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

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

### IGT changes ###

#### Issues hit ####

* igt@gem_create@create-clear:
- shard-glk: [PASS][1] -> [FAIL][2] ([i915#1888] / [i915#3160])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10034/shard-glk6/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-glk4/igt@[email protected]

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

* igt@gem_ctx_param@set-priority-not-supported:
- shard-tglb: NOTRUN -> [SKIP][5] ([fdo#109314])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-tglb7/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][6] ([fdo#109314])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-iclb6/igt@[email protected]

* igt@gem_ctx_persistence@legacy-engines-queued:
- shard-snb: NOTRUN -> [SKIP][7] ([fdo#109271] / [i915#1099]) +8 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-snb7/igt@[email protected]

* igt@gem_exec_fair@basic-none-share@rcs0:
- shard-iclb: [PASS][8] -> [FAIL][9] ([i915#2842]) +1 similar issue
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10034/shard-iclb7/igt@gem_exec_fair@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-iclb2/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-none@vcs0:
- shard-tglb: NOTRUN -> [FAIL][10] ([i915#2842]) +4 similar issues
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-tglb2/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-none@vecs0:
- shard-iclb: NOTRUN -> [FAIL][11] ([i915#2842]) +3 similar issues
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-iclb5/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-sync@rcs0:
- shard-kbl: [PASS][12] -> [SKIP][13] ([fdo#109271])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10034/shard-kbl2/igt@gem_exec_fair@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-kbl3/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-throttle@rcs0:
- shard-iclb: [PASS][14] -> [FAIL][15] ([i915#2849])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10034/shard-iclb7/igt@gem_exec_fair@[email protected]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-iclb4/igt@gem_exec_fair@[email protected]

* igt@gem_exec_whisper@basic-contexts-all:
- shard-glk: [PASS][16] -> [DMESG-WARN][17] ([i915#118] / [i915#95])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10034/shard-glk4/igt@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-glk8/igt@[email protected]

* igt@gem_mmap_gtt@cpuset-big-copy:
- shard-iclb: [PASS][18] -> [FAIL][19] ([i915#307])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10034/shard-iclb6/igt@[email protected]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-iclb5/igt@[email protected]

* igt@gem_mmap_offset@clear:
- shard-glk: [PASS][20] -> [FAIL][21] ([i915#3160])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10034/shard-glk8/igt@[email protected]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-glk3/igt@[email protected]

* igt@gem_pread@exhaustion:
- shard-tglb: NOTRUN -> [WARN][22] ([i915#2658])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-tglb5/igt@[email protected]
- shard-glk: NOTRUN -> [WARN][23] ([i915#2658])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-glk4/igt@[email protected]
- shard-iclb: NOTRUN -> [WARN][24] ([i915#2658])
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-iclb8/igt@[email protected]
- shard-kbl: NOTRUN -> [WARN][25] ([i915#2658])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-kbl1/igt@[email protected]

* igt@gem_render_copy@y-tiled-mc-ccs-to-vebox-y-tiled:
- shard-iclb: NOTRUN -> [SKIP][26] ([i915#768]) +1 similar issue
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-iclb3/igt@[email protected]

* igt@gem_userptr_blits@dmabuf-unsync:
- shard-tglb: NOTRUN -> [SKIP][27] ([i915#3297])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-tglb2/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][28] ([i915#3297])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-iclb5/igt@[email protected]

* igt@gem_userptr_blits@input-checking:
- shard-apl: NOTRUN -> [DMESG-WARN][29] ([i915#3002])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-apl6/igt@[email protected]

* igt@gem_userptr_blits@set-cache-level:
- shard-apl: NOTRUN -> [FAIL][30] ([i915#3324])
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-apl1/igt@[email protected]

* igt@gen3_render_tiledx_blits:
- shard-iclb: NOTRUN -> [SKIP][31] ([fdo#109289])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-iclb8/igt@gen3_render_tiledx_blits.html
- shard-tglb: NOTRUN -> [SKIP][32] ([fdo#109289])
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-tglb5/igt@gen3_render_tiledx_blits.html

* igt@gen9_exec_parse@basic-rejected:
- shard-iclb: NOTRUN -> [SKIP][33] ([fdo#112306])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-iclb1/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][34] ([fdo#112306])
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-tglb3/igt@[email protected]

* igt@gen9_exec_parse@bb-large:
- shard-apl: NOTRUN -> [FAIL][35] ([i915#3296])
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-apl6/igt@[email protected]

* igt@i915_pm_dc@dc6-psr:
- shard-tglb: NOTRUN -> [FAIL][36] ([i915#454])
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-tglb8/igt@[email protected]

* igt@i915_pm_lpsp@kms-lpsp@kms-lpsp-dp:
- shard-kbl: NOTRUN -> [SKIP][37] ([fdo#109271] / [i915#1937])
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-kbl4/igt@i915_pm_lpsp@[email protected]
- shard-apl: NOTRUN -> [SKIP][38] ([fdo#109271] / [i915#1937])
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-apl7/igt@i915_pm_lpsp@[email protected]

* igt@i915_pm_lpsp@kms-lpsp@kms-lpsp-hdmi-a:
- shard-glk: NOTRUN -> [SKIP][39] ([fdo#109271] / [i915#1937])
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-glk7/igt@i915_pm_lpsp@[email protected]

* igt@i915_pm_rpm@modeset-lpsp-stress:
- shard-apl: NOTRUN -> [SKIP][40] ([fdo#109271]) +184 similar issues
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-apl1/igt@[email protected]

* igt@kms_big_fb@yf-tiled-addfb-size-overflow:
- shard-tglb: NOTRUN -> [SKIP][41] ([fdo#111615]) +5 similar issues
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-tglb1/igt@[email protected]

* igt@kms_color@pipe-a-degamma:
- shard-tglb: NOTRUN -> [FAIL][42] ([i915#1149])
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-tglb7/igt@[email protected]
- shard-iclb: NOTRUN -> [FAIL][43] ([i915#1149])
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-iclb4/igt@[email protected]

* igt@kms_color_chamelium@pipe-a-degamma:
- shard-kbl: NOTRUN -> [SKIP][44] ([fdo#109271] / [fdo#111827]) +15 similar issues
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-kbl6/igt@[email protected]

* igt@kms_color_chamelium@pipe-b-ctm-red-to-blue:
- shard-iclb: NOTRUN -> [SKIP][45] ([fdo#109284] / [fdo#111827]) +2 similar issues
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-iclb4/igt@[email protected]
- shard-glk: NOTRUN -> [SKIP][46] ([fdo#109271] / [fdo#111827]) +3 similar issues
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-glk1/igt@[email protected]

* igt@kms_color_chamelium@pipe-d-ctm-0-25:
- shard-apl: NOTRUN -> [SKIP][47] ([fdo#109271] / [fdo#111827]) +18 similar issues
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-apl1/igt@[email protected]

* igt@kms_color_chamelium@pipe-d-ctm-red-to-blue:
- shard-tglb: NOTRUN -> [SKIP][48] ([fdo#109284] / [fdo#111827]) +4 similar issues
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-tglb8/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][49] ([fdo#109278] / [fdo#109284] / [fdo#111827])
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-iclb3/igt@[email protected]

* igt@kms_color_chamelium@pipe-invalid-ctm-matrix-sizes:
- shard-snb: NOTRUN -> [SKIP][50] ([fdo#109271] / [fdo#111827]) +24 similar issues
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-snb7/igt@[email protected]

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

* igt@kms_content_protection@uevent:
- shard-apl: NOTRUN -> [FAIL][52] ([i915#2105])
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-apl3/igt@[email protected]

* igt@kms_cursor_crc@pipe-a-cursor-512x512-offscreen:
- shard-iclb: NOTRUN -> [SKIP][53] ([fdo#109278] / [fdo#109279])
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-iclb3/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][54] ([fdo#109279] / [i915#3359])
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-tglb6/igt@[email protected]

* igt@kms_cursor_crc@pipe-a-cursor-64x64-sliding:
- shard-tglb: [PASS][55] -> [FAIL][56] ([i915#2124])
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10034/shard-tglb8/igt@[email protected]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-tglb3/igt@[email protected]

* igt@kms_cursor_crc@pipe-a-cursor-suspend:
- shard-kbl: NOTRUN -> [DMESG-WARN][57] ([i915#180]) +1 similar issue
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-kbl7/igt@[email protected]

* igt@kms_cursor_crc@pipe-b-cursor-32x32-onscreen:
- shard-tglb: NOTRUN -> [SKIP][58] ([i915#3319]) +1 similar issue
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-tglb3/igt@[email protected]

* igt@kms_cursor_crc@pipe-d-cursor-dpms:
- shard-iclb: NOTRUN -> [SKIP][59] ([fdo#109278]) +8 similar issues
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-iclb8/igt@[email protected]

* igt@kms_cursor_legacy@cursorb-vs-flipa-varying-size:
- shard-iclb: NOTRUN -> [SKIP][60] ([fdo#109274] / [fdo#109278])
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-iclb7/igt@[email protected]

* igt@kms_cursor_legacy@pipe-d-single-bo:
- shard-apl: NOTRUN -> [SKIP][61] ([fdo#109271] / [i915#533])
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-apl1/igt@[email protected]

* igt@kms_dp_tiled_display@basic-test-pattern-with-chamelium:
- shard-tglb: NOTRUN -> [SKIP][62] ([i915#2065])
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-tglb6/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][63] ([i915#2065])
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-iclb3/igt@[email protected]

* igt@kms_flip@2x-flip-vs-wf_vblank-interruptible:
- shard-iclb: NOTRUN -> [SKIP][64] ([fdo#109274]) +1 similar issue
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-iclb4/igt@kms_flip@2x-flip-vs-wf_vblank-interruptible.html

* igt@kms_flip@flip-vs-expired-vblank-interruptible@c-hdmi-a2:
- shard-glk: [PASS][65] -> [FAIL][66] ([i915#79]) +1 similar issue
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10034/shard-glk7/igt@kms_flip@[email protected]
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-glk2/igt@kms_flip@[email protected]

* igt@kms_flip@flip-vs-suspend-interruptible@a-dp1:
- shard-apl: [PASS][67] -> [DMESG-WARN][68] ([i915#180])
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10034/shard-apl7/igt@kms_flip@[email protected]
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-apl6/igt@kms_flip@[email protected]

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

* igt@kms_flip_scaled_crc@flip-32bpp-ytileccs-to-64bpp-ytile:
- shard-snb: NOTRUN -> [SKIP][70] ([fdo#109271]) +433 similar issues
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-snb5/igt@[email protected]

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

* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-spr-indfb-move:
- shard-glk: [PASS][72] -> [FAIL][73] ([i915#49])
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10034/shard-glk1/igt@[email protected]
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-glk2/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbcpsr-suspend:
- shard-glk: NOTRUN -> [SKIP][74] ([fdo#109271]) +48 similar issues
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-glk7/igt@[email protected]

* igt@kms_frontbuffer_tracking@psr-2p-primscrn-shrfb-plflip-blt:
- shard-iclb: NOTRUN -> [SKIP][75] ([fdo#109280]) +12 similar issues
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-iclb1/igt@[email protected]

* igt@kms_frontbuffer_tracking@psr-2p-scndscrn-spr-indfb-draw-pwrite:
- shard-tglb: NOTRUN -> [SKIP][76] ([fdo#111825]) +15 similar issues
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-tglb2/igt@kms_frontbuffer_tracking@psr-2p-scndscrn-spr-indfb-draw-pwrite.html

* igt@kms_frontbuffer_tracking@psr-rgb101010-draw-mmap-wc:
- shard-kbl: NOTRUN -> [SKIP][77] ([fdo#109271]) +158 similar issues
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-kbl4/igt@[email protected]

* igt@kms_hdr@static-toggle:
- shard-iclb: NOTRUN -> [SKIP][78] ([i915#1187])
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-iclb5/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][79] ([i915#1187])
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-tglb1/igt@[email protected]

* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-c:
- shard-apl: NOTRUN -> [DMESG-WARN][80] ([i915#180])
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-apl1/igt@[email protected]

* igt@kms_plane_alpha_blend@pipe-b-constant-alpha-max:
- shard-kbl: NOTRUN -> [FAIL][81] ([fdo#108145] / [i915#265]) +2 similar issues
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-kbl4/igt@[email protected]

* igt@kms_plane_alpha_blend@pipe-c-alpha-basic:
- shard-glk: NOTRUN -> [FAIL][82] ([fdo#108145] / [i915#265])
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-glk8/igt@[email protected]

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

* igt@kms_plane_alpha_blend@pipe-c-alpha-transparent-fb:
- shard-kbl: NOTRUN -> [FAIL][84] ([i915#265]) +1 similar issue
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-kbl7/igt@[email protected]

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

* igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area-3:
- shard-kbl: NOTRUN -> [SKIP][86] ([fdo#109271] / [i915#658]) +5 similar issues
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-kbl4/igt@[email protected]

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

* igt@kms_psr2_sf@primary-plane-update-sf-dmg-area-1:
- shard-iclb: NOTRUN -> [SKIP][88] ([i915#2920])
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-iclb2/igt@[email protected]
- shard-glk: NOTRUN -> [SKIP][89] ([fdo#109271] / [i915#658]) +1 similar issue
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-glk6/igt@[email protected]

* igt@kms_psr2_su@page_flip:
- shard-tglb: NOTRUN -> [SKIP][90] ([i915#1911])
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-tglb8/igt@kms_psr2_su@page_flip.html
- shard-iclb: NOTRUN -> [SKIP][91] ([fdo#109642] / [fdo#111068] / [i915#658])
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-iclb7/igt@kms_psr2_su@page_flip.html

* igt@kms_psr@psr2_primary_mmap_gtt:
- shard-iclb: [PASS][92] -> [SKIP][93] ([fdo#109441]) +1 similar issue
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10034/shard-iclb2/igt@kms_psr@psr2_primary_mmap_gtt.html
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-iclb1/igt@kms_psr@psr2_primary_mmap_gtt.html

* igt@kms_psr@psr2_sprite_render:
- shard-tglb: NOTRUN -> [FAIL][94] ([i915#132]) +1 similar issue
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-tglb6/igt@kms_psr@psr2_sprite_render.html

* igt@kms_tv_load_detect@load-detect:
- shard-tglb: NOTRUN -> [SKIP][95] ([fdo#109309])
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-tglb5/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][96] ([fdo#109309])
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-iclb3/igt@[email protected]

* igt@kms_vblank@pipe-d-wait-idle:
- shard-kbl: NOTRUN -> [SKIP][97] ([fdo#109271] / [i915#533]) +1 similar issue
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-kbl6/igt@[email protected]

* igt@kms_vrr@flip-suspend:
- shard-iclb: NOTRUN -> [SKIP][98] ([fdo#109502])
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-iclb7/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][99] ([fdo#109502])
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-tglb7/igt@[email protected]

* igt@kms_writeback@writeback-fb-id:
- shard-kbl: NOTRUN -> [SKIP][100] ([fdo#109271] / [i915#2437]) +1 similar issue
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-kbl2/igt@[email protected]

* igt@nouveau_crc@pipe-a-source-rg:
- shard-iclb: NOTRUN -> [SKIP][101] ([i915#2530])
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-iclb3/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][102] ([i915#2530]) +1 similar issue
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-tglb5/igt@[email protected]

* igt@nouveau_crc@pipe-d-source-outp-complete:
- shard-iclb: NOTRUN -> [SKIP][103] ([fdo#109278] / [i915#2530])
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-iclb6/igt@[email protected]

* igt@prime_nv_api@nv_self_import:
- shard-iclb: NOTRUN -> [SKIP][104] ([fdo#109291]) +1 similar issue
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-iclb6/igt@prime_nv_api@nv_self_import.html

* igt@prime_nv_pcopy@test1_macro:
- shard-tglb: NOTRUN -> [SKIP][105] ([fdo#109291]) +1 similar issue
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-tglb1/igt@prime_nv_pcopy@test1_macro.html

* igt@runner@aborted:
- shard-apl: NOTRUN -> ([FAIL][106], [FAIL][107], [FAIL][108]) ([fdo#109271] / [i915#180] / [i915#1814] / [i915#3002] / [i915#3363])
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-apl6/igt@[email protected]
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-apl1/igt@[email protected]
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-apl6/igt@[email protected]

* igt@sysfs_clients@busy:
- shard-kbl: NOTRUN -> [SKIP][109] ([fdo#109271] / [i915#2994])
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-kbl7/igt@[email protected]

* igt@sysfs_clients@create:
- shard-glk: NOTRUN -> [SKIP][110] ([fdo#109271] / [i915#2994])
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-glk1/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][111] ([i915#2994])
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-tglb8/igt@[email protected]
- shard-apl: NOTRUN -> [SKIP][112] ([fdo#109271] / [i915#2994]) +1 similar issue
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-apl6/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][113] ([i915#2994])
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-iclb3/igt@[email protected]

#### Possible fixes ####

* igt@gem_ctx_engines@independent@all:
- shard-glk: [DMESG-WARN][114] ([i915#118] / [i915#95]) -> [PASS][115]
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10034/shard-glk5/igt@gem_ctx_engines@[email protected]
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-glk7/igt@gem_ctx_engines@[email protected]

* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-tglb: [FAIL][116] ([i915#2842]) -> [PASS][117] +1 similar issue
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10034/shard-tglb5/igt@gem_exec_fair@[email protected]
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-tglb8/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-pace-solo@rcs0:
- shard-iclb: [FAIL][118] ([i915#2842]) -> [PASS][119]
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10034/shard-iclb4/igt@gem_exec_fair@[email protected]
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-iclb3/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-pace@vecs0:
- shard-kbl: [FAIL][120] ([i915#2842]) -> [PASS][121]
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10034/shard-kbl1/igt@gem_exec_fair@[email protected]
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-kbl7/igt@gem_exec_fair@[email protected]

* igt@gem_mmap_gtt@cpuset-big-copy-xy:
- shard-iclb: [FAIL][122] ([i915#307]) -> [PASS][123]
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10034/shard-iclb5/igt@[email protected]
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-iclb8/igt@[email protected]

* igt@gem_workarounds@suspend-resume-context:
- shard-kbl: [DMESG-WARN][124] ([i915#180]) -> [PASS][125]
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10034/shard-kbl7/igt@[email protected]
[125]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-kbl6/igt@[email protected]

* igt@kms_big_fb@y-tiled-64bpp-rotate-180:
- shard-tglb: [FAIL][126] ([i915#3434]) -> [PASS][127]
[126]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10034/shard-tglb7/igt@[email protected]
[127]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-tglb8/igt@[email protected]

* igt@kms_flip@2x-plain-flip-fb-recreate@ab-hdmi-a1-hdmi-a2:
- shard-glk: [FAIL][128] ([i915#2122]) -> [PASS][129]
[128]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10034/shard-glk7/igt@kms_flip@[email protected]
[129]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-glk6/igt@kms_flip@[email protected]

* igt@kms_psr@psr2_cursor_plane_onoff:
- shard-iclb: [SKIP][130] ([fdo#109441]) -> [PASS][131]
[130]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10034/shard-iclb7/igt@kms_psr@psr2_cursor_plane_onoff.html
[131]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-iclb2/igt@kms_psr@psr2_cursor_plane_onoff.html

#### Warnings ####

* igt@i915_pm_rc6_residency@rc6-fence:
- shard-iclb: [WARN][132] ([i915#1804] / [i915#2684]) -> [WARN][133] ([i915#2684])
[132]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10034/shard-iclb4/igt@[email protected]
[133]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-iclb1/igt@[email protected]

* igt@i915_pm_rc6_residency@rc6-idle:
- shard-iclb: [WARN][134] ([i915#2684]) -> [WARN][135] ([i915#1804] / [i915#2684])
[134]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10034/shard-iclb5/igt@[email protected]
[135]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-iclb7/igt@[email protected]

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

* igt@kms_psr2_sf@primary-plane-update-sf-dmg-area-3:
- shard-iclb: [SKIP][138] ([i915#658]) -> [SKIP][139] ([i915#2920])
[138]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10034/shard-iclb3/igt@[email protected]
[139]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5773/shard-iclb2/igt@[email protected]

* igt@runner@aborted:
- shard-kbl: ([FAIL][140], [FAIL][141], [FAIL][142], [FAIL][143], [FAIL][144], [FAIL][145], [FAIL][146], [FAIL][147], [FAIL][148], [FAIL][149], [FAIL][150]) ([i915#1436] / [i915#180] / [i915#1814] / [i915#3002] / [i915#3363] / [i915#92]) -> ([FAIL][151], [FAIL][152], [FAIL][153], [FAIL][154], [FAIL][155], [FAIL][156], [FAIL][157], [FAIL][158], [FAIL][159], [FAIL][160], [FAIL][161]) ([i915#1436] / [i915#180] / [i915#1814] / [i915#2292] / [i915#2505] / [i915#3002] / [i915

== Logs ==

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

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

Reviewed-by Juha-Pekka Heikkilä on v1 1/3
#5 lore raw
In reply to Imre Deak

Series is

Quoted 17 lines · Imre Deak

The CCS plane width calculation was correct only for 32bpp formats, where a 64 byte CCS unit maps to a 4 tiles * 32 pixel width on the main surface, but for other bpps the same CCS unit maps to a
(4 tiles * 128 bytes / (bpp/8 bytes/pixel)) width. Fix the width calculation accordingly.

---
  lib/intel_bufops.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
lib/intel_bufops.h +0 -0
index 1a3d86925..3dc059808 100644

lib/intel_bufops.h intel_buf_ccs_width(int gen, const struct intel_buf *buf) · line 84

Quoted 8 lines
lib/intel_bufops.h +1 -1
@@ -78,7 +78,7 @@ intel_buf_ccs_width(int gen, const struct intel_buf *buf)
  	 * main surface.
  	 */
  	if (gen >= 12)
-		return DIV_ROUND_UP(intel_buf_width(buf), 128) * 64;
+		return DIV_ROUND_UP(intel_buf_width(buf), 512 / (buf->bpp / 8)) * 64;
 
  	return DIV_ROUND_UP(intel_buf_width(buf), 1024) * 128;
  }

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev