| 1 | /* SPDX-License-Identifier: MIT */ |
|---|---|
| 2 | /* |
| 3 | * Copyright © 2022 Intel Corporation |
| 4 | */ |
| 5 | |
| 6 | #ifndef __I915_GEM_INTERNAL_H__ |
| 7 | #define __I915_GEM_INTERNAL_H__ |
| 8 | |
| 9 | #include <linux/types.h> |
| 10 | |
| 11 | struct drm_i915_gem_object; |
| 12 | struct drm_i915_gem_object_ops; |
| 13 | struct drm_i915_private; |
| 14 | |
| 15 | struct drm_i915_gem_object * |
| 16 | i915_gem_object_create_internal(struct drm_i915_private *i915, |
| 17 | phys_addr_t size); |
| 18 | struct drm_i915_gem_object * |
| 19 | __i915_gem_object_create_internal(struct drm_i915_private *i915, |
| 20 | const struct drm_i915_gem_object_ops *ops, |
| 21 | phys_addr_t size); |
| 22 | |
| 23 | #endif /* __I915_GEM_INTERNAL_H__ */ |
| 24 |
