diff options
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_drv.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h index 66acc7c3bb03..7cfbc0fbd952 100644 --- a/drivers/gpu/drm/i915/i915_drv.h +++ b/drivers/gpu/drm/i915/i915_drv.h | |||
@@ -642,6 +642,15 @@ typedef struct drm_i915_private { | |||
642 | struct drm_i915_gem_phys_object *phys_objs[I915_MAX_PHYS_OBJECT]; | 642 | struct drm_i915_gem_phys_object *phys_objs[I915_MAX_PHYS_OBJECT]; |
643 | 643 | ||
644 | uint32_t flush_rings; | 644 | uint32_t flush_rings; |
645 | |||
646 | /* accounting, useful for userland debugging */ | ||
647 | size_t object_memory; | ||
648 | size_t pin_memory; | ||
649 | size_t gtt_memory; | ||
650 | size_t gtt_total; | ||
651 | u32 object_count; | ||
652 | u32 pin_count; | ||
653 | u32 gtt_count; | ||
645 | } mm; | 654 | } mm; |
646 | struct sdvo_device_mapping sdvo_mappings[2]; | 655 | struct sdvo_device_mapping sdvo_mappings[2]; |
647 | /* indicate whether the LVDS_BORDER should be enabled or not */ | 656 | /* indicate whether the LVDS_BORDER should be enabled or not */ |