drm/i915: Introduce DRM_I915_GEM_MMAP_OFFSET
Subsystems (3)
From: Abdiel Janulgue <[email protected]>
This is really just an alias of mmap_gtt. The 'mmap offset' nomenclature comes from the value returned by this ioctl which is the offset into the device fd which userpace uses with mmap(2).
mmap_gtt was our initial mmap_offset implementation, this extends our CPU mmap support to allow additional fault handlers that depends on the object's backing pages.
Note that we multiplex mmap_gtt and mmap_offset through the same ioctl, and use the zero extending behaviour of drm to differentiate between them, when we inspect the flags.
To support multiple mmap types on an object we need to support multiple mmap_offsets for an object (each offset in the global device address space corresponding to a unique instance of the object for a file + mmap type). As we drop the simplified drm core idea of a single mmap_offset, we need to provide replacement hooks for the dumb mmap interface as well.
Testcase: igt/gem_mmap_offset
--- drivers/gpu/drm/i915/gem/i915_gem_domain.c | 3 +- drivers/gpu/drm/i915/gem/i915_gem_ioctls.h | 4 +- drivers/gpu/drm/i915/gem/i915_gem_mman.c | 467 ++++++++++++++---- drivers/gpu/drm/i915/gem/i915_gem_mman.h | 34 ++ drivers/gpu/drm/i915/gem/i915_gem_object.c | 18 + drivers/gpu/drm/i915/gem/i915_gem_object.h | 7 +- .../gpu/drm/i915/gem/i915_gem_object_types.h | 22 + drivers/gpu/drm/i915/gem/i915_gem_pages.c | 3 + drivers/gpu/drm/i915/gem/i915_gem_tiling.c | 1 + .../drm/i915/gem/selftests/i915_gem_mman.c | 84 +++- drivers/gpu/drm/i915/gt/intel_reset.c | 7 +- drivers/gpu/drm/i915/i915_drv.c | 15 +- drivers/gpu/drm/i915/i915_drv.h | 4 - drivers/gpu/drm/i915/i915_gem.c | 3 +- drivers/gpu/drm/i915/i915_getparam.c | 1 + drivers/gpu/drm/i915/i915_vma.c | 3 +- drivers/gpu/drm/i915/i915_vma.h | 3 + include/uapi/drm/i915_drm.h | 32 ++ 18 files changed, 572 insertions(+), 139 deletions(-) create mode 100644 drivers/gpu/drm/i915/gem/i915_gem_mman.h
drivers/gpu/drm/i915/gem/i915_gem_domain.c +2 -1
@@ -13,6 +13,7 @@#include "i915_gem_object.h" #include "i915_vma.h" #include "i915_gem_lmem.h" +#include "i915_gem_mman.h" static void __i915_gem_object_flush_for_display (struct drm_i915_gem_object *obj) {
@@ -263,7 +264,7 @@ int i915_gem_object_set_cache_level(struct drm_i915_gem_object *obj, }if (obj->userfault_count) -__i915_gem_object_release_mmap (obj); +__i915_gem_object_release_mmap_gtt (obj);/* * As we no longer need a fence for GTT access,
drivers/gpu/drm/i915/gem/i915_gem_ioctls.h +2 -2
@@ -28,8 +28,8 @@ int i915_gem_madvise_ioctl(struct drm_device *dev, void *data, struct drm_file *file);int i915_gem_mmap_ioctl (struct drm_device *dev,void *data,struct drm_file *file); -int i915_gem_mmap_gtt_ioctl (struct drm_device *dev,void *data, -struct drm_file *file); +int i915_gem_mmap_offset_ioctl (struct drm_device *dev,void *data, +struct drm_file *file);int i915_gem_pread_ioctl (struct drm_device *dev,void *data,struct drm_file *file); int i915_gem_pwrite_ioctl(struct drm_device *dev, void *data,
drivers/gpu/drm/i915/gem/i915_gem_mman.c +376 -91
581 lines not on this page · raw message
drivers/gpu/drm/i915/gem/i915_gem_mman.h new file +34 -0
@@ -0,0 +1,34 @@ +/* +* SPDX-License-Identifier: MIT +* +* Copyright © 2019 Intel Corporation +*/ + +#ifndef __I915_GEM_MMAN_H__ +#define __I915_GEM_MMAN_H__ + +#include <linux/mm_types.h> +#include <linux/types.h> + +struct drm_device ; +struct drm_file ; +struct drm_i915_gem_object ; +struct file ; +struct i915_mmap_offset ; +struct mutex ; + +int i915_gem_mmap_gtt_version (void ); +int i915_gem_mmap (struct file *filp,struct vm_area_struct *vma); + +int i915_gem_dumb_mmap_offset (struct drm_file *file_priv, +struct drm_device *dev, +u32 handle,u64 *offset); + +void __i915_gem_object_release_mmap_gtt (struct drm_i915_gem_object *obj); +void i915_gem_object_release_mmap (struct drm_i915_gem_object *obj); +void i915_gem_object_release_mmap_offset (struct drm_i915_gem_object *obj); + +void i915_mmap_offset_destroy (struct i915_mmap_offset *mmo, +struct mutex *mutex); + +#endif
drivers/gpu/drm/i915/gem/i915_gem_object.c +18 -0
@@ -29,6 +29,7 @@#include "i915_drv.h" #include "i915_gem_clflush.h" #include "i915_gem_context.h" +#include "i915_gem_mman.h" #include "i915_gem_object.h" #include "i915_globals.h" #include "i915_trace.h"
@@ -61,6 +62,9 @@ void i915_gem_object_init(struct drm_i915_gem_object *obj,INIT_LIST_HEAD (&obj->lut_list); +mutex_init (&obj->mmo_lock); +INIT_LIST_HEAD (&obj->mmap_offsets); +init_rcu_head (&obj->rcu); obj->ops = ops;
@@ -97,6 +101,7 @@ void i915_gem_close_object(struct drm_gem_object *gem, struct drm_file *file)struct drm_i915_gem_object *obj =to_intel_bo (gem);struct drm_i915_file_private *fpriv = file->driver_priv;struct i915_lut_handle *lut, *ln; +struct i915_mmap_offset *mmo, *on;LIST_HEAD (close);i915_gem_object_lock (obj);
@@ -111,6 +116,9 @@ void i915_gem_close_object(struct drm_gem_object *gem, struct drm_file *file) }i915_gem_object_unlock (obj); +list_for_each_entry_safe (mmo, on, &obj->mmap_offsets, offset) +drm_vma_node_revoke (&mmo->vma_node, file); +list_for_each_entry_safe (lut, ln, &close, obj_link) {struct i915_gem_context *ctx = lut->ctx;struct i915_vma *vma;
@@ -158,6 +166,8 @@ static void __i915_gem_free_objects(struct drm_i915_private *i915, wakeref =intel_runtime_pm_get (&i915->runtime_pm);llist_for_each_entry_safe (obj, on, freed, freed) { +struct i915_mmap_offset *mmo, *mn; +trace_i915_gem_object_destroy (obj);if (!list_empty (&obj->vma.list)) {
@@ -183,6 +193,14 @@ static void __i915_gem_free_objects(struct drm_i915_private *i915,spin_unlock (&obj->vma.lock); } +i915_gem_object_release_mmap (obj); + +list_for_each_entry_safe (mmo, mn, &obj->mmap_offsets, offset) { + mmo->obj =NULL ; +i915_mmap_offset_destroy (mmo, &obj->mmo_lock); + } + +GEM_BUG_ON (!list_empty (&obj->mmap_offsets));GEM_BUG_ON (atomic_read (&obj->bind_count));GEM_BUG_ON (obj->userfault_count);GEM_BUG_ON (!list_empty (&obj->lut_list));
drivers/gpu/drm/i915/gem/i915_gem_object.h +2 -5
@@ -132,13 +132,13 @@ void i915_gem_object_unlock_fence(struct drm_i915_gem_object *obj,static inline void i915_gem_object_set_readonly (struct drm_i915_gem_object *obj) { - obj->base.vma_node.readonly = true; + obj->flags |=I915_BO_READONLY ; }static inline bool i915_gem_object_is_readonly (const struct drm_i915_gem_object *obj) { -return obj->base.vma_node.readonly; +return obj->flags &I915_BO_READONLY ; } static inline bool
@@ -387,9 +387,6 @@ static inline void i915_gem_object_unpin_map(struct drm_i915_gem_object *obj)i915_gem_object_unpin_pages (obj); } -void __i915_gem_object_release_mmap (struct drm_i915_gem_object *obj); -void i915_gem_object_release_mmap (struct drm_i915_gem_object *obj); -void i915_gem_object_flush_write_domain (struct drm_i915_gem_object *obj,unsigned int flush_domains);
drivers/gpu/drm/i915/gem/i915_gem_object_types.h +22 -0
@@ -63,6 +63,23 @@ struct drm_i915_gem_object_ops {void (*release)(struct drm_i915_gem_object *obj); }; +enum i915_mmap_type { +I915_MMAP_TYPE_GTT =0 , +I915_MMAP_TYPE_WC , +I915_MMAP_TYPE_WB , +I915_MMAP_TYPE_UC , +}; + +struct i915_mmap_offset { +struct drm_device *dev; +struct drm_vma_offset_node vma_node; +struct drm_i915_gem_object *obj; +struct drm_file *file; +enum i915_mmap_type mmap_type; + +struct list_head offset; +}; +struct drm_i915_gem_object {struct drm_gem_object base;
@@ -118,12 +135,17 @@ struct drm_i915_gem_object {unsigned int userfault_count;struct list_head userfault_link; +/* Protects access to mmap offsets */ +struct mutex mmo_lock; +struct list_head mmap_offsets; + I915_SELFTEST_DECLARE(struct list_head st_link);unsigned long flags;#define I915_BO_ALLOC_CONTIGUOUS BIT(0)#define I915_BO_ALLOC_VOLATILE BIT(1)#define I915_BO_ALLOC_FLAGS (I915_BO_ALLOC_CONTIGUOUS | I915_BO_ALLOC_VOLATILE) +#define I915_BO_READONLY BIT(2)/* * Is the object to be mapped as read-only to the GPU
drivers/gpu/drm/i915/gem/i915_gem_pages.c +3 -0
@@ -8,6 +8,7 @@#include "i915_gem_object.h" #include "i915_scatterlist.h" #include "i915_gem_lmem.h" +#include "i915_gem_mman.h" void __i915_gem_object_set_pages(struct drm_i915_gem_object *obj, struct sg_table *pages,
@@ -207,6 +208,8 @@ int __i915_gem_object_put_pages(struct drm_i915_gem_object *obj) goto unlock; } +i915_gem_object_release_mmap_offset (obj); +/* * ->put_pages might need to allocate memory for the bit17 swizzle * array, hence protect them from being reaped by removing them from gtt
drivers/gpu/drm/i915/gem/i915_gem_tiling.c +1 -0
@@ -11,6 +11,7 @@#include "i915_drv.h" #include "i915_gem.h" #include "i915_gem_ioctls.h" +#include "i915_gem_mman.h" #include "i915_gem_object.h" /**
drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c +61 -23
210 lines not on this page · raw message
drivers/gpu/drm/i915/gt/intel_reset.c +6 -1
@@ -678,8 +678,13 @@ static void revoke_mmaps(struct intel_gt *gt)continue ;GEM_BUG_ON (vma->fence != >->ggtt->fence_regs[i]); - node = &vma->obj->base.vma_node; + +if (!vma->mmo) +continue ; + + node = &vma->mmo->vma_node; vma_offset = vma->ggtt_view.partial.offset <<PAGE_SHIFT ; + unmap_mapping_range(gt->i915->drm.anon_inode->i_mapping, drm_vma_node_offset_addr(node) + vma_offset, vma->size,
drivers/gpu/drm/i915/i915_drv.c +5 -10
@@ -61,6 +61,7 @@#include "gem/i915_gem_context.h" #include "gem/i915_gem_ioctls.h" +#include "gem/i915_gem_mman.h" #include "gt/intel_gt.h" #include "gt/intel_gt_pm.h" #include "gt/intel_rc6.h"
@@ -2662,18 +2663,12 @@ const struct dev_pm_ops i915_pm_ops = { .runtime_resume = intel_runtime_resume, }; -static const struct vm_operations_struct i915_gem_vm_ops = { - .fault = i915_gem_fault, - .open = drm_gem_vm_open, - .close = drm_gem_vm_close, -}; -static const struct file_operations i915_driver_fops = { .owner =THIS_MODULE , .open = drm_open, .release = drm_release, .unlocked_ioctl = drm_ioctl, - .mmap = drm_gem_mmap, + .mmap = i915_gem_mmap, .poll = drm_poll, .read = drm_read, .compat_ioctl = i915_compat_ioctl,
@@ -2720,7 +2715,7 @@ static const struct drm_ioctl_desc i915_ioctls[] = {DRM_IOCTL_DEF_DRV (I915_GEM_PREAD , i915_gem_pread_ioctl,DRM_RENDER_ALLOW ),DRM_IOCTL_DEF_DRV (I915_GEM_PWRITE , i915_gem_pwrite_ioctl,DRM_RENDER_ALLOW ),DRM_IOCTL_DEF_DRV (I915_GEM_MMAP , i915_gem_mmap_ioctl,DRM_RENDER_ALLOW ), -DRM_IOCTL_DEF_DRV (I915_GEM_MMAP_GTT , i915_gem_mmap_gtt_ioctl,DRM_RENDER_ALLOW ), +DRM_IOCTL_DEF_DRV (I915_GEM_MMAP_OFFSET , i915_gem_mmap_offset_ioctl,DRM_RENDER_ALLOW ),DRM_IOCTL_DEF_DRV (I915_GEM_SET_DOMAIN , i915_gem_set_domain_ioctl,DRM_RENDER_ALLOW ),DRM_IOCTL_DEF_DRV (I915_GEM_SW_FINISH , i915_gem_sw_finish_ioctl,DRM_RENDER_ALLOW ), DRM_IOCTL_DEF_DRV(I915_GEM_SET_TILING, i915_gem_set_tiling_ioctl, DRM_RENDER_ALLOW),
@@ -2762,7 +2757,6 @@ static struct drm_driver driver = { .gem_close_object = i915_gem_close_object, .gem_free_object_unlocked = i915_gem_free_object, - .gem_vm_ops = &i915_gem_vm_ops, .prime_handle_to_fd = drm_gem_prime_handle_to_fd, .prime_fd_to_handle = drm_gem_prime_fd_to_handle,
@@ -2773,7 +2767,8 @@ static struct drm_driver driver = { .get_scanout_position = i915_get_crtc_scanoutpos, .dumb_create = i915_gem_dumb_create, - .dumb_map_offset = i915_gem_mmap_gtt, + .dumb_map_offset = i915_gem_dumb_mmap_offset, + .ioctls = i915_ioctls, .num_ioctls = ARRAY_SIZE(i915_ioctls), .fops = &i915_driver_fops,
drivers/gpu/drm/i915/i915_drv.h +0 -4
@@ -1857,9 +1857,6 @@ i915_mutex_lock_interruptible(struct drm_device *dev)int i915_gem_dumb_create (struct drm_file *file_priv,struct drm_device *dev,struct drm_mode_create_dumb *args); -int i915_gem_mmap_gtt (struct drm_file *file_priv,struct drm_device *dev, -u32 handle,u64 *offset); -int i915_gem_mmap_gtt_version (void );int __must_check i915_gem_set_global_seqno (struct drm_device *dev,u32 seqno);
@@ -1882,7 +1879,6 @@ void i915_gem_driver_release(struct drm_i915_private *dev_priv);void i915_gem_suspend (struct drm_i915_private *dev_priv);void i915_gem_suspend_late (struct drm_i915_private *dev_priv);void i915_gem_resume (struct drm_i915_private *dev_priv); -vm_fault_t i915_gem_fault (struct vm_fault *vmf);int i915_gem_open (struct drm_i915_private *i915,struct drm_file *file);void i915_gem_release (struct drm_device *dev,struct drm_file *file);
drivers/gpu/drm/i915/i915_gem.c +2 -1
@@ -44,6 +44,7 @@#include "gem/i915_gem_clflush.h" #include "gem/i915_gem_context.h" #include "gem/i915_gem_ioctls.h" +#include "gem/i915_gem_mman.h" #include "gem/i915_gem_pm.h" #include "gt/intel_context.h" #include "gt/intel_engine_user.h"
@@ -855,7 +856,7 @@ void i915_gem_runtime_suspend(struct drm_i915_private *i915)list_for_each_entry_safe (obj, on, &i915->ggtt.userfault_list, userfault_link) -__i915_gem_object_release_mmap (obj); +__i915_gem_object_release_mmap_gtt (obj);/* * The fence will be lost when the device powers down. If any were
drivers/gpu/drm/i915/i915_getparam.c +1 -0
@@ -2,6 +2,7 @@* SPDX-License-Identifier: MIT */ +#include "gem/i915_gem_mman.h" #include "gt/intel_engine_user.h" #include "i915_drv.h"
drivers/gpu/drm/i915/i915_vma.c +2 -1
@@ -1054,7 +1054,7 @@ static void __i915_vma_iounmap(struct i915_vma *vma)void i915_vma_revoke_mmap (struct i915_vma *vma) { -struct drm_vma_offset_node *node = &vma->obj->base.vma_node; +struct drm_vma_offset_node *node;u64 vma_offset;lockdep_assert_held (&vma->vm->mutex);
@@ -1065,6 +1065,7 @@ void i915_vma_revoke_mmap(struct i915_vma *vma)GEM_BUG_ON (!i915_vma_is_map_and_fenceable (vma));GEM_BUG_ON (!vma->obj->userfault_count); + node = &vma->mmo->vma_node; vma_offset = vma->ggtt_view.partial.offset <<PAGE_SHIFT ; unmap_mapping_range(vma->vm->i915->drm.anon_inode->i_mapping, drm_vma_node_offset_addr(node) + vma_offset,
drivers/gpu/drm/i915/i915_vma.h +3 -0
@@ -63,6 +63,9 @@ struct i915_vma {u64 display_alignment;struct i915_page_sizes page_sizes; +/* mmap-offset associated with fencing for this vma */ +struct i915_mmap_offset *mmo; +u32 fence_size;u32 fence_alignment;
include/uapi/drm/i915_drm.h +32 -0
@@ -395,6 +395,7 @@ typedef struct _drm_i915_sarea {#define DRM_IOCTL_I915_GEM_PWRITE DRM_IOW (DRM_COMMAND_BASE + DRM_I915_GEM_PWRITE, struct drm_i915_gem_pwrite)#define DRM_IOCTL_I915_GEM_MMAP DRM_IOWR(DRM_COMMAND_BASE + DRM_I915_GEM_MMAP, struct drm_i915_gem_mmap)#define DRM_IOCTL_I915_GEM_MMAP_GTT DRM_IOWR(DRM_COMMAND_BASE + DRM_I915_GEM_MMAP_GTT, struct drm_i915_gem_mmap_gtt) +#define DRM_IOCTL_I915_GEM_MMAP_OFFSET DRM_IOWR(DRM_COMMAND_BASE + DRM_I915_GEM_MMAP_GTT, struct drm_i915_gem_mmap_offset)#define DRM_IOCTL_I915_GEM_SET_DOMAIN DRM_IOW (DRM_COMMAND_BASE + DRM_I915_GEM_SET_DOMAIN, struct drm_i915_gem_set_domain)#define DRM_IOCTL_I915_GEM_SW_FINISH DRM_IOW (DRM_COMMAND_BASE + DRM_I915_GEM_SW_FINISH, struct drm_i915_gem_sw_finish)#define DRM_IOCTL_I915_GEM_SET_TILING DRM_IOWR (DRM_COMMAND_BASE + DRM_I915_GEM_SET_TILING, struct drm_i915_gem_set_tiling)
@@ -793,6 +794,37 @@ struct drm_i915_gem_mmap_gtt {__u64 offset; }; +struct drm_i915_gem_mmap_offset { +/** Handle for the object being mapped. */ +__u32 handle; +__u32 pad; +/** +* Fake offset to use for subsequent mmap call +* +* This is a fixed-size type for 32/64 compatibility. +*/ +__u64 offset; + +/** +* Flags for extended behaviour. +* +* It is mandatory that either one of the MMAP_OFFSET flags +* should be passed here. +*/ +__u64 flags; +#define I915_MMAP_OFFSET_GTT 0 +#define I915_MMAP_OFFSET_WC 1 +#define I915_MMAP_OFFSET_WB 2 +#define I915_MMAP_OFFSET_UC 3 + +/* +* Zero-terminated chain of extensions. +* +* No current extensions defined; mbz. +*/ +__u64 extensions; +}; +struct drm_i915_gem_set_domain {/** Handle for the object */ __u32 handle;
Signature · 6 lines
2.24.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✗ Fi.CI.CHECKPATCH: warning for drm/i915: Introduce DRM_I915_GEM_MMAP_OFFSET (rev4)
== Series Details ==
== Series Details ==
Series: drm/i915: Introduce DRM_I915_GEM_MMAP_OFFSET (rev4)
URL : https://patchwork.freedesktop.org/series/70164/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip 10bf09ee7e6e drm/i915: Introduce DRM_I915_GEM_MMAP_OFFSET -:466: WARNING:UNNECESSARY_ELSE: else is not generally useful after a break or return #466: FILE: drivers/gpu/drm/i915/gem/i915_gem_mman.c:587: + return -ENODEV; + else
-:662: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #662:
new file mode 100644
-:667: WARNING:SPDX_LICENSE_TAG: Missing or malformed SPDX-License-Identifier tag in line 1 #667: FILE: drivers/gpu/drm/i915/gem/i915_gem_mman.h:1:
+/*
-:668: WARNING:SPDX_LICENSE_TAG: Misplaced SPDX-License-Identifier tag - use line 1 instead #668: FILE: drivers/gpu/drm/i915/gem/i915_gem_mman.h:2:
+ * SPDX-License-Identifier: MIT
-:698: CHECK:UNCOMMENTED_DEFINITION: struct mutex definition without comment #698: FILE: drivers/gpu/drm/i915/gem/i915_gem_mman.h:32:
+ struct mutex *mutex);
-:1230: WARNING:SPDX_LICENSE_TAG: Misplaced SPDX-License-Identifier tag - use line 1 instead #1230: FILE: drivers/gpu/drm/i915/i915_getparam.c:2:
* SPDX-License-Identifier: MIT
-:1280: WARNING:LONG_LINE: line over 100 characters #1280: FILE: include/uapi/drm/i915_drm.h:398:
+#define DRM_IOCTL_I915_GEM_MMAP_OFFSET DRM_IOWR(DRM_COMMAND_BASE + DRM_I915_GEM_MMAP_GTT, struct drm_i915_gem_mmap_offset)
total: 0 errors, 6 warnings, 1 checks, 1160 lines checked
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✗ Fi.CI.BAT: failure for drm/i915: Introduce DRM_I915_GEM_MMAP_OFFSET (rev4)
In reply to Chris Wilson== Series Details ==
== Series Details ==
Series: drm/i915: Introduce DRM_I915_GEM_MMAP_OFFSET (rev4)
URL : https://patchwork.freedesktop.org/series/70164/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_7439 -> Patchwork_15500
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_15500 absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_15500, 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_15500/index.html
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_15500:
### IGT changes ###
#### Possible regressions ####
* igt@kms_pipe_crc_basic@hang-read-crc-pipe-a:
- fi-bwr-2160: [PASS][1] -> [FAIL][2] +4 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7439/fi-bwr-2160/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15500/fi-bwr-2160/igt@[email protected]
* igt@kms_pipe_crc_basic@nonblocking-crc-pipe-a-frame-sequence:
- fi-ilk-650: [PASS][3] -> [FAIL][4] +6 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7439/fi-ilk-650/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15500/fi-ilk-650/igt@[email protected]
- fi-elk-e7500: [PASS][5] -> [FAIL][6] +6 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7439/fi-elk-e7500/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15500/fi-elk-e7500/igt@[email protected]
- fi-gdg-551: [PASS][7] -> [FAIL][8] +2 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7439/fi-gdg-551/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15500/fi-gdg-551/igt@[email protected]
* igt@kms_pipe_crc_basic@read-crc-pipe-b:
- fi-blb-e6850: [PASS][9] -> [FAIL][10] +6 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7439/fi-blb-e6850/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15500/fi-blb-e6850/igt@[email protected]
* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a:
- fi-bsw-kefka: [PASS][11] -> [FAIL][12] +2 similar issues
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7439/fi-bsw-kefka/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15500/fi-bsw-kefka/igt@[email protected]
Known issues
------------
Here are the changes found in Patchwork_15500 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_pipe_crc_basic@read-crc-pipe-a-frame-sequence:
- fi-byt-n2820: [PASS][13] -> [FAIL][14] ([fdo#103191]) +2 similar issues
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7439/fi-byt-n2820/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15500/fi-byt-n2820/igt@[email protected]
- fi-byt-j1900: [PASS][15] -> [FAIL][16] ([fdo#103191]) +4 similar issues
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7439/fi-byt-j1900/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15500/fi-byt-j1900/igt@[email protected]
* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a:
- fi-glk-dsi: [PASS][17] -> [FAIL][18] ([fdo#103191]) +3 similar issues
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7439/fi-glk-dsi/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15500/fi-glk-dsi/igt@[email protected]
#### Possible fixes ####
* igt@gem_exec_create@basic:
- {fi-tgl-u}: [INCOMPLETE][19] ([fdo#111736]) -> [PASS][20]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7439/fi-tgl-u/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15500/fi-tgl-u/igt@[email protected]
* igt@gem_sync@basic-all:
- fi-tgl-y: [INCOMPLETE][21] -> [PASS][22]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7439/fi-tgl-y/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15500/fi-tgl-y/igt@[email protected]
* igt@i915_module_load@reload-with-fault-injection:
- fi-icl-dsi: [INCOMPLETE][23] ([fdo#107713]) -> [PASS][24]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7439/fi-icl-dsi/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15500/fi-icl-dsi/igt@[email protected]
* igt@i915_pm_rpm@module-reload:
- fi-kbl-guc: [SKIP][25] ([fdo#109271]) -> [PASS][26]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7439/fi-kbl-guc/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15500/fi-kbl-guc/igt@[email protected]
* igt@i915_selftest@live_blt:
- fi-hsw-peppy: [DMESG-FAIL][27] -> [PASS][28]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7439/fi-hsw-peppy/igt@i915_selftest@live_blt.html
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15500/fi-hsw-peppy/igt@i915_selftest@live_blt.html
* igt@i915_selftest@live_gt_heartbeat:
- fi-skl-6770hq: [DMESG-FAIL][29] -> [PASS][30]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7439/fi-skl-6770hq/igt@i915_selftest@live_gt_heartbeat.html
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15500/fi-skl-6770hq/igt@i915_selftest@live_gt_heartbeat.html
* igt@kms_chamelium@hdmi-hpd-fast:
- fi-kbl-7500u: [FAIL][31] ([fdo#111407]) -> [PASS][32]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7439/fi-kbl-7500u/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15500/fi-kbl-7500u/igt@[email protected]
* igt@kms_frontbuffer_tracking@basic:
- fi-hsw-peppy: [DMESG-WARN][33] ([fdo#102614]) -> [PASS][34]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7439/fi-hsw-peppy/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15500/fi-hsw-peppy/igt@[email protected]
#### Warnings ####
* igt@gem_exec_suspend@basic-s3:
- fi-kbl-x1275: [DMESG-WARN][35] ([fdo#103558] / [fdo#105602]) -> [DMESG-WARN][36] ([fdo#103558] / [fdo#105602] / [fdo#105763]) +2 similar issues
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7439/fi-kbl-x1275/igt@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15500/fi-kbl-x1275/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy:
- fi-kbl-x1275: [DMESG-WARN][37] ([fdo#103558] / [fdo#105602] / [fdo#105763]) -> [DMESG-WARN][38] ([fdo#103558] / [fdo#105602]) +4 similar issues
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7439/fi-kbl-x1275/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15500/fi-kbl-x1275/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#102614]: https://bugs.freedesktop.org/show_bug.cgi?id=102614
[fdo#103191]: https://bugs.freedesktop.org/show_bug.cgi?id=103191
[fdo#103558]: https://bugs.freedesktop.org/show_bug.cgi?id=103558
[fdo#105602]: https://bugs.freedesktop.org/show_bug.cgi?id=105602
[fdo#105763]: https://bugs.freedesktop.org/show_bug.cgi?id=105763
[fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109964]: https://bugs.freedesktop.org/show_bug.cgi?id=109964
[fdo#111407]: https://bugs.freedesktop.org/show_bug.cgi?id=111407
[fdo#111736]: https://bugs.freedesktop.org/show_bug.cgi?id=111736
[fdo#112298]: https://bugs.freedesktop.org/show_bug.cgi?id=112298
Participating hosts (50 -> 46)
------------------------------
Additional (2): fi-ivb-3770 fi-apl-guc
Missing (6): fi-ilk-m540 fi-hsw-4200u fi-bsw-cyan fi-ctg-p8600 fi-byt-clapper fi-bdw-samus
Build changes
-------------
* CI: CI-20190529 -> None
* Linux: CI_DRM_7439 -> Patchwork_15500
CI-20190529: 20190529
CI_DRM_7439: beaa4bfd9286fbe042d7705b00140f218db148f8 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5315: 58705eb1bd29414244f4d0cfa08a9f0ce42d6545 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_15500: 10bf09ee7e6ec37309ac2e9eda5ec06e17fa4bab @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
10bf09ee7e6e drm/i915: Introduce DRM_I915_GEM_MMAP_OFFSET
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15500/index.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx