We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c38e753 commit 397c07aCopy full SHA for 397c07a
drivers/gpu/drm/xe/xe_oa.c
@@ -1766,8 +1766,8 @@ static int xe_oa_stream_init(struct xe_oa_stream *stream,
1766
1767
WRITE_ONCE(u->exclusive_stream, stream);
1768
1769
- hrtimer_init(&stream->poll_check_timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL);
1770
- stream->poll_check_timer.function = xe_oa_poll_check_timer_cb;
+ hrtimer_setup(&stream->poll_check_timer, xe_oa_poll_check_timer_cb, CLOCK_MONOTONIC,
+ HRTIMER_MODE_REL);
1771
init_waitqueue_head(&stream->poll_wq);
1772
1773
spin_lock_init(&stream->oa_buffer.ptr_lock);
0 commit comments