* [PATCH] drm/i915: Purge i915_gem_object_is_dead()
@ 2017-02-28 11:13 Chris Wilson
2017-02-28 13:04 ` Joonas Lahtinen
2017-02-28 16:23 ` ✗ Fi.CI.BAT: failure for " Patchwork
0 siblings, 2 replies; 3+ messages in thread
From: Chris Wilson @ 2017-02-28 11:13 UTC (permalink / raw)
To: intel-gfx
i915_gem_object_is_dead() was a temporary lockdep aide whilst
transitioning to a new locking structure for obj->mm. Since commit
1233e2db199d ("drm/i915: Move object backing storage manipulation to its
own locking") it is now unused and should be removed.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
---
Needs to be after -rc1 backmerge.
---
drivers/gpu/drm/i915/i915_gem_object.h | 6 ------
1 file changed, 6 deletions(-)
diff --git a/drivers/gpu/drm/i915/i915_gem_object.h b/drivers/gpu/drm/i915/i915_gem_object.h
index 4b0d18515e3c..ad1bc0b1a0c2 100644
--- a/drivers/gpu/drm/i915/i915_gem_object.h
+++ b/drivers/gpu/drm/i915/i915_gem_object.h
@@ -264,12 +264,6 @@ __deprecated
extern void drm_gem_object_unreference_unlocked(struct drm_gem_object *);
static inline bool
-i915_gem_object_is_dead(const struct drm_i915_gem_object *obj)
-{
- return kref_read(&obj->base.refcount) == 0;
-}
-
-static inline bool
i915_gem_object_has_struct_page(const struct drm_i915_gem_object *obj)
{
return obj->ops->flags & I915_GEM_OBJECT_HAS_STRUCT_PAGE;
--
2.11.0
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] drm/i915: Purge i915_gem_object_is_dead()
2017-02-28 11:13 [PATCH] drm/i915: Purge i915_gem_object_is_dead() Chris Wilson
@ 2017-02-28 13:04 ` Joonas Lahtinen
2017-02-28 16:23 ` ✗ Fi.CI.BAT: failure for " Patchwork
1 sibling, 0 replies; 3+ messages in thread
From: Joonas Lahtinen @ 2017-02-28 13:04 UTC (permalink / raw)
To: Chris Wilson, intel-gfx
On ti, 2017-02-28 at 11:13 +0000, Chris Wilson wrote:
> i915_gem_object_is_dead() was a temporary lockdep aide whilst
> transitioning to a new locking structure for obj->mm. Since commit
> 1233e2db199d ("drm/i915: Move object backing storage manipulation to its
> own locking") it is now unused and should be removed.
>
> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
> Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Regards, Joonas
--
Joonas Lahtinen
Open Source Technology Center
Intel Corporation
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 3+ messages in thread* ✗ Fi.CI.BAT: failure for drm/i915: Purge i915_gem_object_is_dead()
2017-02-28 11:13 [PATCH] drm/i915: Purge i915_gem_object_is_dead() Chris Wilson
2017-02-28 13:04 ` Joonas Lahtinen
@ 2017-02-28 16:23 ` Patchwork
1 sibling, 0 replies; 3+ messages in thread
From: Patchwork @ 2017-02-28 16:23 UTC (permalink / raw)
To: Chris Wilson; +Cc: intel-gfx
== Series Details ==
Series: drm/i915: Purge i915_gem_object_is_dead()
URL : https://patchwork.freedesktop.org/series/20380/
State : failure
== Summary ==
Series 20380v1 drm/i915: Purge i915_gem_object_is_dead()
https://patchwork.freedesktop.org/api/1.0/series/20380/revisions/1/mbox/
Test kms_pipe_crc_basic:
Subgroup nonblocking-crc-pipe-b-frame-sequence:
pass -> FAIL (fi-skl-6770hq) fdo#99787
Subgroup nonblocking-crc-pipe-c:
pass -> FAIL (fi-skl-6770hq)
Subgroup read-crc-pipe-b-frame-sequence:
pass -> FAIL (fi-skl-6770hq) fdo#99788
fdo#99787 https://bugs.freedesktop.org/show_bug.cgi?id=99787
fdo#99788 https://bugs.freedesktop.org/show_bug.cgi?id=99788
fi-bdw-5557u total:278 pass:267 dwarn:0 dfail:0 fail:0 skip:11
fi-bsw-n3050 total:278 pass:239 dwarn:0 dfail:0 fail:0 skip:39
fi-bxt-j4205 total:278 pass:259 dwarn:0 dfail:0 fail:0 skip:19
fi-bxt-t5700 total:108 pass:95 dwarn:0 dfail:0 fail:0 skip:12
fi-byt-j1900 total:278 pass:251 dwarn:0 dfail:0 fail:0 skip:27
fi-byt-n2820 total:278 pass:247 dwarn:0 dfail:0 fail:0 skip:31
fi-hsw-4770 total:278 pass:262 dwarn:0 dfail:0 fail:0 skip:16
fi-hsw-4770r total:278 pass:262 dwarn:0 dfail:0 fail:0 skip:16
fi-ilk-650 total:278 pass:228 dwarn:0 dfail:0 fail:0 skip:50
fi-ivb-3520m total:278 pass:260 dwarn:0 dfail:0 fail:0 skip:18
fi-ivb-3770 total:278 pass:260 dwarn:0 dfail:0 fail:0 skip:18
fi-kbl-7500u total:278 pass:259 dwarn:1 dfail:0 fail:0 skip:18
fi-skl-6260u total:278 pass:268 dwarn:0 dfail:0 fail:0 skip:10
fi-skl-6700hq total:278 pass:261 dwarn:0 dfail:0 fail:0 skip:17
fi-skl-6700k total:278 pass:256 dwarn:4 dfail:0 fail:0 skip:18
fi-skl-6770hq total:278 pass:265 dwarn:0 dfail:0 fail:3 skip:10
fi-snb-2520m total:278 pass:250 dwarn:0 dfail:0 fail:0 skip:28
fi-snb-2600 total:278 pass:249 dwarn:0 dfail:0 fail:0 skip:29
89683de1f9e7f8fb56bf90ad0682c407b7037bf7 drm-tip: 2017y-02m-28d-14h-58m-42s UTC integration manifest
56d2129 drm/i915: Purge i915_gem_object_is_dead()
== Logs ==
For more details see: https://intel-gfx-ci.01.org/CI/Patchwork_4002/
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-02-28 16:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-28 11:13 [PATCH] drm/i915: Purge i915_gem_object_is_dead() Chris Wilson
2017-02-28 13:04 ` Joonas Lahtinen
2017-02-28 16:23 ` ✗ Fi.CI.BAT: failure for " Patchwork
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.