Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Support for RGB16161616_64B compressed format
@ 2024-06-06 12:15 Melanie Lobo
  2024-06-06 12:15 ` [PATCH 1/2] lib/intel_aux_pgtable: Library to add support for RGB16161616_64B format Melanie Lobo
                   ` (5 more replies)
  0 siblings, 6 replies; 18+ messages in thread
From: Melanie Lobo @ 2024-06-06 12:15 UTC (permalink / raw)
  To: igt-dev; +Cc: vidya.srinivas, Melanie Lobo

Support XRGB16161616_64B and ARGB16161616_64B compressed formats

Melanie Lobo (2):
  lib/intel_aux_pgtable: Library to add support for RGB16161616_64B
    format
  tests/intel/kms_flip_scaled_crc: Add support for RGB16161616_64B
    compressed formats

 lib/intel_aux_pgtable.c           |  5 ++++
 tests/intel/kms_flip_scaled_crc.c | 42 +++++++++++++++++++++++++++++++
 2 files changed, 47 insertions(+)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 18+ messages in thread
* [PATCH 0/2] Support for RGB16161616_64B compressed formats
@ 2024-06-24 14:48 Melanie Lobo
  2024-06-24 14:48 ` [PATCH 1/2] lib/intel_aux_pgtable: Library to add support for RGB16161616_64B format Melanie Lobo
  0 siblings, 1 reply; 18+ messages in thread
From: Melanie Lobo @ 2024-06-24 14:48 UTC (permalink / raw)
  To: igt-dev; +Cc: juha-pekka.heikkila, vidya.srinivas, ville.syrjala, Melanie Lobo

Support XRGB16161616_64B and ARGB16161616_64B compressed formats

Melanie Lobo (2):
  lib/intel_aux_pgtable: Library to add support for RGB16161616_64B
    format
  tests/intel/kms_flip_scaled_crc: Add support for RGB16161616_64B
    compressed formats

 lib/intel_aux_pgtable.c           |  5 ++++
 tests/intel/kms_flip_scaled_crc.c | 39 +++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 18+ messages in thread
* [PATCH 0/2] Support for RGB16161616_64B compressed formats
@ 2024-06-03  8:16 Melanie Lobo
  2024-06-03  8:16 ` [PATCH 1/2] lib/intel_aux_pgtable: Library to add support for RGB16161616_64B format Melanie Lobo
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: Melanie Lobo @ 2024-06-03  8:16 UTC (permalink / raw)
  To: igt-dev; +Cc: vidya.srinivas, Melanie Lobo

Support XRGB16161616_64B and ARGB16161616_64B compressed formats

Melanie Lobo (2):
  lib/intel_aux_pgtable: Library to add support for RGB16161616_64B
    format
  tests/intel/kms_flip_scaled_crc: Add support for RGB16161616_64B
    compressed formats

 lib/intel_aux_pgtable.c           |  5 ++++
 tests/intel/kms_flip_scaled_crc.c | 42 +++++++++++++++++++++++++++++++
 2 files changed, 47 insertions(+)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 18+ messages in thread
