xref: /linux/drivers/gpu/drm/i915/selftests/mock_region.h (revision a4eb44a6435d6d8f9e642407a4a06f65eb90ca04)
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