diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-12-11 14:35:10 +0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-12-18 05:43:29 +0400 |
commit | 99c09e745d078b630dbb3ea2895eaa597f1cebc4 (patch) | |
tree | 2d6ad24830e2e55a042c6fe52e70ff72e1fea74f /include | |
parent | 5952fba501b928f214f64a7a9c461ae2cd5c3f45 (diff) | |
download | linux-99c09e745d078b630dbb3ea2895eaa597f1cebc4.tar.xz |
drm: remove dev->vma_count
This is just used for a debugfs file, and we can easily reconstruct
this number by just walking the list twice. Which isn't really bad for
a debugfs file anyway.
So let's rip this out.
There's the other issue that the dev->vmalist itself is a bit useless,
since that can be reconstructed with all the memory mapping
information from proc. But remove that is a different topic entirely.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/drm/drmP.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h index 5b6c33ce776f..2fe9b5d5d162 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h @@ -1109,7 +1109,6 @@ struct drm_device { /** \name Usage Counters */ /*@{ */ int open_count; /**< Outstanding files open */ - atomic_t vma_count; /**< Outstanding vma areas open */ int buf_use; /**< Buffers in use -- cannot alloc */ atomic_t buf_alloc; /**< Buffer allocation in progress */ /*@} */ |