[Intel-gfx] [PATCH] Revert "drm/i915/selftests: Convert timers to use timer_setup()"

Joonas Lahtinen joonas.lahtinen at linux.intel.com
Wed Oct 25 13:15:57 UTC 2017


On Wed, 2017-10-25 at 14:13 +0100, Chris Wilson wrote:
> This reverts commit 6d0dbd309687113009a276886628c7c74c848d3c.
> 
> timer_setup_on_stack() does not yet exist:
> 
> In file included from drivers/gpu/drm/i915/i915_sw_fence.c:517:0:
> drivers/gpu/drm/i915/selftests/lib_sw_fence.c: In function ‘timed_fence_init’:
> drivers/gpu/drm/i915/selftests/lib_sw_fence.c:63:2: error: implicit declaration of function ‘timer_setup_on_stack’; did you mean ‘hrtimer_init_on_stack’? [-Werror=implicit-function-declaration]
>   timer_setup_on_stack(&tf->timer, timed_fence_wake, 0);
> 
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>

Acked-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