11.1Sriastrad/* $NetBSD: mock_gtt.h,v 1.2 2021/12/18 23:45:31 riastradh Exp $ */ 21.1Sriastrad 31.1Sriastrad/* 41.1Sriastrad * Copyright © 2016 Intel Corporation 51.1Sriastrad * 61.1Sriastrad * Permission is hereby granted, free of charge, to any person obtaining a 71.1Sriastrad * copy of this software and associated documentation files (the "Software"), 81.1Sriastrad * to deal in the Software without restriction, including without limitation 91.1Sriastrad * the rights to use, copy, modify, merge, publish, distribute, sublicense, 101.1Sriastrad * and/or sell copies of the Software, and to permit persons to whom the 111.1Sriastrad * Software is furnished to do so, subject to the following conditions: 121.1Sriastrad * 131.1Sriastrad * The above copyright notice and this permission notice (including the next 141.1Sriastrad * paragraph) shall be included in all copies or substantial portions of the 151.1Sriastrad * Software. 161.1Sriastrad * 171.1Sriastrad * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 181.1Sriastrad * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 191.1Sriastrad * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 201.1Sriastrad * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 211.1Sriastrad * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 221.1Sriastrad * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 231.1Sriastrad * IN THE SOFTWARE. 241.1Sriastrad * 251.1Sriastrad */ 261.1Sriastrad 271.1Sriastrad#ifndef __MOCK_GTT_H 281.1Sriastrad#define __MOCK_GTT_H 291.1Sriastrad 301.1Sriastradstruct drm_i915_private; 311.1Sriastradstruct i915_ggtt; 321.1Sriastrad 331.1Sriastradvoid mock_init_ggtt(struct drm_i915_private *i915, struct i915_ggtt *ggtt); 341.1Sriastradvoid mock_fini_ggtt(struct i915_ggtt *ggtt); 351.1Sriastrad 361.1Sriastradstruct i915_ppgtt *mock_ppgtt(struct drm_i915_private *i915, const char *name); 371.1Sriastrad 381.1Sriastrad#endif /* !__MOCK_GTT_H */ 39