diff options
author | Jerome Glisse <jglisse@redhat.com> | 2011-11-11 21:42:57 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-12-06 11:40:11 +0100 |
commit | 57de4ba959b290f0b8cf36ecd5e7f1b29d4b8a12 (patch) | |
tree | 8063f4dfaf1a22bf8cf7a5f0410d4e4929b250ec /fs/squashfs/id.c | |
parent | drm/ttm: isolate dma data from ttm_tt V4 (diff) | |
download | linux-57de4ba959b290f0b8cf36ecd5e7f1b29d4b8a12.tar.xz linux-57de4ba959b290f0b8cf36ecd5e7f1b29d4b8a12.zip |
drm/ttm: simplify memory accounting for ttm user v2
Provide helper function to compute the kernel memory size needed
for each buffer object. Move all the accounting inside ttm, simplifying
driver and avoiding code duplication accross them.
v2 fix accounting of ghost object, one would have thought that i
would have run into the issue since a longtime but it seems
ghost object are rare when you have plenty of vram ;)
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Diffstat (limited to 'fs/squashfs/id.c')
0 files changed, 0 insertions, 0 deletions