Re: [Intel-gfx] [PATCH 1/4] drm/i915: introduce GEM_WARN_ON

2016-12-13 Thread Chris Wilson
On Tue, Dec 13, 2016 at 08:32:19PM +, Matthew Auld wrote: > In a similar spirit to GEM_BUG_ON we now also have GEM_WARN_ON, with the > simple goal of expressing warnings which are truly insane, and so are > only really useful for CI where we have some abusive tests. > > v2: > - use BUILD_BUG

[Intel-gfx] [PATCH 1/4] drm/i915: introduce GEM_WARN_ON

2016-12-13 Thread Matthew Auld
In a similar spirit to GEM_BUG_ON we now also have GEM_WARN_ON, with the simple goal of expressing warnings which are truly insane, and so are only really useful for CI where we have some abusive tests. v2: - use BUILD_BUG_ON_INVALID for !DEBUG_GEM - clarify commit message Cc: Joonas Lahtinen