xref: /linux/drivers/gpu/drm/i915/selftests/mock_region.h (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
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 		   resource_size_t io_size);
21 
22 #endif /* !__MOCK_REGION_H */
23