drm/i915: Switch obj->mm.lock lockdep annotations on its head
Subsystems (3)
PATCH 1/3 drm/i915: Switch obj->mm.lock lockdep annotations on its head
The trouble with having a plain nesting flag for locks which do not naturally nest (unlike block devices and their partitions, which is the original motivation for nesting levels) is that lockdep will never spot a true deadlock if you screw up.
This patch is an attempt at trying better, by highlighting a bit more the actual nature of the nesting that's going on. Essentially we have two kinds of objects:
- objects without pages allocated, which cannot be on any lru and are hence inaccessible to the shrinker.
- objects which have pages allocated, which are on an lru, and which the shrinker can decide to throw out.
For the former type of object, memory allcoations while holding obj->mm.lock are permissible. For the latter they are not. And get/put_pages transitions between the two types of objects.
This is still not entirely fool-proof since the rules might chance. But as long as we run such a code ever at runtime lockdep should be able to observe the inconsistency and complain (like with any other lockdep class that we've split up in multiple classes). But there are a few clear benefits:
- We can drop the nesting flag parameter from __i915_gem_object_put_pages, because that function by definition is never going allocate memory, and calling it on an object which doesn't have its pages allocated would be a bug.
- We strictly catch more bugs, since there's not only one place in the entire tree which is annotated with the special class. All the other places that had explicit lockdep nesting annotations we're now going to leave up to lockdep again.
- Specifically this catches stuff like calling get_pages from put_pages (which isn't really a good idea, if we can call put_pages so could the shrinker). I've seen patches do exactly that.
Of course I fully expect CI will show me for the fool I am with this one here :-)
v2: There can only be one (lockdep only has a cache for the first subclass, not for deeper ones, and we don't want to make these locks even slower). Still separate enums for better documentation.
Real fix: don forget about phys objs and pin_map(), and fix the shrinker to have the right annotations ... silly me.
v3: Forgot usertptr too ...
v4: Improve comment for pages_pin_count, drop the IMPORTANT comment and instead prime lockdep (Chris).
--- drivers/gpu/drm/i915/gem/i915_gem_object.c | 13 ++++++++++++- drivers/gpu/drm/i915/gem/i915_gem_object.h | 16 +++++++++++++--- drivers/gpu/drm/i915/gem/i915_gem_object_types.h | 6 +++++- drivers/gpu/drm/i915/gem/i915_gem_pages.c | 9 ++++----- drivers/gpu/drm/i915/gem/i915_gem_phys.c | 2 +- drivers/gpu/drm/i915/gem/i915_gem_shrinker.c | 5 ++--- drivers/gpu/drm/i915/gem/i915_gem_userptr.c | 4 ++-- drivers/gpu/drm/i915/gem/selftests/huge_pages.c | 12 ++++++------ 8 files changed, 45 insertions(+), 22 deletions(-)
drivers/gpu/drm/i915/gem/i915_gem_object.c +12 -1
@@ -22,6 +22,8 @@* */ +#include <linux/sched/mm.h> +#include "display/intel_frontbuffer.h" #include "gt/intel_gt.h" #include "i915_drv.h"
@@ -51,6 +53,15 @@ void i915_gem_object_init(struct drm_i915_gem_object *obj, {mutex_init (&obj->mm.lock); +if (IS_ENABLED (CONFIG_LOCKDEP )) { +mutex_lock_nested (&obj->mm.lock,I915_MM_GET_PAGES ); +fs_reclaim_acquire (GFP_KERNEL ); +might_lock (&obj->mm.lock); +fs_reclaim_release (GFP_KERNEL ); +mutex_unlock (&obj->mm.lock); + } + +spin_lock_init (&obj->vma.lock);INIT_LIST_HEAD (&obj->vma.list);
@@ -176,7 +187,7 @@ static void __i915_gem_free_objects(struct drm_i915_private *i915,GEM_BUG_ON (!list_empty (&obj->lut_list));atomic_set (&obj->mm.pages_pin_count,0 ); -__i915_gem_object_put_pages (obj,I915_MM_NORMAL ); +__i915_gem_object_put_pages (obj);GEM_BUG_ON (i915_gem_object_has_pages (obj));bitmap_free (obj->bit_17);
drivers/gpu/drm/i915/gem/i915_gem_object.h +13 -3
@@ -281,11 +281,21 @@ i915_gem_object_unpin_pages(struct drm_i915_gem_object *obj)enum i915_mm_subclass {/* lockdep subclass for obj->mm.lock/struct_mutex */ I915_MM_NORMAL =0 , -I915_MM_SHRINKER /* called "recursively" from direct-reclaim-esque */ +/* +* Only used by struct_mutex, when called "recursively" from +* direct-reclaim-esque. Safe because there is only every one +* struct_mutex in the entire system. */ +I915_MM_SHRINKER =1 , +/* +* Used for obj->mm.lock when allocating pages. Safe because the object +* isn't yet on any LRU, and therefore the shrinker can't deadlock on +* it. As soon as the object has pages, obj->mm.lock nests within +* fs_reclaim. +*/ +I915_MM_GET_PAGES =1 , }; -int __i915_gem_object_put_pages (struct drm_i915_gem_object *obj, -enum i915_mm_subclass subclass); +int __i915_gem_object_put_pages (struct drm_i915_gem_object *obj);void i915_gem_object_truncate (struct drm_i915_gem_object *obj);void i915_gem_object_writeback (struct drm_i915_gem_object *obj);
drivers/gpu/drm/i915/gem/i915_gem_object_types.h +5 -1
@@ -156,7 +156,11 @@ struct drm_i915_gem_object {unsigned int pin_global;struct { -struct mutex lock;/* protects the pages and their use */ +/* +* Protects the pages and their use. Do not use directly, but +* instead go through the pin/unpin interfaces. +*/ +struct mutex lock;atomic_t pages_pin_count;struct sg_table *pages;
drivers/gpu/drm/i915/gem/i915_gem_pages.c +4 -5
@@ -101,7 +101,7 @@ int __i915_gem_object_get_pages(struct drm_i915_gem_object *obj) {int err; - err =mutex_lock_interruptible (&obj->mm.lock); + err =mutex_lock_interruptible_nested (&obj->mm.lock,I915_MM_GET_PAGES );if (err)return err;
@@ -179,8 +179,7 @@ __i915_gem_object_unset_pages(struct drm_i915_gem_object *obj)return pages; } -int __i915_gem_object_put_pages (struct drm_i915_gem_object *obj, -enum i915_mm_subclass subclass) +int __i915_gem_object_put_pages (struct drm_i915_gem_object *obj) {struct sg_table *pages;int err;
@@ -191,7 +190,7 @@ int __i915_gem_object_put_pages(struct drm_i915_gem_object *obj,GEM_BUG_ON (atomic_read (&obj->bind_count));/* May be called by shrinker from within get_pages() (on another bo) */ -mutex_lock_nested (&obj->mm.lock, subclass); +mutex_lock (&obj->mm.lock);if (unlikely (atomic_read (&obj->mm.pages_pin_count))) { err = -EBUSY ; goto unlock;
@@ -285,7 +284,7 @@ void *i915_gem_object_pin_map(struct drm_i915_gem_object *obj,if (unlikely (!i915_gem_object_has_struct_page (obj)))return ERR_PTR (-ENXIO ); - err =mutex_lock_interruptible (&obj->mm.lock); + err =mutex_lock_interruptible_nested (&obj->mm.lock,I915_MM_GET_PAGES );if (err)return ERR_PTR (err);
drivers/gpu/drm/i915/gem/i915_gem_phys.c +1 -1
@@ -163,7 +163,7 @@ int i915_gem_object_attach_phys(struct drm_i915_gem_object *obj, int align)if (err)return err; -mutex_lock (&obj->mm.lock); +mutex_lock_nested (&obj->mm.lock,I915_MM_GET_PAGES );if (obj->mm.madv !=I915_MADV_WILLNEED ) { err = -EFAULT ;
drivers/gpu/drm/i915/gem/i915_gem_shrinker.c +2 -3
@@ -98,7 +98,7 @@ static bool unsafe_drop_pages(struct drm_i915_gem_object *obj, flags =I915_GEM_OBJECT_UNBIND_ACTIVE ;if (i915_gem_object_unbind (obj, flags) ==0 ) -__i915_gem_object_put_pages (obj,I915_MM_SHRINKER ); +__i915_gem_object_put_pages (obj);return !i915_gem_object_has_pages (obj); }
@@ -254,8 +254,7 @@ i915_gem_shrink(struct drm_i915_private *i915,if (unsafe_drop_pages (obj, shrink)) {/* May arrive from get_pages on another bo */ -mutex_lock_nested (&obj->mm.lock, -I915_MM_SHRINKER ); +mutex_lock (&obj->mm.lock);if (!i915_gem_object_has_pages (obj)) {try_to_writeback (obj, shrink); count += obj->base.size >>PAGE_SHIFT ;
drivers/gpu/drm/i915/gem/i915_gem_userptr.c +2 -2
@@ -158,7 +158,7 @@ userptr_mn_invalidate_range_start(struct mmu_notifier *_mn, ret =i915_gem_object_unbind (obj,I915_GEM_OBJECT_UNBIND_ACTIVE );if (ret ==0 ) - ret =__i915_gem_object_put_pages (obj,I915_MM_SHRINKER ); + ret =__i915_gem_object_put_pages (obj);i915_gem_object_put (obj);if (ret) goto unlock;
@@ -514,7 +514,7 @@ __i915_gem_userptr_get_pages_worker(struct work_struct *_work) } } -mutex_lock (&obj->mm.lock); +mutex_lock_nested (&obj->mm.lock,I915_MM_GET_PAGES );if (obj->userptr.work == &work->work) {struct sg_table *pages =ERR_PTR (ret);
drivers/gpu/drm/i915/gem/selftests/huge_pages.c +6 -6
@@ -562,7 +562,7 @@ static int igt_mock_ppgtt_misaligned_dma(void *arg)i915_vma_close (vma);i915_gem_object_unpin_pages (obj); -__i915_gem_object_put_pages (obj,I915_MM_NORMAL ); +__i915_gem_object_put_pages (obj);i915_gem_object_put (obj); }
@@ -590,7 +590,7 @@ static void close_object_list(struct list_head *objects,list_del (&obj->st_link);i915_gem_object_unpin_pages (obj); -__i915_gem_object_put_pages (obj,I915_MM_NORMAL ); +__i915_gem_object_put_pages (obj);i915_gem_object_put (obj); } }
@@ -860,7 +860,7 @@ static int igt_mock_ppgtt_64K(void *arg)i915_vma_close (vma);i915_gem_object_unpin_pages (obj); -__i915_gem_object_put_pages (obj,I915_MM_NORMAL ); +__i915_gem_object_put_pages (obj);i915_gem_object_put (obj); } }
@@ -1164,7 +1164,7 @@ static int igt_ppgtt_exhaust_huge(void *arg) }i915_gem_object_unpin_pages (obj); -__i915_gem_object_put_pages (obj,I915_MM_NORMAL ); +__i915_gem_object_put_pages (obj);i915_gem_object_put (obj); } }
@@ -1226,7 +1226,7 @@ static int igt_ppgtt_internal_huge(void *arg) }i915_gem_object_unpin_pages (obj); -__i915_gem_object_put_pages (obj,I915_MM_NORMAL ); +__i915_gem_object_put_pages (obj);i915_gem_object_put (obj); }
@@ -1295,7 +1295,7 @@ static int igt_ppgtt_gemfs_huge(void *arg) }i915_gem_object_unpin_pages (obj); -__i915_gem_object_put_pages (obj,I915_MM_NORMAL ); +__i915_gem_object_put_pages (obj);i915_gem_object_put (obj); }
Signature · 1 line
2.23.0.rc1
PATCH 2/3 lockdep: add might_lock_nested()
Necessary to annotate functions where we might acquire a mutex_lock_nested() or similar. Needed by i915.
--- include/linux/lockdep.h | 8 ++++++++ 1 file changed, 8 insertions(+)
include/linux/lockdep.h +8 -0
@@ -631,6 +631,13 @@ do { \lock_acquire (&(lock)->dep_map,0 ,0 ,1 ,1 ,NULL , _THIS_IP_); \lock_release (&(lock)->dep_map,0 , _THIS_IP_); \ } while (0) +# define might_lock_nested (lock, subclass) \ +do { \ + typecheck(struct lockdep_map *, &(lock)->dep_map); \ + lock_acquire(&(lock)->dep_map, subclass, 0, 1, 1, NULL, \ + _THIS_IP_); \ + lock_release(&(lock)->dep_map, 0, _THIS_IP_); \ +} while (0)#define lockdep_assert_irqs_enabled () do { \ WARN_ONCE(debug_locks && !current->lockdep_recursion && \
@@ -653,6 +660,7 @@ do { \#else # define might_lock (lock) do { } while (0)# define might_lock_read (lock) do { } while (0) +# define might_lock_nested (lock, subclass) do { } while (0)# define lockdep_assert_irqs_enabled () do { } while (0)# define lockdep_assert_irqs_disabled () do { } while (0)# define lockdep_assert_in_irq () do { } while (0)
Signature · 1 line
2.23.0.rc1
Re: [PATCH 2/3] lockdep: add might_lock_nested()
Quoted 8 lines · Daniel Vetter
Necessary to annotate functions where we might acquire a
mutex_lock_nested()or similar. Needed by i915.Signed-off-by Daniel Vetter <[email protected]>Cc Peter Zijlstra <[email protected]>Cc Ingo Molnar <[email protected]>Cc Will Deacon <[email protected]>
Quoted 33 lines
--- include/linux/lockdep.h | 8 ++++++++ 1 file changed, 8 insertions(+)include/linux/lockdep.h +8
-0@@ -631,6 +631,13 @@ do { \lock_acquire (&(lock)->dep_map,0 ,0 ,1 ,1 ,NULL , _THIS_IP_); \lock_release (&(lock)->dep_map,0 , _THIS_IP_); \ } while (0) +# define might_lock_nested (lock, subclass) \ +do { \ + typecheck(struct lockdep_map *, &(lock)->dep_map); \ + lock_acquire(&(lock)->dep_map, subclass, 0, 1, 1, NULL, \ + _THIS_IP_); \ + lock_release(&(lock)->dep_map, 0, _THIS_IP_); \ +} while (0)#define lockdep_assert_irqs_enabled () do { \ WARN_ONCE(debug_locks && !current->lockdep_recursion && \@@ -653,6 +660,7 @@ do { \#else # define might_lock (lock) do { } while (0)# define might_lock_read (lock) do { } while (0) +# define might_lock_nested (lock, subclass) do { } while (0)# define lockdep_assert_irqs_enabled () do { } while (0)# define lockdep_assert_irqs_disabled () do { } while (0)# define lockdep_assert_in_irq () do { } while (0)Signature · 1 line
2.23.0.rc1
PATCH 3/3 drm/i915: use might_lock_nested in get_pages annotation
In reply to Daniel VetterSo strictly speaking the existing annotation is also ok, because we have a chain of
obj->mm.lock#I915_MM_GET_PAGES -> fs_reclaim -> obj->mm.lock
(the shrinker cannot get at an object while we're in get_pages, hence this is safe). But it's confusing, so try to take the right subclass of the lock.
This does a bit reduce our lockdep based checking, but then it's also less fragile, in case we ever change the nesting around.
--- drivers/gpu/drm/i915/gem/i915_gem_object.h | 34 +++++++++++----------- 1 file changed, 17 insertions(+), 17 deletions(-)
drivers/gpu/drm/i915/gem/i915_gem_object.h +17 -17
@@ -233,10 +233,26 @@ void __i915_gem_object_set_pages(struct drm_i915_gem_object *obj,int ____i915_gem_object_get_pages (struct drm_i915_gem_object *obj);int __i915_gem_object_get_pages (struct drm_i915_gem_object *obj); +enum i915_mm_subclass {/* lockdep subclass for obj->mm.lock/struct_mutex */ +I915_MM_NORMAL =0 , +/* +* Only used by struct_mutex, when called "recursively" from +* direct-reclaim-esque. Safe because there is only every one +* struct_mutex in the entire system. */ +I915_MM_SHRINKER =1 , +/* +* Used for obj->mm.lock when allocating pages. Safe because the object +* isn't yet on any LRU, and therefore the shrinker can't deadlock on +* it. As soon as the object has pages, obj->mm.lock nests within +* fs_reclaim. +*/ +I915_MM_GET_PAGES =1 , +}; +static inline int __must_check i915_gem_object_pin_pages (struct drm_i915_gem_object *obj) { -might_lock (&obj->mm.lock); +might_lock_nested (&obj->mm.lock,I915_MM_GET_PAGES );if (atomic_inc_not_zero (&obj->mm.pages_pin_count))return 0 ;
@@ -279,22 +295,6 @@ i915_gem_object_unpin_pages(struct drm_i915_gem_object *obj)__i915_gem_object_unpin_pages (obj); } -enum i915_mm_subclass {/* lockdep subclass for obj->mm.lock/struct_mutex */ -I915_MM_NORMAL =0 , -/* -* Only used by struct_mutex, when called "recursively" from -* direct-reclaim-esque. Safe because there is only every one -* struct_mutex in the entire system. */ -I915_MM_SHRINKER =1 , -/* -* Used for obj->mm.lock when allocating pages. Safe because the object -* isn't yet on any LRU, and therefore the shrinker can't deadlock on -* it. As soon as the object has pages, obj->mm.lock nests within -* fs_reclaim. -*/ -I915_MM_GET_PAGES =1 , -}; -int __i915_gem_object_put_pages (struct drm_i915_gem_object *obj);void i915_gem_object_truncate (struct drm_i915_gem_object *obj);void i915_gem_object_writeback (struct drm_i915_gem_object *obj);
Signature · 6 lines
2.23.0.rc1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Peter Zijlstra
maintainerRe: [PATCH 3/3] drm/i915: use might_lock_nested in get_pages annotation
Quoted 12 lines · Daniel Vetter
drivers/gpu/drm/i915/gem/i915_gem_object.h +4
-0@@ -233,10 +233,26 @@ void __i915_gem_object_set_pages(struct drm_i915_gem_object *obj,int ____i915_gem_object_get_pages (struct drm_i915_gem_object *obj);int __i915_gem_object_get_pages (struct drm_i915_gem_object *obj); +enum i915_mm_subclass {/* lockdep subclass for obj->mm.lock/struct_mutex */ +I915_MM_NORMAL =0 , +/* +* Only used by struct_mutex, when called "recursively" from
drivers/gpu/drm/i915/gem/i915_gem_object.h void __i915_gem_object_set_pages(struct drm_i915_gem_object *obj, · line 249
Quoted 10 lines
drivers/gpu/drm/i915/gem/i915_gem_object.h +10
-0+* direct-reclaim-esque. Safe because there is only every one +* struct_mutex in the entire system. */ +I915_MM_SHRINKER =1 , +/* +* Used for obj->mm.lock when allocating pages. Safe because the object +* isn't yet on any LRU, and therefore the shrinker can't deadlock on +* it. As soon as the object has pages, obj->mm.lock nests within +* fs_reclaim. +*/ + I915_MM_GET_PAGES = 1,
Those comments are inconsistently styled; if you move them, might as well fix that too :-)
Quoted 2 lines
drivers/gpu/drm/i915/gem/i915_gem_object.h +2
-0+}; +
Quoting Daniel Vetter (2019-08-20 09:19:49)
Quoted 8 lines
drivers/gpu/drm/i915/gem/i915_gem_object.c +2
-0+#include <linux/sched/mm.h> +#include "display/intel_frontbuffer.h" #include "gt/intel_gt.h" #include "i915_drv.h" @@ -51,6 +53,15 @@ void i915_gem_object_init(struct drm_i915_gem_object *obj, {mutex_init (&obj->mm.lock);
drivers/gpu/drm/i915/gem/i915_gem_object.c void i915_gem_object_init(struct drm_i915_gem_object *obj, · line 64
Quoted 10 lines
drivers/gpu/drm/i915/gem/i915_gem_object.c +9
-0+if (IS_ENABLED (CONFIG_LOCKDEP )) { +mutex_lock_nested (&obj->mm.lock,I915_MM_GET_PAGES ); +fs_reclaim_acquire (GFP_KERNEL ); +might_lock (&obj->mm.lock); +fs_reclaim_release (GFP_KERNEL ); +mutex_unlock (&obj->mm.lock); + } + +
It's good, but nothing is worth angering checkpatch over an extra '\n'.
Quoted 17 lines
drivers/gpu/drm/i915/gem/i915_gem_object.c +1
-1spin_lock_init (&obj->vma.lock);INIT_LIST_HEAD (&obj->vma.list);@@ -176,7 +187,7 @@ static void __i915_gem_free_objects(struct drm_i915_private *i915,GEM_BUG_ON (!list_empty (&obj->lut_list));atomic_set (&obj->mm.pages_pin_count,0 ); -__i915_gem_object_put_pages (obj,I915_MM_NORMAL ); +__i915_gem_object_put_pages (obj);GEM_BUG_ON (i915_gem_object_has_pages (obj));bitmap_free (obj->bit_17);drivers/gpu/drm/i915/gem/i915_gem_object.h +0
-0
drivers/gpu/drm/i915/gem/i915_gem_object.h i915_gem_object_unpin_pages(struct drm_i915_gem_object *obj) · line 288
Quoted 9 lines
drivers/gpu/drm/i915/gem/i915_gem_object.h +5
-1@@ -281,11 +281,21 @@ i915_gem_object_unpin_pages(struct drm_i915_gem_object *obj)enum i915_mm_subclass {/* lockdep subclass for obj->mm.lock/struct_mutex */ I915_MM_NORMAL =0 , -I915_MM_SHRINKER /* called "recursively" from direct-reclaim-esque */ +/* +* Only used by struct_mutex, when called "recursively" from +* direct-reclaim-esque. Safe because there is only every one +* struct_mutex in the entire system. */ +I915_MM_SHRINKER =1 ,
MM_SHRINKER is no longer part of this subclass, and I intend to remove shortly.
drivers/gpu/drm/i915/gem/i915_gem_object.h i915_gem_object_unpin_pages(struct drm_i915_gem_object *obj) · line 295
Quoted 7 lines
drivers/gpu/drm/i915/gem/i915_gem_object.h +7
-0+/* +* Used for obj->mm.lock when allocating pages. Safe because the object +* isn't yet on any LRU, and therefore the shrinker can't deadlock on +* it. As soon as the object has pages, obj->mm.lock nests within +* fs_reclaim. +*/ + I915_MM_GET_PAGES = 1,
So I was thinking that this can just become SINGLE_DEPTH_NESTING, but then remembered that I want a proxy object with its own recursion inside get-pages.
Quoted 13 lines
drivers/gpu/drm/i915/gem/i915_gem_object.h +1
-2}; -int __i915_gem_object_put_pages (struct drm_i915_gem_object *obj, -enum i915_mm_subclass subclass); +int __i915_gem_object_put_pages (struct drm_i915_gem_object *obj);void i915_gem_object_truncate (struct drm_i915_gem_object *obj);void i915_gem_object_writeback (struct drm_i915_gem_object *obj);drivers/gpu/drm/i915/gem/i915_gem_object_types.h +0
-0
drivers/gpu/drm/i915/gem/i915_gem_object_types.h struct drm_i915_gem_object { · line 163
Quoted 9 lines
drivers/gpu/drm/i915/gem/i915_gem_object_types.h +5
-1@@ -156,7 +156,11 @@ struct drm_i915_gem_object {unsigned int pin_global;struct { -struct mutex lock;/* protects the pages and their use */ +/* +* Protects the pages and their use. Do not use directly, but +* instead go through the pin/unpin interfaces. +*/ +struct mutex lock;
I am really tempted to rename this pin_mutex.
Quoted 38 lines
drivers/gpu/drm/i915/gem/i915_gem_object_types.h +0
-0atomic_t pages_pin_count;struct sg_table *pages;drivers/gpu/drm/i915/gem/i915_gem_pages.c +2
-2@@ -101,7 +101,7 @@ int __i915_gem_object_get_pages(struct drm_i915_gem_object *obj) {int err; - err =mutex_lock_interruptible (&obj->mm.lock); + err =mutex_lock_interruptible_nested (&obj->mm.lock,I915_MM_GET_PAGES );if (err)return err;@@ -285,7 +284,7 @@ void *i915_gem_object_pin_map(struct drm_i915_gem_object *obj,if (unlikely (!i915_gem_object_has_struct_page (obj)))return ERR_PTR (-ENXIO ); - err =mutex_lock_interruptible (&obj->mm.lock); + err =mutex_lock_interruptible_nested (&obj->mm.lock,I915_MM_GET_PAGES );if (err)return ERR_PTR (err);drivers/gpu/drm/i915/gem/i915_gem_phys.c +1
-1@@ -163,7 +163,7 @@ int i915_gem_object_attach_phys(struct drm_i915_gem_object *obj, int align)if (err)return err; -mutex_lock (&obj->mm.lock); +mutex_lock_nested (&obj->mm.lock,I915_MM_GET_PAGES );
drivers/gpu/drm/i915/gem/i915_gem_phys.c __i915_gem_userptr_get_pages_worker(struct work_struct *_work) · line 520
Quoted 8 lines
drivers/gpu/drm/i915/gem/i915_gem_phys.c +1
-1@@ -514,7 +514,7 @@ __i915_gem_userptr_get_pages_worker(struct work_struct *_work) } } -mutex_lock (&obj->mm.lock); +mutex_lock_nested (&obj->mm.lock,I915_MM_GET_PAGES );if (obj->userptr.work == &work->work) {struct sg_table *pages =ERR_PTR (ret);
Ok. That should be all of the allocators.
And the put are selfchecking.
The only caveat I have is that GET_PAGES is simply about the recursive behaviour of allocating pages (to allocate one set of pages we may have to free another), and giving it a distinct subclass tricks me, at least, into considering it to be a distinct lockclass, and so start assuming it needs to be used in e.g. i915_gem_madvise_ioctl.
That's just a poorly educated user problem (subclass should always be about recursion levels, if you have distinct lockclasses, make them distinct!) Hammer, meet screw.
-Chris
Patchwork
CI✗ Fi.CI.CHECKPATCH: warning for series starting with [1/3] drm/i915: Switch obj->mm.lock lockdep annotations on its head
In reply to Daniel Vetter== Series Details ==
== Series Details ==
Series: series starting with [1/3] drm/i915: Switch obj->mm.lock lockdep annotations on its head
URL : https://patchwork.freedesktop.org/series/65467/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip ed358b6f33d9 drm/i915: Switch obj->mm.lock lockdep annotations on its head -:92: CHECK:LINE_SPACING: Please don't use multiple blank lines #92: FILE: drivers/gpu/drm/i915/gem/i915_gem_object.c:64: + +
-:117: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #117: FILE: drivers/gpu/drm/i915/gem/i915_gem_object.h:287:
+ * struct_mutex in the entire system. */
-:307: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 2 warnings, 1 checks, 189 lines checked 63b3507736fa lockdep: add might_lock_nested() -:23: WARNING:SPACE_BEFORE_TAB: please, no space before tabs #23: FILE: include/linux/lockdep.h:634:
+# define might_lock_nested(lock, subclass) ^I^I^I^I\$
-:23: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'lock' - possible side-effects? #23: FILE: include/linux/lockdep.h:634:
+# define might_lock_nested(lock, subclass) \
+do { \
+ typecheck(struct lockdep_map *, &(lock)->dep_map); \
+ lock_acquire(&(lock)->dep_map, subclass, 0, 1, 1, NULL, \
+ _THIS_IP_); \
+ lock_release(&(lock)->dep_map, 0, _THIS_IP_); \
+} while (0)
-:40: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 2 warnings, 1 checks, 20 lines checkedc878b5d1d875 drm/i915: use might_lock_nested in get_pages annotation -:37: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #37: FILE: drivers/gpu/drm/i915/gem/i915_gem_object.h:241:
+ * struct_mutex in the entire system. */
-:78: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 2 warnings, 0 checks, 49 lines checked
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.BAT: success for series starting with [1/3] drm/i915: Switch obj->mm.lock lockdep annotations on its head
In reply to Daniel Vetter== Series Details ==
== Series Details ==
Series: series starting with [1/3] drm/i915: Switch obj->mm.lock lockdep annotations on its head
URL : https://patchwork.freedesktop.org/series/65467/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_6743 -> Patchwork_14096
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14096/
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_14096:
### IGT changes ###
#### Suppressed ####
The following results come from untrusted machines, tests, or statuses. They do not affect the overall result.
* igt@runner@aborted:
- {fi-cml-h}: NOTRUN -> [FAIL][1]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14096/fi-cml-h/igt@[email protected]
New tests
---------
New tests have been introduced between CI_DRM_6743 and Patchwork_14096:
### New IGT tests (2) ###
* igt@dmabuf@dma_fence:
- Statuses : 43 dmesg-warn(s)
- Exec time: [0.13, 0.21] s
* igt@dmabuf@sanitycheck:
- Statuses : 43 pass(s)
- Exec time: [0.01, 0.04] s
Known issues
------------
Here are the changes found in Patchwork_14096 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_suspend@basic-s4-devices:
- fi-blb-e6850: [PASS][2] -> [INCOMPLETE][3] ([fdo#107718])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6743/fi-blb-e6850/igt@[email protected]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14096/fi-blb-e6850/igt@[email protected]
* igt@i915_pm_rpm@module-reload:
- fi-skl-6770hq: [PASS][4] -> [FAIL][5] ([fdo#108511])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6743/fi-skl-6770hq/igt@[email protected]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14096/fi-skl-6770hq/igt@[email protected]
* igt@kms_frontbuffer_tracking@basic:
- fi-icl-u2: [PASS][6] -> [FAIL][7] ([fdo#103167])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6743/fi-icl-u2/igt@[email protected]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14096/fi-icl-u2/igt@[email protected]
#### Possible fixes ####
* igt@i915_module_load@reload:
- fi-icl-u3: [INCOMPLETE][8] ([fdo#107713]) -> [PASS][9]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6743/fi-icl-u3/igt@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14096/fi-icl-u3/igt@[email protected]
* igt@i915_selftest@live_execlists:
- fi-kbl-8809g: [INCOMPLETE][10] -> [PASS][11]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6743/fi-kbl-8809g/igt@i915_selftest@live_execlists.html
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14096/fi-kbl-8809g/igt@i915_selftest@live_execlists.html
* igt@i915_selftest@live_gem_contexts:
- fi-byt-j1900: [INCOMPLETE][12] ([fdo#102657]) -> [PASS][13]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6743/fi-byt-j1900/igt@i915_selftest@live_gem_contexts.html
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14096/fi-byt-j1900/igt@i915_selftest@live_gem_contexts.html
* igt@i915_selftest@live_hangcheck:
- fi-kbl-7567u: [INCOMPLETE][14] ([fdo#108744]) -> [PASS][15]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6743/fi-kbl-7567u/igt@i915_selftest@live_hangcheck.html
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14096/fi-kbl-7567u/igt@i915_selftest@live_hangcheck.html
#### Warnings ####
* igt@amdgpu/amd_basic@cs-compute:
- fi-bxt-dsi: [SKIP][16] ([fdo#109271]) -> [INCOMPLETE][17] ([fdo#103927])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6743/fi-bxt-dsi/igt@amdgpu/[email protected]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14096/fi-bxt-dsi/igt@amdgpu/[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#102657]: https://bugs.freedesktop.org/show_bug.cgi?id=102657
[fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#103927]: https://bugs.freedesktop.org/show_bug.cgi?id=103927
[fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
[fdo#107718]: https://bugs.freedesktop.org/show_bug.cgi?id=107718
[fdo#108511]: https://bugs.freedesktop.org/show_bug.cgi?id=108511
[fdo#108744]: https://bugs.freedesktop.org/show_bug.cgi?id=108744
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
Participating hosts (50 -> 47)
------------------------------
Additional (4): fi-byt-n2820 fi-cml-h fi-apl-guc fi-bsw-n3050
Missing (7): fi-kbl-soraka fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-bxt-j4205 fi-byt-clapper
Build changes
-------------
* CI: CI-20190529 -> None
* Linux: CI_DRM_6743 -> Patchwork_14096
CI-20190529: 20190529
CI_DRM_6743: 398f53efe3d6a06633cd506d0209a69a91d0f287 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5145: 50251bcb2e8783f86ebdd86ce38adc9e3777f82f @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_14096: c878b5d1d8755dea9ca18138b2922c6ab70a1952 @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
c878b5d1d875 drm/i915: use might_lock_nested in get_pages annotation 63b3507736fa lockdep: add might_lock_nested()ed358b6f33d9 drm/i915: Switch obj->mm.lock lockdep annotations on its head
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14096/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.IGT: success for series starting with [1/3] drm/i915: Switch obj->mm.lock lockdep annotations on its head
In reply to Daniel Vetter== Series Details ==
== Series Details ==
Series: series starting with [1/3] drm/i915: Switch obj->mm.lock lockdep annotations on its head
URL : https://patchwork.freedesktop.org/series/65467/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_6743_full -> Patchwork_14096_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Known issues
------------
Here are the changes found in Patchwork_14096_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_ctx_isolation@rcs0-s3:
- shard-apl: [PASS][1] -> [DMESG-WARN][2] ([fdo#108566]) +1 similar issue
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6743/shard-apl1/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14096/shard-apl7/igt@[email protected]
* igt@gem_exec_schedule@preempt-other-chain-bsd:
- shard-iclb: [PASS][3] -> [SKIP][4] ([fdo#111325]) +2 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6743/shard-iclb8/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14096/shard-iclb1/igt@[email protected]
* igt@gem_tiled_swapping@non-threaded:
- shard-hsw: [PASS][5] -> [FAIL][6] ([fdo#108686])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6743/shard-hsw6/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14096/shard-hsw5/igt@[email protected]
* igt@kms_fbcon_fbt@psr-suspend:
- shard-skl: [PASS][7] -> [INCOMPLETE][8] ([fdo#104108]) +1 similar issue
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6743/shard-skl4/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14096/shard-skl10/igt@[email protected]
* igt@kms_flip@plain-flip-fb-recreate:
- shard-hsw: [PASS][9] -> [INCOMPLETE][10] ([fdo#103540])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6743/shard-hsw2/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14096/shard-hsw8/igt@[email protected]
* igt@kms_frontbuffer_tracking@basic:
- shard-iclb: [PASS][11] -> [FAIL][12] ([fdo#103167]) +6 similar issues
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6743/shard-iclb5/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14096/shard-iclb7/igt@[email protected]
* igt@kms_psr@psr2_cursor_blt:
- shard-iclb: [PASS][13] -> [SKIP][14] ([fdo#109441]) +1 similar issue
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6743/shard-iclb2/igt@kms_psr@psr2_cursor_blt.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14096/shard-iclb4/igt@kms_psr@psr2_cursor_blt.html
* igt@perf@polling:
- shard-skl: [PASS][15] -> [FAIL][16] ([fdo#110728])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6743/shard-skl7/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14096/shard-skl8/igt@[email protected]
* igt@prime_busy@after-bsd2:
- shard-iclb: [PASS][17] -> [SKIP][18] ([fdo#109276]) +12 similar issues
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6743/shard-iclb2/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14096/shard-iclb5/igt@[email protected]
#### Possible fixes ####
* igt@gem_exec_schedule@preempt-self-bsd:
- shard-iclb: [SKIP][19] ([fdo#111325]) -> [PASS][20]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6743/shard-iclb4/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14096/shard-iclb3/igt@[email protected]
* igt@gem_softpin@noreloc-interruptible:
- shard-skl: [TIMEOUT][21] ([fdo#111439]) -> [PASS][22]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6743/shard-skl10/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14096/shard-skl1/igt@[email protected]
* igt@gem_tiled_swapping@non-threaded:
- shard-glk: [DMESG-WARN][23] ([fdo#108686]) -> [PASS][24]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6743/shard-glk4/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14096/shard-glk7/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-suspend:
- shard-skl: [INCOMPLETE][25] ([fdo#110741]) -> [PASS][26]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6743/shard-skl7/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14096/shard-skl8/igt@[email protected]
* igt@kms_cursor_legacy@cursor-vs-flip-varying-size:
- shard-apl: [INCOMPLETE][27] ([fdo#103927]) -> [PASS][28] +3 similar issues
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6743/shard-apl8/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14096/shard-apl4/igt@[email protected]
* igt@kms_flip@flip-vs-suspend-interruptible:
- shard-skl: [INCOMPLETE][29] ([fdo#109507]) -> [PASS][30]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6743/shard-skl7/igt@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14096/shard-skl4/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-render:
- shard-iclb: [FAIL][31] ([fdo#103167]) -> [PASS][32] +1 similar issue
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6743/shard-iclb2/igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-render.html
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14096/shard-iclb4/igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-render.html
* igt@kms_plane@pixel-format-pipe-c-planes-source-clamping:
- shard-iclb: [INCOMPLETE][33] ([fdo#107713] / [fdo#110036 ]) -> [PASS][34]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6743/shard-iclb7/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14096/shard-iclb2/igt@[email protected]
* igt@kms_plane@plane-panning-bottom-right-suspend-pipe-b-planes:
- shard-apl: [DMESG-WARN][35] ([fdo#108566]) -> [PASS][36] +5 similar issues
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6743/shard-apl1/igt@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14096/shard-apl7/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-a-constant-alpha-min:
- shard-skl: [FAIL][37] ([fdo#108145]) -> [PASS][38]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6743/shard-skl10/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14096/shard-skl7/igt@[email protected]
* igt@kms_psr@no_drrs:
- shard-iclb: [FAIL][39] ([fdo#108341]) -> [PASS][40]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6743/shard-iclb1/igt@kms_psr@no_drrs.html
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14096/shard-iclb2/igt@kms_psr@no_drrs.html
* igt@kms_psr@psr2_primary_page_flip:
- shard-iclb: [SKIP][41] ([fdo#109441]) -> [PASS][42] +2 similar issues
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6743/shard-iclb1/igt@kms_psr@psr2_primary_page_flip.html
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14096/shard-iclb2/igt@kms_psr@psr2_primary_page_flip.html
* igt@kms_sequence@get-idle:
- shard-hsw: [INCOMPLETE][43] ([fdo#103540]) -> [PASS][44]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6743/shard-hsw8/igt@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14096/shard-hsw5/igt@[email protected]
* igt@perf@blocking:
- shard-skl: [FAIL][45] ([fdo#110728]) -> [PASS][46]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6743/shard-skl1/igt@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14096/shard-skl3/igt@[email protected]
* igt@perf@short-reads:
- shard-kbl: [FAIL][47] ([fdo#103183]) -> [PASS][48]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6743/shard-kbl4/igt@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14096/shard-kbl6/igt@[email protected]
* igt@prime_vgem@fence-wait-bsd2:
- shard-iclb: [SKIP][49] ([fdo#109276]) -> [PASS][50] +11 similar issues
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6743/shard-iclb7/igt@[email protected]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14096/shard-iclb1/igt@[email protected]
#### Warnings ####
* igt@gem_mocs_settings@mocs-reset-bsd2:
- shard-iclb: [SKIP][51] ([fdo#109276]) -> [FAIL][52] ([fdo#111330])
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6743/shard-iclb7/igt@[email protected]
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14096/shard-iclb1/igt@[email protected]
* igt@gem_mocs_settings@mocs-settings-bsd2:
- shard-iclb: [FAIL][53] ([fdo#111330]) -> [SKIP][54] ([fdo#109276])
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6743/shard-iclb2/igt@[email protected]
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14096/shard-iclb5/igt@[email protected]
[fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#103183]: https://bugs.freedesktop.org/show_bug.cgi?id=103183
[fdo#103540]: https://bugs.freedesktop.org/show_bug.cgi?id=103540
[fdo#103927]: https://bugs.freedesktop.org/show_bug.cgi?id=103927
[fdo#104108]: https://bugs.freedesktop.org/show_bug.cgi?id=104108
[fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
[fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
[fdo#108341]: https://bugs.freedesktop.org/show_bug.cgi?id=108341
[fdo#108566]: https://bugs.freedesktop.org/show_bug.cgi?id=108566
[fdo#108686]: https://bugs.freedesktop.org/show_bug.cgi?id=108686
[fdo#109276]: https://bugs.freedesktop.org/show_bug.cgi?id=109276
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#109507]: https://bugs.freedesktop.org/show_bug.cgi?id=109507
[fdo#110036 ]: https://bugs.freedesktop.org/show_bug.cgi?id=110036
[fdo#110728]: https://bugs.freedesktop.org/show_bug.cgi?id=110728
[fdo#110741]: https://bugs.freedesktop.org/show_bug.cgi?id=110741
[fdo#111325]: https://bugs.freedesktop.org/show_bug.cgi?id=111325
[fdo#111330]: https://bugs.freedesktop.org/show_bug.cgi?id=111330
[fdo#111439]: https://bugs.freedesktop.org/show_bug.cgi?id=111439
Participating hosts (10 -> 10)
------------------------------
No changes in participating hosts
Build changes
-------------
* CI: CI-20190529 -> None
* Linux: CI_DRM_6743 -> Patchwork_14096
CI-20190529: 20190529
CI_DRM_6743: 398f53efe3d6a06633cd506d0209a69a91d0f287 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5145: 50251bcb2e8783f86ebdd86ce38adc9e3777f82f @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_14096: c878b5d1d8755dea9ca18138b2922c6ab70a1952 @ git://anongit.freedesktop.org/gfx-ci/linux
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14096/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 1/1 drm/i915: Switch obj->mm.lock lockdep annotations on its head
In reply to Daniel VetterThe trouble with having a plain nesting flag for locks which do not naturally nest (unlike block devices and their partitions, which is the original motivation for nesting levels) is that lockdep will never spot a true deadlock if you screw up.
This patch is an attempt at trying better, by highlighting a bit more the actual nature of the nesting that's going on. Essentially we have two kinds of objects:
- objects without pages allocated, which cannot be on any lru and are hence inaccessible to the shrinker.
- objects which have pages allocated, which are on an lru, and which the shrinker can decide to throw out.
For the former type of object, memory allcoations while holding obj->mm.lock are permissible. For the latter they are not. And get/put_pages transitions between the two types of objects.
This is still not entirely fool-proof since the rules might chance. But as long as we run such a code ever at runtime lockdep should be able to observe the inconsistency and complain (like with any other lockdep class that we've split up in multiple classes). But there are a few clear benefits:
- We can drop the nesting flag parameter from __i915_gem_object_put_pages, because that function by definition is never going allocate memory, and calling it on an object which doesn't have its pages allocated would be a bug.
- We strictly catch more bugs, since there's not only one place in the entire tree which is annotated with the special class. All the other places that had explicit lockdep nesting annotations we're now going to leave up to lockdep again.
- Specifically this catches stuff like calling get_pages from put_pages (which isn't really a good idea, if we can call put_pages so could the shrinker). I've seen patches do exactly that.
Of course I fully expect CI will show me for the fool I am with this one here :-)
v2: There can only be one (lockdep only has a cache for the first subclass, not for deeper ones, and we don't want to make these locks even slower). Still separate enums for better documentation.
Real fix: don forget about phys objs and pin_map(), and fix the shrinker to have the right annotations ... silly me.
v3: Forgot usertptr too ...
v4: Improve comment for pages_pin_count, drop the IMPORTANT comment and instead prime lockdep (Chris).
v5: Appease checkpatch, no double empty lines (Chris)
--- drivers/gpu/drm/i915/gem/i915_gem_object.c | 12 +++++++++++- drivers/gpu/drm/i915/gem/i915_gem_object.h | 16 +++++++++++++--- drivers/gpu/drm/i915/gem/i915_gem_object_types.h | 6 +++++- drivers/gpu/drm/i915/gem/i915_gem_pages.c | 9 ++++----- drivers/gpu/drm/i915/gem/i915_gem_phys.c | 2 +- drivers/gpu/drm/i915/gem/i915_gem_shrinker.c | 5 ++--- drivers/gpu/drm/i915/gem/i915_gem_userptr.c | 4 ++-- drivers/gpu/drm/i915/gem/selftests/huge_pages.c | 12 ++++++------ 8 files changed, 44 insertions(+), 22 deletions(-)
drivers/gpu/drm/i915/gem/i915_gem_object.c +11 -1
@@ -22,6 +22,8 @@* */ +#include <linux/sched/mm.h> +#include "display/intel_frontbuffer.h" #include "gt/intel_gt.h" #include "i915_drv.h"
@@ -51,6 +53,14 @@ void i915_gem_object_init(struct drm_i915_gem_object *obj, {mutex_init (&obj->mm.lock); +if (IS_ENABLED (CONFIG_LOCKDEP )) { +mutex_lock_nested (&obj->mm.lock,I915_MM_GET_PAGES ); +fs_reclaim_acquire (GFP_KERNEL ); +might_lock (&obj->mm.lock); +fs_reclaim_release (GFP_KERNEL ); +mutex_unlock (&obj->mm.lock); + } +spin_lock_init (&obj->vma.lock);INIT_LIST_HEAD (&obj->vma.list);
@@ -176,7 +186,7 @@ static void __i915_gem_free_objects(struct drm_i915_private *i915,GEM_BUG_ON (!list_empty (&obj->lut_list));atomic_set (&obj->mm.pages_pin_count,0 ); -__i915_gem_object_put_pages (obj,I915_MM_NORMAL ); +__i915_gem_object_put_pages (obj);GEM_BUG_ON (i915_gem_object_has_pages (obj));bitmap_free (obj->bit_17);
drivers/gpu/drm/i915/gem/i915_gem_object.h +13 -3
@@ -281,11 +281,21 @@ i915_gem_object_unpin_pages(struct drm_i915_gem_object *obj)enum i915_mm_subclass {/* lockdep subclass for obj->mm.lock/struct_mutex */ I915_MM_NORMAL =0 , -I915_MM_SHRINKER /* called "recursively" from direct-reclaim-esque */ +/* +* Only used by struct_mutex, when called "recursively" from +* direct-reclaim-esque. Safe because there is only every one +* struct_mutex in the entire system. */ +I915_MM_SHRINKER =1 , +/* +* Used for obj->mm.lock when allocating pages. Safe because the object +* isn't yet on any LRU, and therefore the shrinker can't deadlock on +* it. As soon as the object has pages, obj->mm.lock nests within +* fs_reclaim. +*/ +I915_MM_GET_PAGES =1 , }; -int __i915_gem_object_put_pages (struct drm_i915_gem_object *obj, -enum i915_mm_subclass subclass); +int __i915_gem_object_put_pages (struct drm_i915_gem_object *obj);void i915_gem_object_truncate (struct drm_i915_gem_object *obj);void i915_gem_object_writeback (struct drm_i915_gem_object *obj);
drivers/gpu/drm/i915/gem/i915_gem_object_types.h +5 -1
@@ -156,7 +156,11 @@ struct drm_i915_gem_object {unsigned int pin_global;struct { -struct mutex lock;/* protects the pages and their use */ +/* +* Protects the pages and their use. Do not use directly, but +* instead go through the pin/unpin interfaces. +*/ +struct mutex lock;atomic_t pages_pin_count;struct sg_table *pages;
drivers/gpu/drm/i915/gem/i915_gem_pages.c +4 -5
@@ -101,7 +101,7 @@ int __i915_gem_object_get_pages(struct drm_i915_gem_object *obj) {int err; - err =mutex_lock_interruptible (&obj->mm.lock); + err =mutex_lock_interruptible_nested (&obj->mm.lock,I915_MM_GET_PAGES );if (err)return err;
@@ -179,8 +179,7 @@ __i915_gem_object_unset_pages(struct drm_i915_gem_object *obj)return pages; } -int __i915_gem_object_put_pages (struct drm_i915_gem_object *obj, -enum i915_mm_subclass subclass) +int __i915_gem_object_put_pages (struct drm_i915_gem_object *obj) {struct sg_table *pages;int err;
@@ -191,7 +190,7 @@ int __i915_gem_object_put_pages(struct drm_i915_gem_object *obj,GEM_BUG_ON (atomic_read (&obj->bind_count));/* May be called by shrinker from within get_pages() (on another bo) */ -mutex_lock_nested (&obj->mm.lock, subclass); +mutex_lock (&obj->mm.lock);if (unlikely (atomic_read (&obj->mm.pages_pin_count))) { err = -EBUSY ; goto unlock;
@@ -285,7 +284,7 @@ void *i915_gem_object_pin_map(struct drm_i915_gem_object *obj,if (unlikely (!i915_gem_object_has_struct_page (obj)))return ERR_PTR (-ENXIO ); - err =mutex_lock_interruptible (&obj->mm.lock); + err =mutex_lock_interruptible_nested (&obj->mm.lock,I915_MM_GET_PAGES );if (err)return ERR_PTR (err);
drivers/gpu/drm/i915/gem/i915_gem_phys.c +1 -1
@@ -163,7 +163,7 @@ int i915_gem_object_attach_phys(struct drm_i915_gem_object *obj, int align)if (err)return err; -mutex_lock (&obj->mm.lock); +mutex_lock_nested (&obj->mm.lock,I915_MM_GET_PAGES );if (obj->mm.madv !=I915_MADV_WILLNEED ) { err = -EFAULT ;
drivers/gpu/drm/i915/gem/i915_gem_shrinker.c +2 -3
@@ -98,7 +98,7 @@ static bool unsafe_drop_pages(struct drm_i915_gem_object *obj, flags =I915_GEM_OBJECT_UNBIND_ACTIVE ;if (i915_gem_object_unbind (obj, flags) ==0 ) -__i915_gem_object_put_pages (obj,I915_MM_SHRINKER ); +__i915_gem_object_put_pages (obj);return !i915_gem_object_has_pages (obj); }
@@ -254,8 +254,7 @@ i915_gem_shrink(struct drm_i915_private *i915,if (unsafe_drop_pages (obj, shrink)) {/* May arrive from get_pages on another bo */ -mutex_lock_nested (&obj->mm.lock, -I915_MM_SHRINKER ); +mutex_lock (&obj->mm.lock);if (!i915_gem_object_has_pages (obj)) {try_to_writeback (obj, shrink); count += obj->base.size >>PAGE_SHIFT ;
drivers/gpu/drm/i915/gem/i915_gem_userptr.c +2 -2
@@ -158,7 +158,7 @@ userptr_mn_invalidate_range_start(struct mmu_notifier *_mn, ret =i915_gem_object_unbind (obj,I915_GEM_OBJECT_UNBIND_ACTIVE );if (ret ==0 ) - ret =__i915_gem_object_put_pages (obj,I915_MM_SHRINKER ); + ret =__i915_gem_object_put_pages (obj);i915_gem_object_put (obj);if (ret) goto unlock;
@@ -514,7 +514,7 @@ __i915_gem_userptr_get_pages_worker(struct work_struct *_work) } } -mutex_lock (&obj->mm.lock); +mutex_lock_nested (&obj->mm.lock,I915_MM_GET_PAGES );if (obj->userptr.work == &work->work) {struct sg_table *pages =ERR_PTR (ret);
drivers/gpu/drm/i915/gem/selftests/huge_pages.c +6 -6
@@ -562,7 +562,7 @@ static int igt_mock_ppgtt_misaligned_dma(void *arg)i915_vma_close (vma);i915_gem_object_unpin_pages (obj); -__i915_gem_object_put_pages (obj,I915_MM_NORMAL ); +__i915_gem_object_put_pages (obj);i915_gem_object_put (obj); }
@@ -590,7 +590,7 @@ static void close_object_list(struct list_head *objects,list_del (&obj->st_link);i915_gem_object_unpin_pages (obj); -__i915_gem_object_put_pages (obj,I915_MM_NORMAL ); +__i915_gem_object_put_pages (obj);i915_gem_object_put (obj); } }
@@ -860,7 +860,7 @@ static int igt_mock_ppgtt_64K(void *arg)i915_vma_close (vma);i915_gem_object_unpin_pages (obj); -__i915_gem_object_put_pages (obj,I915_MM_NORMAL ); +__i915_gem_object_put_pages (obj);i915_gem_object_put (obj); } }
@@ -1164,7 +1164,7 @@ static int igt_ppgtt_exhaust_huge(void *arg) }i915_gem_object_unpin_pages (obj); -__i915_gem_object_put_pages (obj,I915_MM_NORMAL ); +__i915_gem_object_put_pages (obj);i915_gem_object_put (obj); } }
@@ -1226,7 +1226,7 @@ static int igt_ppgtt_internal_huge(void *arg) }i915_gem_object_unpin_pages (obj); -__i915_gem_object_put_pages (obj,I915_MM_NORMAL ); +__i915_gem_object_put_pages (obj);i915_gem_object_put (obj); }
@@ -1295,7 +1295,7 @@ static int igt_ppgtt_gemfs_huge(void *arg) }i915_gem_object_unpin_pages (obj); -__i915_gem_object_put_pages (obj,I915_MM_NORMAL ); +__i915_gem_object_put_pages (obj);i915_gem_object_put (obj); }
Signature · 6 lines
2.23.0.rc1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 60 lines
-----Original Message-----
From: Daniel Vetter [mailto:[email protected]]
Sent: Thursday, August 22, 2019 7:50 AM
To: Intel Graphics Development <[email protected]>
Cc: Daniel Vetter <[email protected]>; Chris Wilson <chris@chris- wilson.co.uk>; Tang, CQ <[email protected]>; Ursulin, Tvrtko <[email protected]>; Joonas Lahtinen <[email protected]>; Vetter, Daniel <[email protected]>
Subject: [PATCH] drm/i915: Switchobj->mm.locklockdep annotations on its headThe trouble with having a plain nesting flag for locks which do not naturally nest (unlike block devices and their partitions, which is the original motivation for nesting levels) is that lockdep will never spot a true deadlock if you screw up.
This patch is an attempt at trying better, by highlighting a bit more the actual nature of the nesting that's going on. Essentially we have two kinds of objects:
- objects without pages allocated, which cannot be on any lru and are hence inaccessible to the shrinker.
- objects which have pages allocated, which are on an lru, and which the shrinker can decide to throw out.
For the former type of object, memory allcoations while holding
obj->mm.lockare permissible. For the latter they are not. And get/put_pages transitions between the two types of objects.This is still not entirely fool-proof since the rules might chance. But as long as we run such a code ever at runtime lockdep should be able to observe the inconsistency and complain (like with any other lockdep class that we've split up in multiple classes). But there are a few clear benefits:
- We can drop the nesting flag parameter from
__i915_gem_object_put_pages, because that function by definition is never going allocate memory, and calling it on an object which doesn't have its pages allocated would be a bug.- We strictly catch more bugs, since there's not only one place in the entire tree which is annotated with the special class. All the other places that had explicit lockdep nesting annotations we're now going to leave up to lockdep again.
- Specifically this catches stuff like calling
get_pagesfromput_pages(which isn't really a good idea, if we can callput_pagesso could the shrinker). I've seen patches do exactly that.Of course I fully expect CI will show me for the fool I am with this one here :-)
v2: There can only be one (lockdep only has a cache for the first subclass, not for deeper ones, and we don't want to make these locks even slower). Still separate enums for better documentation.
Real fix: don forget about phys objs and
pin_map(), and fix the shrinker to have the right annotations ... silly me.
Quoted 6 lines
v3: Forgot usertptr too ...
v4: Improve comment for
pages_pin_count, drop the IMPORTANT comment and instead prime lockdep (Chris).v5: Appease checkpatch, no double empty lines (Chris)
Suppose I want to apply the current swapping code on top of this patch, I will have the following locks nested:
Pin_pages(A);--> mutex_lock_interruptible_nested(&A->mm.lock, I915_MM_GET_PAGES); --> lock 'struct_mutex'; -->
Find object B to swap out; -->mutex_lock(&B->mm.lock); -->
create shadow object C; --> mutex_lock_nested(&C->mm.lock, I915_MM_GET_PAGES);
Is this correct? Should I lock shadow object C with 'I915_MM_GET_PAGES? Then A and C are nested with the same subclass.
--CQ
Quoted 287 lines
Cc Chris Wilson <[email protected]>Cc "Tang, CQ" <[email protected]>Cc Tvrtko Ursulin <[email protected]>Cc Joonas Lahtinen <[email protected]>Reviewed-by Chris Wilson <[email protected]>Signed-off-by Daniel Vetter <[email protected]>--- drivers/gpu/drm/i915/gem/i915_gem_object.c | 12 +++++++++++- drivers/gpu/drm/i915/gem/i915_gem_object.h | 16 +++++++++++++--- drivers/gpu/drm/i915/gem/i915_gem_object_types.h | 6 +++++- drivers/gpu/drm/i915/gem/i915_gem_pages.c | 9 ++++----- drivers/gpu/drm/i915/gem/i915_gem_phys.c | 2 +- drivers/gpu/drm/i915/gem/i915_gem_shrinker.c | 5 ++--- drivers/gpu/drm/i915/gem/i915_gem_userptr.c | 4 ++-- drivers/gpu/drm/i915/gem/selftests/huge_pages.c | 12 ++++++------ 8 files changed, 44 insertions(+), 22 deletions(-)drivers/gpu/drm/i915/gem/i915_gem_object.c +11
-1@@ -22,6 +22,8 @@* */ +#include <linux/sched/mm.h> +#include "display/intel_frontbuffer.h" #include "gt/intel_gt.h" #include "i915_drv.h" @@ -51,6 +53,14 @@ void i915_gem_object_init(struct drm_i915_gem_object *obj, {mutex_init (&obj->mm.lock); +if (IS_ENABLED (CONFIG_LOCKDEP )) { +mutex_lock_nested (&obj->mm.lock,I915_MM_GET_PAGES ); +fs_reclaim_acquire (GFP_KERNEL ); +might_lock (&obj->mm.lock); +fs_reclaim_release (GFP_KERNEL ); +mutex_unlock (&obj->mm.lock); + } +spin_lock_init (&obj->vma.lock);INIT_LIST_HEAD (&obj->vma.list);@@ -176,7 +186,7 @@ static void __i915_gem_free_objects(struct drm_i915_private *i915,GEM_BUG_ON (!list_empty (&obj->lut_list));atomic_set (&obj->mm.pages_pin_count,0 ); -__i915_gem_object_put_pages (obj,I915_MM_NORMAL ); +__i915_gem_object_put_pages (obj);GEM_BUG_ON (i915_gem_object_has_pages (obj));bitmap_free (obj->bit_17);drivers/gpu/drm/i915/gem/i915_gem_object.h +0
-0@@ -281,11 +281,21 @@ i915_gem_object_unpin_pages(struct drm_i915_gem_object *obj) enum i915_mm_subclass { /* lockdep subclass for obj-Quoted 1 line
mm.lock/struct_mutex */
drivers/gpu/drm/i915/gem/i915_gem_object.h +0
-1I915_MM_NORMAL = 0, -I915_MM_SHRINKER /* called "recursively" from direct-reclaim- esque */
drivers/gpu/drm/i915/gem/i915_gem_object.h +7
-0+/* +* Only used by struct_mutex, when called "recursively" from +* direct-reclaim-esque. Safe because there is only every one +* struct_mutex in the entire system. */ + I915_MM_SHRINKER = 1, +/* +* Used for obj->mm.lock when allocating pages. Safe because the object
drivers/gpu/drm/i915/gem/i915_gem_object.h +6
-2+* isn't yet on any LRU, and therefore the shrinker can't deadlock on +* it. As soon as the object has pages, obj->mm.lock nests within +* fs_reclaim. +*/ + I915_MM_GET_PAGES = 1, }; -int __i915_gem_object_put_pages (struct drm_i915_gem_object *obj, -enum i915_mm_subclass subclass); +int __i915_gem_object_put_pages (struct drm_i915_gem_object *obj);void i915_gem_object_truncate (struct drm_i915_gem_object *obj);void
i915_gem_object_writeback(struct drm_i915_gem_object *obj);drivers/gpu/drm/i915/gem/i915_gem_object_types.h +5
-1@@ -156,7 +156,11 @@ struct drm_i915_gem_object {unsigned int pin_global;struct { -struct mutex lock;/* protects the pages and their use */ +/* +* Protects the pages and their use. Do not use directly, but +* instead go through the pin/unpin interfaces. +*/ +struct mutex lock;atomic_t pages_pin_count;struct sg_table *pages;drivers/gpu/drm/i915/gem/i915_gem_pages.c +3
-3@@ -101,7 +101,7 @@ int __i915_gem_object_get_pages(struct drm_i915_gem_object *obj) {int err; - err =mutex_lock_interruptible (&obj->mm.lock); + err =mutex_lock_interruptible_nested (&obj->mm.lock, +I915_MM_GET_PAGES );if (err)return err;@@ -179,8 +179,7 @@ __i915_gem_object_unset_pages(struct drm_i915_gem_object *obj)return pages; } -int __i915_gem_object_put_pages (struct drm_i915_gem_object *obj, -enum i915_mm_subclass subclass) +int __i915_gem_object_put_pages (struct drm_i915_gem_object *obj) {struct sg_table *pages;drivers/gpu/drm/i915/gem/i915_gem_pages.c +1
-1int err;@@ -191,7 +190,7 @@ int __i915_gem_object_put_pages(struct drm_i915_gem_object *obj,GEM_BUG_ON (atomic_read (&obj->bind_count));/* May be called by shrinker from within get_pages() (on another bo) */ -mutex_lock_nested (&obj->mm.lock, subclass); +mutex_lock (&obj->mm.lock);if (unlikely (atomic_read (&obj->mm.pages_pin_count))) {drivers/gpu/drm/i915/gem/i915_gem_pages.c +2
-1err = -EBUSY ; goto unlock;@@ -285,7 +284,7 @@ void *i915_gem_object_pin_map(struct drm_i915_gem_object *obj, if (unlikely(!i915_gem_object_has_struct_page(obj)))return ERR_PTR (-ENXIO ); - err =mutex_lock_interruptible (&obj->mm.lock); + err =mutex_lock_interruptible_nested (&obj->mm.lock, +I915_MM_GET_PAGES );if (err)return ERR_PTR (err);drivers/gpu/drm/i915/gem/i915_gem_phys.c +1
-1@@ -163,7 +163,7 @@ int i915_gem_object_attach_phys(struct drm_i915_gem_object *obj, int align) if (err) return err; -mutex_lock (&obj->mm.lock); +mutex_lock_nested (&obj->mm.lock,I915_MM_GET_PAGES );if (obj->mm.madv !=I915_MADV_WILLNEED ) {drivers/gpu/drm/i915/gem/i915_gem_phys.c +0
-0err = -EFAULT ;drivers/gpu/drm/i915/gem/i915_gem_shrinker.c +1
-1@@ -98,7 +98,7 @@ static bool unsafe_drop_pages(structdrm_i915_gem_object *obj, flags =I915_GEM_OBJECT_UNBIND_ACTIVE ;if (i915_gem_object_unbind (obj, flags) ==0 ) -__i915_gem_object_put_pages (obj,I915_MM_SHRINKER ); +__i915_gem_object_put_pages (obj); return !i915_gem_object_has_pages(obj); } @@ -254,8 +254,7 @@i915_gem_shrink(struct
drm_i915_private*i915,drivers/gpu/drm/i915/gem/i915_gem_shrinker.c +0
-0if (unsafe_drop_pages (obj, shrink)) {/* May arrive from get_pages on another bo */
drivers/gpu/drm/i915/gem/i915_gem_shrinker.c +1
-2-mutex_lock_nested (&obj->mm.lock, -I915_MM_SHRINKER ); +mutex_lock (&obj->mm.lock);if (!i915_gem_object_has_pages (obj)) {try_to_writeback (obj, shrink); count += obj->base.size >>
PAGE_SHIFT; diff --gita/drivers/gpu/drm/i915/gem/i915_gem_userptr.cb/drivers/gpu/drm/i915/gem/i915_gem_userptr.c
index70dc506a5426..f3b3bc7c32cb100644drivers/gpu/drm/i915/gem/i915_gem_userptr.c +1
-1@@ -158,7 +158,7 @@ userptr_mn_invalidate_range_start(structmmu_notifier *_mn, ret =i915_gem_object_unbind (obj,I915_GEM_OBJECT_UNBIND_ACTIVE );if (ret ==0 ) - ret =__i915_gem_object_put_pages (obj, I915_MM_SHRINKER); + ret =__i915_gem_object_put_pages (obj);drivers/gpu/drm/i915/gem/i915_gem_userptr.c +1
-1i915_gem_object_put (obj);if (ret) goto unlock;@@ -514,7 +514,7 @@ __i915_gem_userptr_get_pages_worker(struct work_struct *_work) } } -mutex_lock (&obj->mm.lock); +mutex_lock_nested (&obj->mm.lock,I915_MM_GET_PAGES );if (obj->userptr.work == &work->work) {struct sg_table *pages =ERR_PTR (ret);drivers/gpu/drm/i915/gem/selftests/huge_pages.c +3
-3@@ -562,7 +562,7 @@ static int igt_mock_ppgtt_misaligned_dma(void *arg)i915_vma_close (vma);i915_gem_object_unpin_pages (obj); -__i915_gem_object_put_pages (obj,I915_MM_NORMAL ); +__i915_gem_object_put_pages (obj);i915_gem_object_put (obj); }@@ -590,7 +590,7 @@ static void close_object_list(struct list_head *objects,list_del (&obj->st_link);i915_gem_object_unpin_pages (obj); -__i915_gem_object_put_pages (obj,I915_MM_NORMAL ); +__i915_gem_object_put_pages (obj);i915_gem_object_put (obj); } }@@ -860,7 +860,7 @@ static int igt_mock_ppgtt_64K(void *arg)i915_vma_close (vma);i915_gem_object_unpin_pages (obj); -__i915_gem_object_put_pages (obj, I915_MM_NORMAL); +__i915_gem_object_put_pages (obj);i915_gem_object_put (obj); }drivers/gpu/drm/i915/gem/selftests/huge_pages.c +1
-1}@@ -1164,7 +1164,7 @@ static int igt_ppgtt_exhaust_huge(void *arg) }i915_gem_object_unpin_pages (obj); -__i915_gem_object_put_pages (obj, I915_MM_NORMAL); +__i915_gem_object_put_pages (obj);i915_gem_object_put (obj); }drivers/gpu/drm/i915/gem/selftests/huge_pages.c +2
-3}@@ -1226,7 +1226,7 @@ static int igt_ppgtt_internal_huge(void *arg) }i915_gem_object_unpin_pages (obj); -__i915_gem_object_put_pages (obj,I915_MM_NORMAL ); +__i915_gem_object_put_pages (obj);i915_gem_object_put (obj); }@@ -1295,7 +1295,7 @@ static int igt_ppgtt_gemfs_huge(void *arg) }i915_gem_object_unpin_pages (obj); -__i915_gem_object_put_pages (obj,I915_MM_NORMAL ); +__i915_gem_object_put_pages (obj);i915_gem_object_put (obj); } --
Quoted 1 line
2.23.0.rc1
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✗ Fi.CI.CHECKPATCH: warning for series starting with drm/i915: Switch obj->mm.lock lockdep annotations on its head (rev2)
In reply to Daniel Vetter== Series Details ==
== Series Details ==
Series: series starting with drm/i915: Switch obj->mm.lock lockdep annotations on its head (rev2)
URL : https://patchwork.freedesktop.org/series/65467/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip 93bdacc163d4 drm/i915: Switch obj->mm.lock lockdep annotations on its head -:118: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #118: FILE: drivers/gpu/drm/i915/gem/i915_gem_object.h:287: + * struct_mutex in the entire system. */
-:308: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 2 warnings, 0 checks, 188 lines checked 3f6e434b7d4d lockdep: add might_lock_nested() -:23: WARNING:SPACE_BEFORE_TAB: please, no space before tabs #23: FILE: include/linux/lockdep.h:634:
+# define might_lock_nested(lock, subclass) ^I^I^I^I\$
-:23: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'lock' - possible side-effects? #23: FILE: include/linux/lockdep.h:634:
+# define might_lock_nested(lock, subclass) \
+do { \
+ typecheck(struct lockdep_map *, &(lock)->dep_map); \
+ lock_acquire(&(lock)->dep_map, subclass, 0, 1, 1, NULL, \
+ _THIS_IP_); \
+ lock_release(&(lock)->dep_map, 0, _THIS_IP_); \
+} while (0)
-:40: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 2 warnings, 1 checks, 20 lines checked7dd9716d5f40 drm/i915: use might_lock_nested in get_pages annotation -:37: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #37: FILE: drivers/gpu/drm/i915/gem/i915_gem_object.h:241:
+ * struct_mutex in the entire system. */
-:78: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 2 warnings, 0 checks, 49 lines checked
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.BAT: success for series starting with drm/i915: Switch obj->mm.lock lockdep annotations on its head (rev2)
In reply to Daniel Vetter== Series Details ==
== Series Details ==
Series: series starting with drm/i915: Switch obj->mm.lock lockdep annotations on its head (rev2)
URL : https://patchwork.freedesktop.org/series/65467/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_6766 -> Patchwork_14143
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14143/
Known issues
------------
Here are the changes found in Patchwork_14143 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_frontbuffer_tracking@basic:
- fi-icl-u3: [PASS][1] -> [FAIL][2] ([fdo#103167])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6766/fi-icl-u3/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14143/fi-icl-u3/igt@[email protected]
#### Possible fixes ####
* igt@gem_mmap_gtt@basic:
- fi-icl-u3: [DMESG-WARN][3] ([fdo#107724]) -> [PASS][4] +1 similar issue
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6766/fi-icl-u3/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14143/fi-icl-u3/igt@[email protected]
* igt@kms_chamelium@dp-edid-read:
- fi-cml-u2: [FAIL][5] -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6766/fi-cml-u2/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14143/fi-cml-u2/igt@[email protected]
* igt@kms_frontbuffer_tracking@basic:
- fi-hsw-peppy: [DMESG-WARN][7] ([fdo#102614]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6766/fi-hsw-peppy/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14143/fi-hsw-peppy/igt@[email protected]
#### Warnings ####
* igt@i915_pm_rpm@basic-pci-d3-state:
- fi-kbl-guc: [FAIL][9] ([fdo#110829]) -> [SKIP][10] ([fdo#109271])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6766/fi-kbl-guc/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14143/fi-kbl-guc/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#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#110829]: https://bugs.freedesktop.org/show_bug.cgi?id=110829
Participating hosts (56 -> 47)
------------------------------
Missing (9): fi-kbl-soraka fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-pnv-d510 fi-icl-y fi-byt-clapper fi-bdw-samus
Build changes
-------------
* CI: CI-20190529 -> None
* Linux: CI_DRM_6766 -> Patchwork_14143
CI-20190529: 20190529
CI_DRM_6766: 018886de47265bb3d5448bbd4e85b0c06947d972 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5148: 50390dd7adaccae21cafa85b866c17606cec94c3 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_14143: 7dd9716d5f402728509ddcee63ed045e86be4412 @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
7dd9716d5f40 drm/i915: use might_lock_nested in get_pages annotation 3f6e434b7d4d lockdep: add might_lock_nested()93bdacc163d4 drm/i915: Switch obj->mm.lock lockdep annotations on its head
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14143/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.IGT: success for series starting with drm/i915: Switch obj->mm.lock lockdep annotations on its head (rev2)
In reply to Daniel Vetter== Series Details ==
== Series Details ==
Series: series starting with drm/i915: Switch obj->mm.lock lockdep annotations on its head (rev2)
URL : https://patchwork.freedesktop.org/series/65467/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_6766_full -> Patchwork_14143_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_14143_full:
### Piglit changes ###
#### Possible regressions ####
* [email protected]@execution@texelfetchoffset@gs-texelfetch-usampler2darray (NEW):
- {pig-snb-2600}: NOTRUN -> [FAIL][1]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14143/pig-snb-2600/[email protected]@execution@[email protected]
New tests
---------
New tests have been introduced between CI_DRM_6766_full and Patchwork_14143_full:
### New Piglit tests (1) ###
* [email protected]@execution@texelfetchoffset@gs-texelfetch-usampler2darray:
- Statuses : 1 fail(s)
- Exec time: [0.14] s
Known issues
------------
Here are the changes found in Patchwork_14143_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_ctx_isolation@vecs0-s3:
- shard-skl: [PASS][2] -> [INCOMPLETE][3] ([fdo#104108])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6766/shard-skl8/igt@[email protected]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14143/shard-skl3/igt@[email protected]
* igt@gem_exec_reloc@basic-write-read-active:
- shard-skl: [PASS][4] -> [DMESG-WARN][5] ([fdo#106107])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6766/shard-skl3/igt@[email protected]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14143/shard-skl4/igt@[email protected]
* igt@gem_exec_schedule@preempt-contexts-bsd2:
- shard-iclb: [PASS][6] -> [SKIP][7] ([fdo#109276]) +12 similar issues
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6766/shard-iclb4/igt@[email protected]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14143/shard-iclb6/igt@[email protected]
* igt@gem_exec_schedule@preempt-other-chain-bsd:
- shard-iclb: [PASS][8] -> [SKIP][9] ([fdo#111325]) +4 similar issues
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6766/shard-iclb7/igt@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14143/shard-iclb1/igt@[email protected]
* igt@i915_pm_rpm@i2c:
- shard-hsw: [PASS][10] -> [FAIL][11] ([fdo#104097])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6766/shard-hsw8/igt@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14143/shard-hsw5/igt@[email protected]
* igt@i915_suspend@debugfs-reader:
- shard-apl: [PASS][12] -> [DMESG-WARN][13] ([fdo#108566]) +1 similar issue
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6766/shard-apl5/igt@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14143/shard-apl5/igt@[email protected]
* igt@kms_cursor_crc@pipe-b-cursor-256x256-onscreen:
- shard-skl: [PASS][14] -> [FAIL][15] ([fdo#103232])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6766/shard-skl6/igt@[email protected]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14143/shard-skl8/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank:
- shard-skl: [PASS][16] -> [FAIL][17] ([fdo#105363]) +1 similar issue
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6766/shard-skl7/igt@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14143/shard-skl3/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-rgb565-draw-pwrite:
- shard-iclb: [PASS][18] -> [FAIL][19] ([fdo#103167]) +4 similar issues
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6766/shard-iclb3/igt@[email protected]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14143/shard-iclb2/igt@[email protected]
* igt@kms_psr@psr2_cursor_render:
- shard-iclb: [PASS][20] -> [SKIP][21] ([fdo#109441])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6766/shard-iclb2/igt@kms_psr@psr2_cursor_render.html
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14143/shard-iclb3/igt@kms_psr@psr2_cursor_render.html
* igt@kms_vblank@pipe-c-wait-forked-busy-hang:
- shard-apl: [PASS][22] -> [INCOMPLETE][23] ([fdo#103927])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6766/shard-apl6/igt@[email protected]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14143/shard-apl3/igt@[email protected]
#### Possible fixes ####
* igt@gem_exec_schedule@preemptive-hang-bsd:
- shard-iclb: [SKIP][24] ([fdo#111325]) -> [PASS][25] +3 similar issues
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6766/shard-iclb2/igt@[email protected]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14143/shard-iclb7/igt@[email protected]
* igt@gem_softpin@noreloc-s3:
- shard-apl: [DMESG-WARN][26] ([fdo#108566]) -> [PASS][27] +1 similar issue
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6766/shard-apl5/igt@[email protected]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14143/shard-apl5/igt@[email protected]
* igt@i915_suspend@forcewake:
- shard-iclb: [INCOMPLETE][28] ([fdo#107713]) -> [PASS][29]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6766/shard-iclb5/igt@[email protected]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14143/shard-iclb7/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-legacy:
- shard-apl: [INCOMPLETE][30] ([fdo#103927]) -> [PASS][31] +2 similar issues
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6766/shard-apl7/igt@[email protected]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14143/shard-apl6/igt@[email protected]
* igt@kms_fbcon_fbt@fbc:
- shard-skl: [DMESG-WARN][32] ([fdo#106107]) -> [PASS][33]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6766/shard-skl8/igt@[email protected]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14143/shard-skl6/igt@[email protected]
* igt@kms_frontbuffer_tracking@basic:
- shard-iclb: [FAIL][34] ([fdo#103167]) -> [PASS][35] +4 similar issues
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6766/shard-iclb1/igt@[email protected]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14143/shard-iclb4/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-move:
- shard-skl: [FAIL][36] ([fdo#103167]) -> [PASS][37]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6766/shard-skl7/igt@[email protected]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14143/shard-skl3/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-a-coverage-7efc:
- shard-skl: [FAIL][38] ([fdo#108145]) -> [PASS][39]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6766/shard-skl7/igt@[email protected]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14143/shard-skl6/igt@[email protected]
* igt@kms_vblank@pipe-b-ts-continuation-dpms-suspend:
- shard-skl: [INCOMPLETE][40] ([fdo#104108]) -> [PASS][41]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6766/shard-skl5/igt@[email protected]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14143/shard-skl10/igt@[email protected]
* igt@perf@polling:
- shard-skl: [FAIL][42] ([fdo#110728]) -> [PASS][43]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6766/shard-skl9/igt@[email protected]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14143/shard-skl2/igt@[email protected]
* igt@prime_busy@hang-bsd2:
- shard-iclb: [SKIP][44] ([fdo#109276]) -> [PASS][45] +14 similar issues
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6766/shard-iclb3/igt@[email protected]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14143/shard-iclb1/igt@[email protected]
#### Warnings ####
* igt@gem_mocs_settings@mocs-isolation-bsd2:
- shard-iclb: [FAIL][46] ([fdo#111330]) -> [SKIP][47] ([fdo#109276])
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6766/shard-iclb4/igt@[email protected]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14143/shard-iclb6/igt@[email protected]
* igt@gem_mocs_settings@mocs-rc6-bsd2:
- shard-iclb: [SKIP][48] ([fdo#109276]) -> [FAIL][49] ([fdo#111330])
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6766/shard-iclb6/igt@[email protected]
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14143/shard-iclb2/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#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#103232]: https://bugs.freedesktop.org/show_bug.cgi?id=103232
[fdo#103927]: https://bugs.freedesktop.org/show_bug.cgi?id=103927
[fdo#104097]: https://bugs.freedesktop.org/show_bug.cgi?id=104097
[fdo#104108]: https://bugs.freedesktop.org/show_bug.cgi?id=104108
[fdo#105363]: https://bugs.freedesktop.org/show_bug.cgi?id=105363
[fdo#106107]: https://bugs.freedesktop.org/show_bug.cgi?id=106107
[fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
[fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
[fdo#108566]: https://bugs.freedesktop.org/show_bug.cgi?id=108566
[fdo#109276]: https://bugs.freedesktop.org/show_bug.cgi?id=109276
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#110728]: https://bugs.freedesktop.org/show_bug.cgi?id=110728
[fdo#111325]: https://bugs.freedesktop.org/show_bug.cgi?id=111325
[fdo#111330]: https://bugs.freedesktop.org/show_bug.cgi?id=111330
[fdo#111472]: https://bugs.freedesktop.org/show_bug.cgi?id=111472
[fdo#111473 ]: https://bugs.freedesktop.org/show_bug.cgi?id=111473
Participating hosts (9 -> 10)
------------------------------
Additional (1): pig-snb-2600
Build changes
-------------
* CI: CI-20190529 -> None
* Linux: CI_DRM_6766 -> Patchwork_14143
CI-20190529: 20190529
CI_DRM_6766: 018886de47265bb3d5448bbd4e85b0c06947d972 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5148: 50390dd7adaccae21cafa85b866c17606cec94c3 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_14143: 7dd9716d5f402728509ddcee63ed045e86be4412 @ git://anongit.freedesktop.org/gfx-ci/linux
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14143/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx