[PATCH 14/14] drm/ttm: simplify memory accounting for ttm user v2

2011-11-18 Thread j.gli...@gmail.com
From: Jerome Glisse 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

[PATCH 14/14] drm/ttm: simplify memory accounting for ttm user v2

2011-11-18 Thread j . glisse
From: Jerome Glisse 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

[PATCH 14/14] drm/ttm: simplify memory accounting for ttm user

2011-11-17 Thread Thomas Hellstrom
On 11/16/2011 05:57 PM, j.glisse at gmail.com wrote: > From: Jerome Glisse > > 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. > > Signed-off-by: Jerome Gl

Re: [PATCH 14/14] drm/ttm: simplify memory accounting for ttm user

2011-11-17 Thread Thomas Hellstrom
On 11/16/2011 05:57 PM, j.gli...@gmail.com wrote: From: Jerome Glisse 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. Signed-off-by: Jerome Glisse Ni

[PATCH 14/14] drm/ttm: simplify memory accounting for ttm user

2011-11-16 Thread j.gli...@gmail.com
From: Jerome Glisse 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. Signed-off-by: Jerome Glisse --- drivers/gpu/drm/nouveau/nouveau_bo.c |6 +++-

[PATCH 14/14] drm/ttm: simplify memory accounting for ttm user

2011-11-16 Thread j . glisse
From: Jerome Glisse 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. Signed-off-by: Jerome Glisse --- drivers/gpu/drm/nouveau/nouveau_bo.c |6 +++-

[PATCH 14/14] drm/ttm: simplify memory accounting for ttm user

2011-11-11 Thread j.gli...@gmail.com
From: Jerome Glisse 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. Signed-off-by: Jerome Glisse --- drivers/gpu/drm/nouveau/nouveau_bo.c |6 +++-

[PATCH 14/14] drm/ttm: simplify memory accounting for ttm user

2011-11-11 Thread j . glisse
From: Jerome Glisse 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. Signed-off-by: Jerome Glisse --- drivers/gpu/drm/nouveau/nouveau_bo.c |6 +++-