[PATCH i-g-t 22/37] lib/igt_fb: Add 16bpc compression format for the blitter
Juha-Pekka Heikkila
juhapekka.heikkila at gmail.com
Tue Aug 27 16:53:23 UTC 2024
Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila at gmail.com>
On 3.7.2024 2.28, Ville Syrjala wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
>
> Pick the correct compression format for the block copy when
> using an fp16 pixel format.
>
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
> ---
> lib/igt_fb.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/lib/igt_fb.c b/lib/igt_fb.c
> index e120ee9dcf70..c0b157ee44fa 100644
> --- a/lib/igt_fb.c
> +++ b/lib/igt_fb.c
> @@ -2879,6 +2879,7 @@ const struct {
> enum blt_compression_type type;
> uint32_t return_value;
> } compression_mappings[] = {
> + { DRM_FORMAT_XRGB16161616F, COMPRESSION_TYPE_3D, 0x5 },
> { DRM_FORMAT_XRGB2101010, COMPRESSION_TYPE_3D, 0xc },
> { DRM_FORMAT_XRGB8888, COMPRESSION_TYPE_3D, 0x8 },
> { DRM_FORMAT_XRGB8888, COMPRESSION_TYPE_MEDIA, 8 },
More information about the igt-dev
mailing list