summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/selftests/mock_region.h
blob: 329bf74dfaca71e93d37bc0ae56c3ea2834117b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* 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);

#endif /* !__MOCK_REGION_H */