drm/i915: Allow user to set cache at BO creation
Subsystems (3)
v8 cover drm/i915: Allow user to set cache at BO creation
From: Fei Yang <[email protected]>
The first three patches in this series are taken from
https://patchwork.freedesktop.org/series/116868/
These patches are included here because the last patch has dependency on the pat_index refactor.
This series is focusing on uAPI changes,
1. end support for set caching ioctl [PATCH 4/5]
2. add set_pat extension for gem_create [PATCH 5/5]
v2: drop one patch that was merged separately
commit 341ad0e8e254 ("drm/i915/mtl: Add PTE encode function")v3: rebased on https://patchwork.freedesktop.org/series/117082/
v4: fix missing unlock introduced in v3, and
solve a rebase conflict
v5: replace obj->cache_level with pat_set_by_user,
fix i915_cache_level_str() for legacy platforms.
v6: rebased on https://patchwork.freedesktop.org/series/117480/
v7: rebased on https://patchwork.freedesktop.org/series/117528/
v8: dropped the two dependent patches that has been merged
separately. Add IGT link and Tested-by (MESA).
Fei Yang (2):
drm/i915/mtl: end support for set caching ioctl drm/i915: Allow user to set cache at BO creation
drivers/gpu/drm/i915/gem/i915_gem_create.c | 36 ++++++++++++++++++++++ drivers/gpu/drm/i915/gem/i915_gem_domain.c | 3 ++ drivers/gpu/drm/i915/gem/i915_gem_object.c | 6 ++++ drivers/gpu/drm/i915/gem/i915_gem_shmem.c | 9 +++++- include/uapi/drm/i915_drm.h | 36 ++++++++++++++++++++++ tools/include/uapi/drm/i915_drm.h | 36 ++++++++++++++++++++++ 6 files changed, 125 insertions(+), 1 deletion(-)
Signature · 1 line
2.25.1
PATCH v8 1/2 drm/i915/mtl: end support for set caching ioctl
From: Fei Yang <[email protected]>
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 userspace components needing to fine tune the caching policy for BO's, a follow up patch will extend the GEM_CREATE uAPI to allow them specify caching mode at BO creation time.
--- drivers/gpu/drm/i915/gem/i915_gem_domain.c | 3 +++ drivers/gpu/drm/i915/gem/i915_gem_shmem.c | 9 ++++++++- 2 files changed, 11 insertions(+), 1 deletion(-)
drivers/gpu/drm/i915/gem/i915_gem_domain.c +3 -0
@@ -350,6 +350,9 @@ int i915_gem_set_caching_ioctl(struct drm_device *dev, void *data,if (IS_DGFX (i915))return -ENODEV ; +if (GRAPHICS_VER_FULL (i915) >=IP_VER (12 ,70 )) +return -EOPNOTSUPP ; +switch (args->caching) {case I915_CACHING_NONE : level =I915_CACHE_NONE ;
drivers/gpu/drm/i915/gem/i915_gem_shmem.c +8 -1
@@ -601,7 +601,14 @@ static int shmem_object_init(struct intel_memory_region *mem, obj->write_domain =I915_GEM_DOMAIN_CPU ; obj->read_domains =I915_GEM_DOMAIN_CPU ; -if (HAS_LLC (i915)) +/* +* MTL doesn't snoop CPU cache by default for GPU access (namely +* 1-way coherency). However some UMD's are currently depending on +* that. Make 1-way coherent the default setting for MTL. A follow +* up patch will extend the GEM_CREATE uAPI to allow UMD's specify +* caching mode at BO creation time +*/ +if (HAS_LLC (i915) || (GRAPHICS_VER_FULL (i915) >=IP_VER (12 ,70 )))/* On some devices, we can have the GPU use the LLC (the CPU * cache) for about a 10% performance improvement * compared to uncached. Graphics requests other than
Signature · 1 line
2.25.1
PATCH v8 2/2 drm/i915: Allow user to set cache at BO creation
In reply to [email protected]From: Fei Yang <[email protected]>
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.
IGT posted at https://patchwork.freedesktop.org/series/117695/
Tested with https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22878
--- drivers/gpu/drm/i915/gem/i915_gem_create.c | 36 ++++++++++++++++++++++ drivers/gpu/drm/i915/gem/i915_gem_object.c | 6 ++++ include/uapi/drm/i915_drm.h | 36 ++++++++++++++++++++++ tools/include/uapi/drm/i915_drm.h | 36 ++++++++++++++++++++++ 4 files changed, 114 insertions(+)
drivers/gpu/drm/i915/gem/i915_gem_create.c +36 -0
@@ -245,6 +245,7 @@ struct create_ext {unsigned int n_placements;unsigned int placement_mask;unsigned long flags; +unsigned int pat_index; }; static void repr_placements(char *buf, size_t size,
@@ -394,11 +395,39 @@ static int ext_set_protected(struct i915_user_extension __user *base, void *datareturn 0 ; } +static int ext_set_pat (struct i915_user_extension __user *base,void *data) +{ +struct create_ext *ext_data = data; +struct drm_i915_private *i915 = ext_data->i915; +struct drm_i915_gem_create_ext_set_pat ext; +unsigned int max_pat_index; + +BUILD_BUG_ON (sizeof (struct drm_i915_gem_create_ext_set_pat ) != + offsetofend(struct drm_i915_gem_create_ext_set_pat, rsvd)); + +if (copy_from_user (&ext, base,sizeof (ext))) +return -EFAULT ; + + max_pat_index =INTEL_INFO (i915)->max_pat_index; + +if (ext.pat_index > max_pat_index) { +drm_dbg (&i915->drm,"PAT index is invalid: %u\n" , + ext.pat_index); +return -EINVAL ; + } + + ext_data->pat_index = ext.pat_index; + +return 0 ; +} +static const i915_user_extension_fn create_extensions[] = { [I915_GEM_CREATE_EXT_MEMORY_REGIONS ] = ext_set_placements, [I915_GEM_CREATE_EXT_PROTECTED_CONTENT ] = ext_set_protected, + [I915_GEM_CREATE_EXT_SET_PAT ] = ext_set_pat, }; +#define PAT_INDEX_NOT_SET 0xffff/** * i915_gem_create_ext_ioctl - Creates a new mm object and returns a handle to it. * @dev: drm device pointer
@@ -418,6 +447,7 @@ i915_gem_create_ext_ioctl(struct drm_device *dev, void *data,if (args->flags & ~I915_GEM_CREATE_EXT_FLAG_NEEDS_CPU_ACCESS )return -EINVAL ; + ext_data.pat_index =PAT_INDEX_NOT_SET ; ret = i915_user_extensions(u64_to_user_ptr(args->extensions), create_extensions, ARRAY_SIZE(create_extensions),
@@ -454,5 +484,11 @@ i915_gem_create_ext_ioctl(struct drm_device *dev, void *data,if (IS_ERR (obj))return PTR_ERR (obj); +if (ext_data.pat_index !=PAT_INDEX_NOT_SET ) { +i915_gem_object_set_pat_index (obj, ext_data.pat_index); +/* Mark pat_index is set by UMD */ + obj->pat_set_by_user = true; + } +return i915_gem_publish (obj, file, &args->size, &args->handle); }
drivers/gpu/drm/i915/gem/i915_gem_object.c +6 -0
@@ -208,6 +208,12 @@ bool i915_gem_object_can_bypass_llc(struct drm_i915_gem_object *obj)if (!(obj->flags &I915_BO_ALLOC_USER ))return false; +/* +* Always flush cache for UMD objects at creation time. +*/ +if (obj->pat_set_by_user) +return true; +/* * EHL and JSL add the 'Bypass LLC' MOCS entry, which should make it * possible for userspace to bypass the GTT caching bits set by the
include/uapi/drm/i915_drm.h +36 -0
@@ -3664,9 +3664,13 @@ struct drm_i915_gem_create_ext {* * For I915_GEM_CREATE_EXT_PROTECTED_CONTENT usage see * struct drm_i915_gem_create_ext_protected_content. +* +* For I915_GEM_CREATE_EXT_SET_PAT usage see +* struct drm_i915_gem_create_ext_set_pat. */ #define I915_GEM_CREATE_EXT_MEMORY_REGIONS 0#define I915_GEM_CREATE_EXT_PROTECTED_CONTENT 1 +#define I915_GEM_CREATE_EXT_SET_PAT 2__u64 extensions; };
@@ -3781,6 +3785,38 @@ struct drm_i915_gem_create_ext_protected_content {__u32 flags; }; +/** +* struct drm_i915_gem_create_ext_set_pat - The +* I915_GEM_CREATE_EXT_SET_PAT extension. +* +* If this extension is provided, the specified caching policy (PAT index) is +* applied to the buffer object. +* +* Below is an example on how to create an object with specific caching policy: +* +* .. code-block:: C +* +* struct drm_i915_gem_create_ext_set_pat set_pat_ext = { +* .base = { .name = I915_GEM_CREATE_EXT_SET_PAT }, +* .pat_index = 0, +* }; +* struct drm_i915_gem_create_ext create_ext = { +* .size = PAGE_SIZE, +* .extensions = (uintptr_t)&set_pat_ext, +* }; +* +* int err = ioctl(fd, DRM_IOCTL_I915_GEM_CREATE_EXT, &create_ext); +* if (err) ... +*/ +struct drm_i915_gem_create_ext_set_pat { +/** @base: Extension link. See struct i915_user_extension. */ +struct i915_user_extension base; +/** @pat_index: PAT index to be set */ +__u32 pat_index; +/** @rsvd: reserved for future use */ +__u32 rsvd; +}; +/* ID of the protected content session managed by i915 when PXP is active */ #define I915_PROTECTED_CONTENT_DEFAULT_SESSION 0xf
tools/include/uapi/drm/i915_drm.h +36 -0
@@ -3607,9 +3607,13 @@ struct drm_i915_gem_create_ext {* * For I915_GEM_CREATE_EXT_PROTECTED_CONTENT usage see * struct drm_i915_gem_create_ext_protected_content. +* +* For I915_GEM_CREATE_EXT_SET_PAT usage see +* struct drm_i915_gem_create_ext_set_pat. */ #define I915_GEM_CREATE_EXT_MEMORY_REGIONS 0#define I915_GEM_CREATE_EXT_PROTECTED_CONTENT 1 +#define I915_GEM_CREATE_EXT_SET_PAT 2__u64 extensions; };
@@ -3724,6 +3728,38 @@ struct drm_i915_gem_create_ext_protected_content {__u32 flags; }; +/** +* struct drm_i915_gem_create_ext_set_pat - The +* I915_GEM_CREATE_EXT_SET_PAT extension. +* +* If this extension is provided, the specified caching policy (PAT index) is +* applied to the buffer object. +* +* Below is an example on how to create an object with specific caching policy: +* +* .. code-block:: C +* +* struct drm_i915_gem_create_ext_set_pat set_pat_ext = { +* .base = { .name = I915_GEM_CREATE_EXT_SET_PAT }, +* .pat_index = 0, +* }; +* struct drm_i915_gem_create_ext create_ext = { +* .size = PAGE_SIZE, +* .extensions = (uintptr_t)&set_pat_ext, +* }; +* +* int err = ioctl(fd, DRM_IOCTL_I915_GEM_CREATE_EXT, &create_ext); +* if (err) ... +*/ +struct drm_i915_gem_create_ext_set_pat { +/** @base: Extension link. See struct i915_user_extension. */ +struct i915_user_extension base; +/** @pat_index: PAT index to be set */ +__u32 pat_index; +/** @rsvd: reserved for future use */ +__u32 rsvd; +}; +/* ID of the protected content session managed by i915 when PXP is active */ #define I915_PROTECTED_CONTENT_DEFAULT_SESSION 0xf
Signature · 1 line
2.25.1
Quoted 217 lines · On 13/05/2023 00:28, [email protected] wrote:
From: Fei Yang <[email protected]>
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_createuAPI 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.IGT posted at https://patchwork.freedesktop.org/series/117695/
Tested with https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22878
Tested-by Jordan Justen <[email protected]>Cc Chris Wilson <[email protected]>Cc Matt Roper <[email protected]>Cc Andi Shyti <[email protected]>Signed-off-by Fei Yang <[email protected]>Reviewed-by Andi Shyti <[email protected]>--- drivers/gpu/drm/i915/gem/i915_gem_create.c | 36 ++++++++++++++++++++++ drivers/gpu/drm/i915/gem/i915_gem_object.c | 6 ++++ include/uapi/drm/i915_drm.h | 36 ++++++++++++++++++++++ tools/include/uapi/drm/i915_drm.h | 36 ++++++++++++++++++++++ 4 files changed, 114 insertions(+)drivers/gpu/drm/i915/gem/i915_gem_create.c +36
-0@@ -245,6 +245,7 @@ struct create_ext {unsigned int n_placements;unsigned int placement_mask;unsigned long flags; +unsigned int pat_index; }; static void repr_placements(char *buf, size_t size,@@ -394,11 +395,39 @@ static int ext_set_protected(struct i915_user_extension __user *base, void *datareturn 0 ; } +static int ext_set_pat (struct i915_user_extension __user *base,void *data) +{ +struct create_ext *ext_data = data; +struct drm_i915_private *i915 = ext_data->i915; +struct drm_i915_gem_create_ext_set_pat ext; +unsigned int max_pat_index; + +BUILD_BUG_ON (sizeof (struct drm_i915_gem_create_ext_set_pat ) != + offsetofend(struct drm_i915_gem_create_ext_set_pat, rsvd)); + +if (copy_from_user (&ext, base,sizeof (ext))) +return -EFAULT ; + + max_pat_index =INTEL_INFO (i915)->max_pat_index; + +if (ext.pat_index > max_pat_index) { +drm_dbg (&i915->drm,"PAT index is invalid: %u\n" , + ext.pat_index); +return -EINVAL ; + } + + ext_data->pat_index = ext.pat_index; + +return 0 ; +} +static const i915_user_extension_fn create_extensions[] = { [I915_GEM_CREATE_EXT_MEMORY_REGIONS ] = ext_set_placements, [I915_GEM_CREATE_EXT_PROTECTED_CONTENT ] = ext_set_protected, + [I915_GEM_CREATE_EXT_SET_PAT ] = ext_set_pat, }; +#define PAT_INDEX_NOT_SET 0xffff/** * i915_gem_create_ext_ioctl - Creates a new mm object and returns a handle to it. * @dev: drm device pointer @@ -418,6 +447,7 @@ i915_gem_create_ext_ioctl(struct drm_device *dev, void *data,if (args->flags & ~I915_GEM_CREATE_EXT_FLAG_NEEDS_CPU_ACCESS )return -EINVAL ; + ext_data.pat_index =PAT_INDEX_NOT_SET ; ret = i915_user_extensions(u64_to_user_ptr(args->extensions), create_extensions, ARRAY_SIZE(create_extensions),@@ -454,5 +484,11 @@ i915_gem_create_ext_ioctl(struct drm_device *dev, void *data,if (IS_ERR (obj))return PTR_ERR (obj); +if (ext_data.pat_index !=PAT_INDEX_NOT_SET ) { +i915_gem_object_set_pat_index (obj, ext_data.pat_index); +/* Mark pat_index is set by UMD */ + obj->pat_set_by_user = true; + } +return i915_gem_publish (obj, file, &args->size, &args->handle); }drivers/gpu/drm/i915/gem/i915_gem_object.c +6
-0@@ -208,6 +208,12 @@ bool i915_gem_object_can_bypass_llc(struct drm_i915_gem_object *obj)if (!(obj->flags &I915_BO_ALLOC_USER ))return false; +/* +* Always flush cache for UMD objects at creation time. +*/ +if (obj->pat_set_by_user) +return true; +/* * EHL and JSL add the 'Bypass LLC' MOCS entry, which should make it * possible for userspace to bypass the GTT caching bits set by the include/uapi/drm/i915_drm.h +36
-0@@ -3664,9 +3664,13 @@ struct drm_i915_gem_create_ext {* * For I915_GEM_CREATE_EXT_PROTECTED_CONTENT usage see * struct drm_i915_gem_create_ext_protected_content. +* +* For I915_GEM_CREATE_EXT_SET_PAT usage see +* struct drm_i915_gem_create_ext_set_pat. */ #define I915_GEM_CREATE_EXT_MEMORY_REGIONS 0#define I915_GEM_CREATE_EXT_PROTECTED_CONTENT 1 +#define I915_GEM_CREATE_EXT_SET_PAT 2__u64 extensions; };@@ -3781,6 +3785,38 @@ struct drm_i915_gem_create_ext_protected_content {__u32 flags; }; +/** +* struct drm_i915_gem_create_ext_set_pat - The +* I915_GEM_CREATE_EXT_SET_PAT extension. +* +* If this extension is provided, the specified caching policy (PAT index) is +* applied to the buffer object. +* +* Below is an example on how to create an object with specific caching policy: +* +* .. code-block:: C +* +* struct drm_i915_gem_create_ext_set_pat set_pat_ext = { +* .base = { .name = I915_GEM_CREATE_EXT_SET_PAT }, +* .pat_index = 0, +* }; +* struct drm_i915_gem_create_ext create_ext = { +* .size = PAGE_SIZE, +* .extensions = (uintptr_t)&set_pat_ext, +* }; +* +* int err = ioctl(fd, DRM_IOCTL_I915_GEM_CREATE_EXT, &create_ext); +* if (err) ... +*/ +struct drm_i915_gem_create_ext_set_pat { +/** @base: Extension link. See struct i915_user_extension. */ +struct i915_user_extension base; +/** @pat_index: PAT index to be set */ +__u32 pat_index; +/** @rsvd: reserved for future use */ +__u32 rsvd; +}; +/* ID of the protected content session managed by i915 when PXP is active */ #define I915_PROTECTED_CONTENT_DEFAULT_SESSION 0xftools/include/uapi/drm/i915_drm.h +22
-0@@ -3607,9 +3607,13 @@ struct drm_i915_gem_create_ext {* * For I915_GEM_CREATE_EXT_PROTECTED_CONTENT usage see * struct drm_i915_gem_create_ext_protected_content. +* +* For I915_GEM_CREATE_EXT_SET_PAT usage see +* struct drm_i915_gem_create_ext_set_pat. */ #define I915_GEM_CREATE_EXT_MEMORY_REGIONS 0#define I915_GEM_CREATE_EXT_PROTECTED_CONTENT 1 +#define I915_GEM_CREATE_EXT_SET_PAT 2__u64 extensions; };@@ -3724,6 +3728,38 @@ struct drm_i915_gem_create_ext_protected_content {__u32 flags; }; +/** +* struct drm_i915_gem_create_ext_set_pat - The +* I915_GEM_CREATE_EXT_SET_PAT extension. +* +* If this extension is provided, the specified caching policy (PAT index) is +* applied to the buffer object. +* +* Below is an example on how to create an object with specific caching policy: +* +* .. code-block:: C +* +* struct drm_i915_gem_create_ext_set_pat set_pat_ext = { +* .base = { .name = I915_GEM_CREATE_EXT_SET_PAT }, +* .pat_index = 0, +* }; +* struct drm_i915_gem_create_ext create_ext = { +* .size = PAGE_SIZE, +* .extensions = (uintptr_t)&set_pat_ext,
tools/include/uapi/drm/i915_drm.h struct drm_i915_gem_create_ext_protected_content { · line 3758
Quoted 10 lines
tools/include/uapi/drm/i915_drm.h +10
-0+* }; +* +* int err = ioctl(fd, DRM_IOCTL_I915_GEM_CREATE_EXT, &create_ext); +* if (err) ... +*/ +struct drm_i915_gem_create_ext_set_pat { +/** @base: Extension link. See struct i915_user_extension. */ +struct i915_user_extension base; +/** @pat_index: PAT index to be set */ +__u32 pat_index;
Can we have at least some words on what PAT is and where to find further information please?
Regards,
Tvrtko
Quoted 7 lines
tools/include/uapi/drm/i915_drm.h +4
-0+/** @rsvd: reserved for future use */ +__u32 rsvd; +}; +/* ID of the protected content session managed by i915 when PXP is active */ #define I915_PROTECTED_CONTENT_DEFAULT_SESSION 0xf
Hi Fei,
Quoted 14 lines · On Fri, May 12, 2023 at 04:28:25PM -0700, [email protected] wrote:
From: Fei Yang <[email protected]>
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_createuAPI 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.
Quoted 1 line
IGT posted at https://patchwork.freedesktop.org/series/117695/
Test gem_create@create-ext-set-pat
Quoted 3 lines
Tested with https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22878
Tested-by Jordan Justen <[email protected]>
we need here an explicit ack to have the paper work in place. So that I still have to ask Jordan and Mesa folks to give an ack if things look right.
Thanks!
Andi
Quoted 5 lines
Cc Chris Wilson <[email protected]>Cc Matt Roper <[email protected]>Cc Andi Shyti <[email protected]>Signed-off-by Fei Yang <[email protected]>Reviewed-by Andi Shyti <[email protected]>
PS:
nitnitnitpick: the tags need to come in chronological order. So that:
- first you wrote it (Sob: Fei...)
- then you sent it (Cc: ...)
- then it has been reviewd (R-b)
- finally tested (T-b)
I see that many people put the "Cc:" before the "Sob:" and I consider it a matter of taste (which might mean "I first prepare the mail (Cc:) and then I send it (Sob:)").
But... don't mind too much at these things.
Andi
Quoted 21 lines
Hi Fei,
Quoted 14 lines · On Fri, May 12, 2023 at 04:28:25PM -0700, [email protected] wrote:
From: Fei Yang <[email protected]>
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_createuAPI 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.Quoted 1 line
IGT posted at https://patchwork.freedesktop.org/series/117695/
Test gem_create@create-ext-set-pat
Quoted 7 lines
Quoted 3 lines
Tested with https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22878
Tested-by Jordan Justen <[email protected]>we need here an explicit ack to have the paper work in place. So that I still have to ask Jordan and Mesa folks to give an ack if things look right.
Will update once an a-b is in place.
Quoted 26 lines
Thanks!
AndiQuoted 5 lines
Cc Chris Wilson <[email protected]>Cc Matt Roper <[email protected]>Cc Andi Shyti <[email protected]>Signed-off-by Fei Yang <[email protected]>Reviewed-by Andi Shyti <[email protected]>PS:
nitnitnitpick: the tags need to come in chronological order. So that:
- first you wrote it (Sob: Fei...)
- then you sent it (Cc: ...)
- then it has been reviewd (R-b)
- finally tested (T-b)I see that many people put the "Cc:" before the "Sob:" and I consider it a matter of taste (which might mean "I first prepare the mail (Cc:) and then I send it (Sob:)").
But... don't mind too much at these things.
Andi
Patchwork
CI[Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915: Allow user to set cache at BO creation (rev8)
In reply to [email protected]== Series Details ==
== Series Details ==
Series: drm/i915: Allow user to set cache at BO creation (rev8)
URL : https://patchwork.freedesktop.org/series/116870/
State : warning
== Summary ==
Error: dim sparse failed
Sparse version: v0.6.2
Fast mode used, each commit won't be checked separately.
Patchwork
CI[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915: Allow user to set cache at BO creation (rev8)
In reply to [email protected]== Series Details ==
== Series Details ==
Series: drm/i915: Allow user to set cache at BO creation (rev8)
URL : https://patchwork.freedesktop.org/series/116870/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_13143 -> Patchwork_116870v8
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_116870v8 absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_116870v8, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116870v8/index.html
Participating hosts (38 -> 38)
------------------------------
Additional (1): fi-kbl-soraka
Missing (1): fi-snb-2520m
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_116870v8:
### IGT changes ###
#### Possible regressions ####
* igt@kms_pipe_crc_basic@compare-crc-sanitycheck@pipe-b-dp-1:
- bat-dg2-8: [PASS][1] -> [FAIL][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13143/bat-dg2-8/igt@kms_pipe_crc_basic@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116870v8/bat-dg2-8/igt@kms_pipe_crc_basic@[email protected]
Known issues
------------
Here are the changes found in Patchwork_116870v8 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_huc_copy@huc-copy:
- fi-kbl-soraka: NOTRUN -> [SKIP][3] ([fdo#109271] / [i915#2190])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116870v8/fi-kbl-soraka/igt@[email protected]
* igt@gem_lmem_swapping@basic:
- fi-kbl-soraka: NOTRUN -> [SKIP][4] ([fdo#109271] / [i915#4613]) +3 similar issues
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116870v8/fi-kbl-soraka/igt@[email protected]
* igt@i915_selftest@live@gt_pm:
- fi-kbl-soraka: NOTRUN -> [DMESG-FAIL][5] ([i915#1886] / [i915#7913])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116870v8/fi-kbl-soraka/igt@i915_selftest@live@gt_pm.html
* igt@i915_selftest@live@migrate:
- bat-dg2-11: [PASS][6] -> [DMESG-FAIL][7] ([i915#7699] / [i915#7913])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13143/bat-dg2-11/igt@i915_selftest@[email protected]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116870v8/bat-dg2-11/igt@i915_selftest@[email protected]
* igt@i915_suspend@basic-s2idle-without-i915:
- bat-rpls-2: NOTRUN -> [ABORT][8] ([i915#6687])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116870v8/bat-rpls-2/igt@[email protected]
* igt@i915_suspend@basic-s3-without-i915:
- bat-rpls-1: NOTRUN -> [ABORT][9] ([i915#6687] / [i915#7953] / [i915#7978])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116870v8/bat-rpls-1/igt@[email protected]
* igt@kms_chamelium_frames@hdmi-crc-fast:
- fi-kbl-soraka: NOTRUN -> [SKIP][10] ([fdo#109271]) +15 similar issues
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116870v8/fi-kbl-soraka/igt@[email protected]
* igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence:
- bat-dg2-11: NOTRUN -> [SKIP][11] ([i915#1845] / [i915#5354]) +2 similar issues
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116870v8/bat-dg2-11/igt@[email protected]
* igt@kms_setmode@basic-clone-single-crtc:
- fi-kbl-soraka: NOTRUN -> [SKIP][12] ([fdo#109271] / [i915#4579])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116870v8/fi-kbl-soraka/igt@[email protected]
#### Possible fixes ####
* igt@i915_selftest@live@gt_heartbeat:
- fi-apl-guc: [DMESG-FAIL][13] ([i915#5334]) -> [PASS][14]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13143/fi-apl-guc/igt@i915_selftest@live@gt_heartbeat.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116870v8/fi-apl-guc/igt@i915_selftest@live@gt_heartbeat.html
* igt@i915_selftest@live@reset:
- bat-rpls-2: [ABORT][15] ([i915#4983] / [i915#7461] / [i915#7913] / [i915#8347]) -> [PASS][16]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13143/bat-rpls-2/igt@i915_selftest@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116870v8/bat-rpls-2/igt@i915_selftest@[email protected]
- bat-rpls-1: [ABORT][17] ([i915#4983] / [i915#7461] / [i915#7953] / [i915#8347] / [i915#8384]) -> [PASS][18]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13143/bat-rpls-1/igt@i915_selftest@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116870v8/bat-rpls-1/igt@i915_selftest@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845
[i915#1886]: https://gitlab.freedesktop.org/drm/intel/issues/1886
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#4579]: https://gitlab.freedesktop.org/drm/intel/issues/4579
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983
[i915#5334]: https://gitlab.freedesktop.org/drm/intel/issues/5334
[i915#5354]: https://gitlab.freedesktop.org/drm/intel/issues/5354
[i915#6687]: https://gitlab.freedesktop.org/drm/intel/issues/6687
[i915#7461]: https://gitlab.freedesktop.org/drm/intel/issues/7461
[i915#7699]: https://gitlab.freedesktop.org/drm/intel/issues/7699
[i915#7913]: https://gitlab.freedesktop.org/drm/intel/issues/7913
[i915#7920]: https://gitlab.freedesktop.org/drm/intel/issues/7920
[i915#7953]: https://gitlab.freedesktop.org/drm/intel/issues/7953
[i915#7978]: https://gitlab.freedesktop.org/drm/intel/issues/7978
[i915#8347]: https://gitlab.freedesktop.org/drm/intel/issues/8347
[i915#8384]: https://gitlab.freedesktop.org/drm/intel/issues/8384
Build changes
-------------
* Linux: CI_DRM_13143 -> Patchwork_116870v8
CI-20190529: 20190529
CI_DRM_13143: 222ff19f23b0bd6aca0b52001d69699f78f5a206 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7286: a482779488f11c432d7ddcb1980691ab1603f356 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_116870v8: 222ff19f23b0bd6aca0b52001d69699f78f5a206 @ git://anongit.freedesktop.org/gfx-ci/linux
### Linux commits
14fe3c293827 drm/i915: Allow user to set cache at BO creation edc9f0cd0450 drm/i915/mtl: end support for set caching ioctl
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116870v8/index.html