* [igt-dev] [PATCH i-g-t] tests/intel/kms_flip_scaled_crc: Add support for FP16 format of MTL compressed modifier
@ 2023-10-10 13:45 Melanie Lobo
  2024-06-03  7:49 ` [PATCH 0/2] Support for RGB16161616_64B compressed formats Melanie Lobo
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: Melanie Lobo @ 2023-10-10 13:45 UTC (permalink / raw)
  To: igt-dev; +Cc: juha-pekka.heikkila

MTL supports new FP16 format which is a binary floating-point computer
number format that occupies 16 bits in computer memory.

Change-Id: I7fa8169d54cbd9e6dcdf765065659e541a31e481
Signed-off-by: Melanie Lobo <melanie.lobo@intel.com>
---
 lib/intel_aux_pgtable.c           |  5 +++++
 tests/intel/kms_flip_scaled_crc.c | 16 ++++++++++++++++
 2 files changed, 21 insertions(+)

diff --git a/lib/intel_aux_pgtable.c b/lib/intel_aux_pgtable.c
index 7c79521344de..a612df407692 100644
--- a/lib/intel_aux_pgtable.c
+++ b/lib/intel_aux_pgtable.c
@@ -21,6 +21,7 @@
 #define AUX_FORMAT_AYUV		0x09
 #define AUX_FORMAT_ARGB_8B	0x0A
 #define AUX_FORMAT_NV12_21	0x0F
+#define AUX_FORMAT_XRGB16161616_64B 0x10
 
 struct pgtable_level_desc {
 	int idx_shift;
@@ -305,6 +306,10 @@ static uint64_t pgt_get_l1_flags(const struct intel_buf *buf, int surface_idx)
 			entry.e.format = AUX_FORMAT_ARGB_8B;
 			entry.e.depth = bpp_to_depth_val(32);
 			break;
+		case 64:
+			entry.e.format = AUX_FORMAT_XRGB16161616_64B;
+			entry.e.depth = bpp_to_depth_val(64);
+			break;
 		default:
 			igt_assert(0);
 		}
diff --git a/tests/intel/kms_flip_scaled_crc.c b/tests/intel/kms_flip_scaled_crc.c
index 2997b63fac40..0d5e994af2b7 100644
--- a/tests/intel/kms_flip_scaled_crc.c
+++ b/tests/intel/kms_flip_scaled_crc.c
@@ -590,6 +590,22 @@ const struct {
 		0.5,
 		1.0,
 	},
+	{
+		"flip-64bpp-4tile-to-32bpp-4tilemtlrcccs-upscaling",
+		"Flip from 64bpp non scaled fb to 32bpp upscaled fb to stress CD clock programming",
+		I915_FORMAT_MOD_4_TILED, DRM_FORMAT_XRGB16161616F,
+		I915_FORMAT_MOD_4_TILED_MTL_RC_CCS, DRM_FORMAT_XRGB16161616F,
+		0.5,
+		1.0,
+	},
+	{
+		"flip-64bpp-4tile-to-32bpp-4tilemtlrcccs-downscaling",
+		"Flip from 64bpp non scaled fb to 32bpp downscaled fb to stress CD clock programming",
+		I915_FORMAT_MOD_4_TILED, DRM_FORMAT_XRGB16161616F,
+		I915_FORMAT_MOD_4_TILED_MTL_RC_CCS, DRM_FORMAT_XRGB16161616F,
+		1.0,
+		2.0,
+	},
 };
 
 static void setup_fb(data_t *data, struct igt_fb *newfb, uint32_t width,
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2024-07-02 22:57 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-06 12:15 [PATCH 0/2] Support for RGB16161616_64B compressed format Melanie Lobo
2024-06-06 12:15 ` [PATCH 1/2] lib/intel_aux_pgtable: Library to add support for RGB16161616_64B format Melanie Lobo
2024-06-07 12:21   ` Kamil Konieczny
2024-06-07 12:31   ` Kamil Konieczny
2024-06-06 12:15 ` [PATCH 2/2] tests/intel/kms_flip_scaled_crc: Add support for RGB16161616_64B compressed formats Melanie Lobo
2024-06-07 12:24   ` Kamil Konieczny
2024-06-06 13:19 ` ✗ Fi.CI.BUILD: failure for Support for RGB16161616_64B compressed format Patchwork
2024-06-07  6:08 ` ✗ Fi.CI.BUILD: failure for Support for RGB16161616_64B compressed format (rev2) Patchwork
2024-06-07 19:06 ` ✗ GitLab.Pipeline: warning for Support for RGB16161616_64B compressed format Patchwork
2024-06-07 19:06 ` ✗ GitLab.Pipeline: warning for Support for RGB16161616_64B compressed format (rev2) Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2024-06-24 14:48 [PATCH 0/2] Support for RGB16161616_64B compressed formats Melanie Lobo
2024-06-24 14:48 ` [PATCH 1/2] lib/intel_aux_pgtable: Library to add support for RGB16161616_64B format Melanie Lobo
2024-07-02 22:56   ` Ville Syrjälä
2024-06-03  8:16 [PATCH 0/2] Support for RGB16161616_64B compressed formats Melanie Lobo
2024-06-03  8:16 ` [PATCH 1/2] lib/intel_aux_pgtable: Library to add support for RGB16161616_64B format Melanie Lobo
2024-06-06 12:11 ` [PATCH 0/2] Support for RGB16161616_64B compressed format Melanie Lobo
2024-06-06 12:11   ` [PATCH 1/2] lib/intel_aux_pgtable: Library to add support for RGB16161616_64B format Melanie Lobo
2024-06-24 14:42 ` [PATCH 0/2] Support for RGB16161616_64B compressed formats Melanie Lobo
2024-06-24 14:42   ` [PATCH 1/2] lib/intel_aux_pgtable: Library to add support for RGB16161616_64B format Melanie Lobo
2023-10-10 13:45 [igt-dev] [PATCH i-g-t] tests/intel/kms_flip_scaled_crc: Add support for FP16 format of MTL compressed modifier Melanie Lobo
2024-06-03  7:49 ` [PATCH 0/2] Support for RGB16161616_64B compressed formats Melanie Lobo
2024-06-03  7:49   ` [PATCH 1/2] lib/intel_aux_pgtable: Library to add support for RGB16161616_64B format Melanie Lobo
2024-06-03  7:58 ` Melanie Lobo
2024-06-03  8:13 ` [PATCH 0/2] Support for RGB16161616_64B compressed formats Melanie Lobo
2024-06-03  8:13   ` [PATCH 1/2] lib/intel_aux_pgtable: Library to add support for RGB16161616_64B format Melanie Lobo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox