linuxdebug/drivers/gpu/drm/i915/selftests/mock_region.h

23 lines
474 B
C
Raw Normal View History

2024-07-16 15:50:57 +02:00
/* 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 */