Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Andi Shyti <andi.shyti@linux.intel.com>
To: fei.yang@intel.com, Carl Zhang <carl.zhang@intel.com>
Cc: Chris Wilson <chris.p.wilson@linux.intel.com>,
	intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org,
	rodrigo.vivi@intel.com, Matt Roper <matthew.d.roper@intel.com>
Subject: Re: [Intel-gfx] [PATCH v12 1/1] drm/i915: Allow user to set cache at BO creation
Date: Wed, 31 May 2023 12:49:26 +0200	[thread overview]
Message-ID: <ZHcmNnr5p2e7wXYe@ashyti-mobl2.lan> (raw)
In-Reply-To: <20230524200255.443021-2-fei.yang@intel.com>

Hi Carl,

On Wed, May 24, 2023 at 01:02:55PM -0700, fei.yang@intel.com wrote:
> From: Fei Yang <fei.yang@intel.com>
> 
> To comply with the design that buffer objects shall have immutable
> cache setting through out their life cycle, {set, get}_caching ioctl's
> are no longer supported from MTL onward. With that change caching
> policy can only be set at object creation time. The current code
> applies a default (platform dependent) cache setting for all objects.
> However this is not optimal for performance tuning. The patch extends
> the existing gem_create uAPI to let user set PAT index for the object
> at creation time.
> The new extension is platform independent, so UMD's can switch to using
> this extension for older platforms as well, while {set, get}_caching are
> still supported on these legacy paltforms for compatibility reason.
> 
> BSpec: 45101
> 
> Test igt@gem_create@create_ext_set_pat posted at
> https://patchwork.freedesktop.org/series/118314/
> 
> Tested with https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22878
> 
> Signed-off-by: Fei Yang <fei.yang@intel.com>
> Cc: Chris Wilson <chris.p.wilson@linux.intel.com>
> Cc: Matt Roper <matthew.d.roper@intel.com>
> Cc: Andi Shyti <andi.shyti@linux.intel.com>
> Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
> Acked-by: Jordan Justen <jordan.l.justen@intel.com>
> Tested-by: Jordan Justen <jordan.l.justen@intel.com>

was it your intention to ack this patch?

Thanks,
Andi

  reply	other threads:[~2023-05-31 10:49 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-24 20:02 [Intel-gfx] [PATCH v12 0/1] drm/i915: Allow user to set cache at BO creation fei.yang
2023-05-24 20:02 ` [Intel-gfx] [PATCH v12 1/1] " fei.yang
2023-05-31 10:49   ` Andi Shyti [this message]
2023-05-31 12:24     ` Zhang, Carl
2023-05-31 12:28       ` Andi Shyti
2023-05-24 22:34 ` [Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Allow user to set cache at BO creation (rev12) Patchwork
2023-05-25  8:33 ` [Intel-gfx] [PATCH v12 0/1] drm/i915: Allow user to set cache at BO creation Tvrtko Ursulin
2023-05-25 15:12   ` Yang, Fei
2023-05-25 15:26     ` Yang, Fei
2023-05-25 15:29     ` Yang, Fei
2023-05-25 18:33 ` [Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915: Allow user to set cache at BO creation (rev12) Patchwork

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=ZHcmNnr5p2e7wXYe@ashyti-mobl2.lan \
    --to=andi.shyti@linux.intel.com \
    --cc=carl.zhang@intel.com \
    --cc=chris.p.wilson@linux.intel.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=fei.yang@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=matthew.d.roper@intel.com \
    --cc=rodrigo.vivi@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox