aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-09-30 06:46:12 -0400
committerChris Wilson <chris@chris-wilson.co.uk>2010-10-01 09:45:20 -0400
commit73aa808f10effc280e6eb70267314542a7c29426 (patch)
treee8c7d0e25bb5d0658c47ff0339aec9a65367bbc2 /include
parent6a04002bea137d2c6359228316d9c827806e475f (diff)
drm: Move the GTT accounting to i915
Only drm/i915 does the bookkeeping that makes the information useful, and the information maintained is driver specific, so move it out of the core and into its single user. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/drm/drmP.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h
index 30e827aeba02..bb5c41893c00 100644
--- a/include/drm/drmP.h
+++ b/include/drm/drmP.h
@@ -1041,13 +1041,6 @@ struct drm_device {
1041 /*@{ */ 1041 /*@{ */
1042 spinlock_t object_name_lock; 1042 spinlock_t object_name_lock;
1043 struct idr object_name_idr; 1043 struct idr object_name_idr;
1044 atomic_t object_count;
1045 atomic_t object_memory;
1046 atomic_t pin_count;
1047 atomic_t pin_memory;
1048 atomic_t gtt_count;
1049 atomic_t gtt_memory;
1050 uint32_t gtt_total;
1051 uint32_t invalidate_domains; /* domains pending invalidation */ 1044 uint32_t invalidate_domains; /* domains pending invalidation */
1052 uint32_t flush_domains; /* domains pending flush */ 1045 uint32_t flush_domains; /* domains pending flush */
1053 /*@} */ 1046 /*@} */
@@ -1378,7 +1371,6 @@ extern int drm_bufs_info(struct seq_file *m, void *data);
1378extern int drm_vblank_info(struct seq_file *m, void *data); 1371extern int drm_vblank_info(struct seq_file *m, void *data);
1379extern int drm_clients_info(struct seq_file *m, void* data); 1372extern int drm_clients_info(struct seq_file *m, void* data);
1380extern int drm_gem_name_info(struct seq_file *m, void *data); 1373extern int drm_gem_name_info(struct seq_file *m, void *data);
1381extern int drm_gem_object_info(struct seq_file *m, void* data);
1382 1374
1383#if DRM_DEBUG_CODE 1375#if DRM_DEBUG_CODE
1384extern int drm_vma_info(struct seq_file *m, void *data); 1376extern int drm_vma_info(struct seq_file *m, void *data);