[Intel-gfx] [PATCH 08/15] drm/i915: Integrate i915_sw_fence with debugobjects
Joonas Lahtinen
joonas.lahtinen at linux.intel.com
Fri Nov 25 10:24:31 UTC 2016
On pe, 2016-11-25 at 09:30 +0000, Chris Wilson wrote:
> Add the tracking required to enable debugobjects to improve error
> detection in BAT. The debugobject interface lets us to track the
> lifetime of the fences even while being embedded into larger structs,
> i.e. to check they are not used after they have been released.
>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
<SNIP>
> +static bool i915_sw_fence_fixup_fail(void *addr, enum debug_obj_state state)
> +{
> + return false;
> +}
This is unnecessary, just leave the funcs unpopulated.
Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
Regards, Joonas
--
Joonas Lahtinen
Open Source Technology Center
Intel Corporation
More information about the Intel-gfx
mailing list