xref: /kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/mock_region.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/
18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: MIT */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Copyright © 2019 Intel Corporation
48c2ecf20Sopenharmony_ci */
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ci#ifndef __MOCK_REGION_H
78c2ecf20Sopenharmony_ci#define __MOCK_REGION_H
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci#include <linux/types.h>
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_cistruct drm_i915_private;
128c2ecf20Sopenharmony_cistruct intel_memory_region;
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_cistruct intel_memory_region *
158c2ecf20Sopenharmony_cimock_region_create(struct drm_i915_private *i915,
168c2ecf20Sopenharmony_ci		   resource_size_t start,
178c2ecf20Sopenharmony_ci		   resource_size_t size,
188c2ecf20Sopenharmony_ci		   resource_size_t min_page_size,
198c2ecf20Sopenharmony_ci		   resource_size_t io_start);
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ci#endif /* !__MOCK_REGION_H */
22

Indexes created Thu Nov 07 10:32:03 CST 2024