drm/nouveau: ratelimit IRQ messages
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / drm / intel-gtt.h
blobd3c81946f613043652ad40f7e26fcbcf50e130d3
1 /* Common header for intel-gtt.ko and i915.ko */
3 #ifndef _DRM_INTEL_GTT_H
4 #define _DRM_INTEL_GTT_H
5 struct 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;
15 struct intel_gtt *intel_gtt_get(void);
17 #endif