]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - include/drm/intel-gtt.h
intel-gtt: fold i81x-only dcache support into the generic driver
[mirror_ubuntu-bionic-kernel.git] / include / drm / intel-gtt.h
CommitLineData
0ade6386
DV
1/* Common header for intel-gtt.ko and i915.ko */
2
3#ifndef _DRM_INTEL_GTT_H
4#define _DRM_INTEL_GTT_H
c64f7ba5
CW
5
6const struct intel_gtt {
7 /* Size of memory reserved for graphics by the BIOS */
8 unsigned int stolen_size;
0ade6386
DV
9 /* Total number of gtt entries. */
10 unsigned int gtt_total_entries;
11 /* Part of the gtt that is mappable by the cpu, for those chips where
12 * this is not the full gtt. */
13 unsigned int gtt_mappable_entries;
c64f7ba5 14} *intel_gtt_get(void);
19966754 15
0ade6386
DV
16#endif
17