diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-09-30 06:46:12 -0400 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-10-01 09:45:20 -0400 |
commit | 73aa808f10effc280e6eb70267314542a7c29426 (patch) | |
tree | e8c7d0e25bb5d0658c47ff0339aec9a65367bbc2 /include | |
parent | 6a04002bea137d2c6359228316d9c827806e475f (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.h | 8 |
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); | |||
1378 | extern int drm_vblank_info(struct seq_file *m, void *data); | 1371 | extern int drm_vblank_info(struct seq_file *m, void *data); |
1379 | extern int drm_clients_info(struct seq_file *m, void* data); | 1372 | extern int drm_clients_info(struct seq_file *m, void* data); |
1380 | extern int drm_gem_name_info(struct seq_file *m, void *data); | 1373 | extern int drm_gem_name_info(struct seq_file *m, void *data); |
1381 | extern int drm_gem_object_info(struct seq_file *m, void* data); | ||
1382 | 1374 | ||
1383 | #if DRM_DEBUG_CODE | 1375 | #if DRM_DEBUG_CODE |
1384 | extern int drm_vma_info(struct seq_file *m, void *data); | 1376 | extern int drm_vma_info(struct seq_file *m, void *data); |