aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/gem/i915_gem_internal.h
blob: 6664e06112fc3989dfb78dc42029702b9d317e1a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* SPDX-License-Identifier: MIT */
/*
 * Copyright © 2022 Intel Corporation
 */

#ifndef __I915_GEM_INTERNAL_H__
#define __I915_GEM_INTERNAL_H__

#include <linux/types.h>

struct drm_i915_gem_object;
struct drm_i915_gem_object_ops;
struct drm_i915_private;

struct drm_i915_gem_object *
i915_gem_object_create_internal(struct drm_i915_private *i915,
				phys_addr_t size);
struct drm_i915_gem_object *
__i915_gem_object_create_internal(struct drm_i915_private *i915,
				  const struct drm_i915_gem_object_ops *ops,
				  phys_addr_t size);

#endif /* __I915_GEM_INTERNAL_H__ */