Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
To: Lucas De Marchi <lucas.demarchi@intel.com>,
	Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Cc: intel-xe@lists.freedesktop.org, intel-gfx@lists.freedesktop.org,
	Maxime Ripard <mripard@kernel.org>,
	Thomas Zimmermann <tzimmermann@suse.de>,
	dri-devel@lists.freedesktop.org,
	Jani Nikula <jani.nikula@linux.intel.com>,
	Rodrigo Vivi <rodrigo.vivi@intel.com>
Subject: Re: [PATCH 2/3] drm/fourcc: define Intel Xe2 related tile4 ccs modifiers
Date: Wed, 21 Aug 2024 21:24:14 +0200	[thread overview]
Message-ID: <8cdd38ed-434d-483b-8893-46509f24158c@linux.intel.com> (raw)
In-Reply-To: <j362retusy4czdvzt4jc55aoww273fuam5zx4k4pgoznjml5wl@jgafsq7qqdex>

Acked-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>

Den 2024-08-17 kl. 02:06, skrev Lucas De Marchi:
> On Fri, Aug 16, 2024 at 02:52:28PM GMT, Juha-Pekka Heikkila wrote:
>> Add Tile4 type ccs modifiers to indicate presence of compression on Xe2.
>> Here is defined I915_FORMAT_MOD_4_TILED_LNL_CCS which is meant for
>> integrated graphics with igpu related limitations
>> Here is also defined I915_FORMAT_MOD_4_TILED_BMG_CCS which is meant
>> for discrete graphics with dgpu related limitations
>>
>> Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
> 
> not very fond of adding the platform names, but looks like this was
> always the approach, so this keeps the consistency.
> 
> Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
> 
> We will need an ack from drm-misc maintainer to merge this through
> drm-intel. Let's add some Cc.
> 
> Lucas De Marchi
> 
>> ---
>> include/uapi/drm/drm_fourcc.h | 25 +++++++++++++++++++++++++
>> 1 file changed, 25 insertions(+)
>>
>> diff --git a/include/uapi/drm/drm_fourcc.h b/include/uapi/drm/drm_fourcc.h
>> index 2d84a8052b15..78abd819fd62 100644
>> --- a/include/uapi/drm/drm_fourcc.h
>> +++ b/include/uapi/drm/drm_fourcc.h
>> @@ -702,6 +702,31 @@ extern "C" {
>>  */
>> #define I915_FORMAT_MOD_4_TILED_MTL_RC_CCS_CC fourcc_mod_code(INTEL, 15)
>>
>> +/*
>> + * Intel Color Control Surfaces (CCS) for graphics ver. 20 unified compression
>> + * on integrated graphics
>> + *
>> + * The main surface is Tile 4 and at plane index 0. For semi-planar formats
>> + * like NV12, the Y and UV planes are Tile 4 and are located at plane indices
>> + * 0 and 1, respectively. The CCS for all planes are stored outside of the
>> + * GEM object in a reserved memory area dedicated for the storage of the
>> + * CCS data for all compressible GEM objects.
>> + */
>> +#define I915_FORMAT_MOD_4_TILED_LNL_CCS fourcc_mod_code(INTEL, 16)
>> +
>> +/*
>> + * Intel Color Control Surfaces (CCS) for graphics ver. 20 unified compression
>> + * on discrete graphics
>> + *
>> + * The main surface is Tile 4 and at plane index 0. For semi-planar formats
>> + * like NV12, the Y and UV planes are Tile 4 and are located at plane indices
>> + * 0 and 1, respectively. The CCS for all planes are stored outside of the
>> + * GEM object in a reserved memory area dedicated for the storage of the
>> + * CCS data for all compressible GEM objects. The GEM object must be stored in
>> + * contiguous memory with a size aligned to 64KB
>> + */
>> +#define I915_FORMAT_MOD_4_TILED_BMG_CCS fourcc_mod_code(INTEL, 17)
>> +
>> /*
>>  * Tiled, NV12MT, grouped in 64 (pixels) x 32 (lines) -sized macroblocks
>>  *
>> -- 
>> 2.45.2
>>

  reply	other threads:[~2024-08-21 19:24 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-16 11:52 [PATCH 0/3] Introducing Xe2 ccs modifiers for integrated and discrete graphics Juha-Pekka Heikkila
2024-08-16 11:52 ` [PATCH 1/3] drm/i915/display: Don't enable decompression on Xe2 with Tile4 Juha-Pekka Heikkila
2024-08-16 11:52 ` [PATCH 2/3] drm/fourcc: define Intel Xe2 related tile4 ccs modifiers Juha-Pekka Heikkila
2024-08-17  0:06   ` Lucas De Marchi
2024-08-21 19:24     ` Maarten Lankhorst [this message]
2024-08-16 11:52 ` [PATCH 3/3] drm/i915/display: allow creation of Xe2 ccs framebuffers Juha-Pekka Heikkila
2024-08-16 11:55 ` ✓ CI.Patch_applied: success for Introducing Xe2 ccs modifiers for integrated and discrete graphics (rev2) Patchwork
2024-08-16 11:55 ` ✗ CI.checkpatch: warning " Patchwork
2024-08-16 11:56 ` ✓ CI.KUnit: success " Patchwork
2024-08-16 12:08 ` ✓ CI.Build: " Patchwork
2024-08-16 12:10 ` ✓ CI.Hooks: " Patchwork
2024-08-16 12:11 ` ✗ CI.checksparse: warning " Patchwork
2024-08-16 12:45 ` ✓ CI.BAT: success " Patchwork
2024-08-16 22:58 ` ✗ CI.FULL: failure " Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2024-08-12 20:14 [PATCH 0/3] Introducing Xe2 ccs modifiers for integrated and discrete graphics Juha-Pekka Heikkila
2024-08-12 20:14 ` [PATCH 2/3] drm/fourcc: define Intel Xe2 related tile4 ccs modifiers Juha-Pekka Heikkila
2024-08-16  6:25   ` Kahola, Mika

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=8cdd38ed-434d-483b-8893-46509f24158c@linux.intel.com \
    --to=maarten.lankhorst@linux.intel.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=jani.nikula@linux.intel.com \
    --cc=juhapekka.heikkila@gmail.com \
    --cc=lucas.demarchi@intel.com \
    --cc=mripard@kernel.org \
    --cc=rodrigo.vivi@intel.com \
    --cc=tzimmermann@suse.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox