This source file includes following definitions.
- huge_gem_object_phys_size
- huge_gem_object_dma_size
1
2
3
4
5
6
7 #ifndef __HUGE_GEM_OBJECT_H
8 #define __HUGE_GEM_OBJECT_H
9
10 struct drm_i915_gem_object *
11 huge_gem_object(struct drm_i915_private *i915,
12 phys_addr_t phys_size,
13 dma_addr_t dma_size);
14
15 static inline phys_addr_t
16 huge_gem_object_phys_size(struct drm_i915_gem_object *obj)
17 {
18 return obj->scratch;
19 }
20
21 static inline dma_addr_t
22 huge_gem_object_dma_size(struct drm_i915_gem_object *obj)
23 {
24 return obj->base.size;
25 }
26
27 #endif