summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_dsi_pll.c
diff options
context:
space:
mode:
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>2015-07-01 11:51:10 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-07-03 07:39:00 +0200
commitca1543be2c4233fbc266bf66f4320806e61e05dd (patch)
tree5a8edebec5b3a912bd77080b27b0bb5faef06b79 /drivers/gpu/drm/i915/intel_dsi_pll.c
parent4ad2af1ed1e972704e1dbc8e7716cd3394a27385 (diff)
downloadtalos-obmc-linux-ca1543be2c4233fbc266bf66f4320806e61e05dd.tar.gz
talos-obmc-linux-ca1543be2c4233fbc266bf66f4320806e61e05dd.zip
drm/i915: Report correct GGTT space usage
Currently only normal views were accounted which under-accounts the usage as reported in debugfs. Introduce new helper, i915_gem_obj_total_ggtt_size, and use it from call sites which want to know how much GGTT space are objects using. v2: Single loop in i915_gem_get_aperture_ioctl. (Chris Wilson) v3: Walk GGTT active/inactive lists in i915_gem_get_aperture_ioctl for better efficiency. (Chris Wilson, Daniel Vetter) v4: Make i915_gem_obj_total_ggtt_size private to debugfs. (Chris Wilson) v5: Change unsigned long to u64. (Chris Wilson) Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dsi_pll.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud