xref: /linux/drivers/gpu/drm/i915/selftests/mock_region.h (revision 0b8061c340b643e01da431dd60c75a41bb1d31ec)
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2019 Intel Corporation
4  */
5 
6 #ifndef __MOCK_REGION_H
7 #define __MOCK_REGION_H
8 
9 #include <linux/types.h>
10 
11 struct drm_i915_private;
12 struct intel_memory_region;
13 
14 struct intel_memory_region *
15 mock_region_create(struct drm_i915_private *i915,
16 		   resource_size_t start,
17 		   resource_size_t size,
18 		   resource_size_t min_page_size,
19 		   resource_size_t io_start);
20 
21 #endif /* !__MOCK_REGION_H */
22