The headers in the gem/selftests/, gt/selftests, gvt/, selftests/ directories have never been compile-tested, but it would be possible to make them self-contained. This commit only addresses missing <linux/types.h> and forward struct declarations. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20191108094142.25942-1-yamada.masahiro@socionext.com
18 lines
352 B
C
18 lines
352 B
C
/*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
* Copyright © 2017-2018 Intel Corporation
|
|
*/
|
|
|
|
#ifndef __MOCK_TIMELINE__
|
|
#define __MOCK_TIMELINE__
|
|
|
|
#include <linux/types.h>
|
|
|
|
struct intel_timeline;
|
|
|
|
void mock_timeline_init(struct intel_timeline *timeline, u64 context);
|
|
void mock_timeline_fini(struct intel_timeline *timeline);
|
|
|
|
#endif /* !__MOCK_TIMELINE__ */
|