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

Kees Cook keescook at chromium.org
Wed Oct 25 14:05:13 UTC 2017


On Wed, Oct 25, 2017 at 3:11 PM, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> Quoting Chris Wilson (2017-10-25 11:24:19)
>> Quoting Chris Wilson (2017-10-24 17:17:09)
>> > Quoting Kees Cook (2017-10-24 16:13:44)
>> > > In preparation for unconditionally passing the struct timer_list pointer to
>> > > all timer callbacks, switch to using the new timer_setup() and from_timer()
>> > > to pass the timer pointer explicitly.
>> > >
>> > > Cc: Jani Nikula <jani.nikula at linux.intel.com>
>> > > Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
>> > > Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
>> > > Cc: David Airlie <airlied at linux.ie>
>> > > Cc: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
>> > > Cc: Chris Wilson <chris at chris-wilson.co.uk>
>> > > Cc: intel-gfx at lists.freedesktop.org
>> > > Cc: dri-devel at lists.freedesktop.org
>> > > Signed-off-by: Kees Cook <keescook at chromium.org>
>> >
>> > Thank you for saving me from having to do this myself,
>> > Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
>>
>> I've a small batch of selftests patches queued, so added this one and
>> will push to drm-intel-next-queued shortly.
>
> Oh dear, major faux pas. There is no timer_setup_on_stack yet.

Argh. Right, sorry. That's only in -next. Since this is mainly a
mechanical change, should I carry this in the timer tree, or wait
until the merge window for it to go via i915?

-Kees

-- 
Kees Cook
Pixel Security


More information about the Intel-gfx mailing list