blob: d3c81946f613043652ad40f7e26fcbcf50e130d3 [file] [log] [blame]
Daniel Vetter0ade6382010-08-24 22:18:41 +02001/* Common header for intel-gtt.ko and i915.ko */
2
3#ifndef _DRM_INTEL_GTT_H
4#define _DRM_INTEL_GTT_H
Daniel Vetter0ade6382010-08-24 22:18:41 +02005struct intel_gtt {
6 /* Number of stolen gtt entries at the beginning. */
7 unsigned int gtt_stolen_entries;
8 /* Total number of gtt entries. */
9 unsigned int gtt_total_entries;
10 /* Part of the gtt that is mappable by the cpu, for those chips where
11 * this is not the full gtt. */
12 unsigned int gtt_mappable_entries;
13};
14
Daniel Vetter19966752010-09-06 20:08:44 +020015struct intel_gtt *intel_gtt_get(void);
16
Daniel Vetter0ade6382010-08-24 22:18:41 +020017#endif
18