summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/selftests/mock_region.h
blob: e36c3a43355133fc47f7d9d052e12f0d2f7a102d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* SPDX-License-Identifier: MIT */
/*
 * Copyright © 2019 Intel Corporation
 */

#ifndef __MOCK_REGION_H
#define __MOCK_REGION_H

#include <linux/types.h>

struct drm_i915_private;
struct intel_memory_region;

struct intel_memory_region *
mock_region_create(struct drm_i915_private *i915,
		   resource_size_t start,
		   resource_size_t size,
		   resource_size_t min_page_size,
		   resource_size_t io_start,
		   resource_size_t io_size);

#endif /* !__MOCK_REGION_H */