[Intel-gfx] [PATCH 5/8] drm/i915/mtl: end support for set caching ioctl

Andi Shyti andi.shyti at linux.intel.com
Wed Apr 19 22:09:02 UTC 2023


Hi Fei,

On Wed, Apr 19, 2023 at 02:12:16PM -0700, fei.yang at intel.com wrote:
> From: Fei Yang <fei.yang at intel.com>
> 
> The design is to keep Buffer Object's caching policy immutable through
> out its life cycle. This patch ends the support for set caching ioctl
> from MTL onward. While doing that we also set BO's to be 1-way coherent
> at creation time because GPU is no longer automatically snooping CPU
> cache. For UMD's need to fine tune the caching policy for BO's, a follow
> up patch will extend the GEM_CREATE uAPI to allow UMD's specify caching
> mode at BO creation time.
> 
> Signed-off-by: Fei Yang <fei.yang at intel.com>

Reviewed-by: Andi Shyti <andi.shyti at linux.intel.com> 
Reviewed-by: Andrzej Hajda <andrzej.hajda at intel.com>

Andi


More information about the dri-devel mailing list