• Daniel Vetter's avatar
    drm: remove dev->vma_count · 99c09e74
    Daniel Vetter authored
    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: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
    99c09e74
drm_fops.c 16.5 KB