xref: /linux/drivers/gpu/drm/xe/tests/xe_kunit_helpers.h (revision 3a39d672e7f48b8d6b91a09afa4b55352773b4b5)
15095d13dSMichal Wajdeczko /* SPDX-License-Identifier: GPL-2.0 AND MIT */
25095d13dSMichal Wajdeczko /*
35095d13dSMichal Wajdeczko  * Copyright © 2023 Intel Corporation
45095d13dSMichal Wajdeczko  */
55095d13dSMichal Wajdeczko 
65095d13dSMichal Wajdeczko #ifndef _XE_KUNIT_HELPERS_H_
75095d13dSMichal Wajdeczko #define _XE_KUNIT_HELPERS_H_
85095d13dSMichal Wajdeczko 
95095d13dSMichal Wajdeczko struct device;
105095d13dSMichal Wajdeczko struct kunit;
115095d13dSMichal Wajdeczko struct xe_device;
125095d13dSMichal Wajdeczko 
135095d13dSMichal Wajdeczko struct xe_device *xe_kunit_helper_alloc_xe_device(struct kunit *test,
145095d13dSMichal Wajdeczko 						  struct device *dev);
155095d13dSMichal Wajdeczko int xe_kunit_helper_xe_device_test_init(struct kunit *test);
165095d13dSMichal Wajdeczko 
17*8bfab7cdSMichal Wajdeczko int xe_kunit_helper_xe_device_live_test_init(struct kunit *test);
18*8bfab7cdSMichal Wajdeczko 
195095d13dSMichal Wajdeczko #endif
20