Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: MIT */
0002 /*
0003  * Copyright © 2022 Intel Corporation
0004  */
0005 
0006 #ifndef __I915_GEM_INTERNAL_H__
0007 #define __I915_GEM_INTERNAL_H__
0008 
0009 #include <linux/types.h>
0010 
0011 struct drm_i915_gem_object;
0012 struct drm_i915_gem_object_ops;
0013 struct drm_i915_private;
0014 
0015 struct drm_i915_gem_object *
0016 i915_gem_object_create_internal(struct drm_i915_private *i915,
0017                 phys_addr_t size);
0018 struct drm_i915_gem_object *
0019 __i915_gem_object_create_internal(struct drm_i915_private *i915,
0020                   const struct drm_i915_gem_object_ops *ops,
0021                   phys_addr_t size);
0022 
0023 #endif /* __I915_GEM_INTERNAL_H__ */