All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Melanie Lobo <melanie.lobo@intel.com>
Cc: igt-dev@lists.freedesktop.org, juha-pekka.heikkila@intel.com,
	vidya.srinivas@intel.com, ville.syrjala@intel.com,
	Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>,
	Bhanuprakash Modem <bhanuprakash.modem@intel.com>,
	Swati Sharma <swati2.sharma@intel.com>
Subject: Re: [PATCH 1/2] lib/intel_aux_pgtable: Library to add support for RGB16161616_64B format
Date: Wed, 3 Jul 2024 01:56:55 +0300	[thread overview]
Message-ID: <ZoSFtySp9RFtIH4O@intel.com> (raw)
In-Reply-To: <20240624144818.216349-2-melanie.lobo@intel.com>

On Mon, Jun 24, 2024 at 08:18:17PM +0530, Melanie Lobo wrote:
> MTL supports RGB16161616_64B FP16 format which is a binary

It's supportes on TGL+.

> floating-point computer number format that occupies 16 bits
> in computer memory.
> 
> This was tested with kernel patch,
> https://patchwork.freedesktop.org/series/124957/
> https://lore.kernel.org/all/20231201091133.23508-1-melanie.lobo@intel.com/
> 
> cc: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
> cc: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
> cc: Swati Sharma <swati2.sharma@intel.com>
> cc: Ville Syrjala <ville.syrjala@intel.com>
> Signed-off-by: Melanie Lobo <melanie.lobo@intel.com>
> ---
>  lib/intel_aux_pgtable.c | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/lib/intel_aux_pgtable.c b/lib/intel_aux_pgtable.c
> index 3cbb0e26f35c..e31b9ba57c0a 100644
> --- a/lib/intel_aux_pgtable.c
> +++ b/lib/intel_aux_pgtable.c
> @@ -22,6 +22,7 @@
>  #define AUX_FORMAT_AYUV		0x09
>  #define AUX_FORMAT_ARGB_8B	0x0A
>  #define AUX_FORMAT_NV12_21	0x0F
> +#define AUX_FORMAT_RGBA16_FLOAT	0x1

That should be 0x10.

There are huge gaps elsewhere in igt wrt fp16+ccs. I'll post
a bigger series that addresses most of it (+ adds 10bpc+ccs
stuff as well).

>  
>  struct pgtable_level_desc {
>  	int idx_shift;
> @@ -306,6 +307,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_RGBA16_FLOAT;
> +			entry.e.depth = bpp_to_depth_val(64);
> +			break;
>  		default:
>  			igt_assert(0);
>  		}
> -- 
> 2.34.1

-- 
Ville Syrjälä
Intel

  reply	other threads:[~2024-07-02 22:57 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-24 14:48 [PATCH 0/2] Support for RGB16161616_64B compressed formats Melanie Lobo
2024-06-24 13:42 ` ✓ Fi.CI.BAT: success for Support for RGB16161616_64B compressed formats (rev4) Patchwork
2024-06-24 13:56 ` ✓ CI.xeBAT: " Patchwork
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ä [this message]
2024-06-24 14:48 ` [PATCH 2/2] tests/intel/kms_flip_scaled_crc: Add support for RGB16161616_64B compressed formats Melanie Lobo
2024-06-24 16:43 ` ✗ CI.xeFULL: failure for Support for RGB16161616_64B compressed formats (rev4) Patchwork
2024-06-25 13:21 ` ✗ Fi.CI.IGT: " Patchwork
  -- strict thread matches above, loose matches on Subject: below --
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-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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZoSFtySp9RFtIH4O@intel.com \
    --to=ville.syrjala@linux.intel.com \
    --cc=bhanuprakash.modem@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=juha-pekka.heikkila@intel.com \
    --cc=juhapekka.heikkila@gmail.com \
    --cc=melanie.lobo@intel.com \
    --cc=swati2.sharma@intel.com \
    --cc=vidya.srinivas@intel.com \
    --cc=ville.syrjala@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.