linux-stable/drivers/gpu/drm/ttm
Somalapuram Amaranath e3c92eb4a8 drm/ttm: rework on ttm_resource to use size_t type
Change ttm_resource structure from num_pages to size_t size in bytes.
v1 -> v2: change PFN_UP(dst_mem->size) to ttm->num_pages
v1 -> v2: change bo->resource->size to bo->base.size at some places
v1 -> v2: remove the local variable
v1 -> v2: cleanup cmp_size_smaller_first()
v2 -> v3: adding missing PFN_UP in ttm_bo_vm_fault_reserved

Signed-off-by: Somalapuram Amaranath <Amaranath.Somalapuram@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221027091237.983582-1-Amaranath.Somalapuram@amd.com
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
2022-10-27 11:42:58 +02:00
..
Makefile
ttm_agp_backend.c drm/ttm: Add a parameter to add extra pages into ttm_tt 2022-04-02 08:22:48 +05:30
ttm_bo.c drm/ttm: rework on ttm_resource to use size_t type 2022-10-27 11:42:58 +02:00
ttm_bo_util.c drm/ttm: rework on ttm_resource to use size_t type 2022-10-27 11:42:58 +02:00
ttm_bo_vm.c drm/ttm: rework on ttm_resource to use size_t type 2022-10-27 11:42:58 +02:00
ttm_device.c drm/ttm: fix missing NULL check in ttm_device_swapout 2022-06-10 13:20:21 +02:00
ttm_execbuf_util.c drm/ttm: fix logic inversion in ttm_eu_reserve_buffers 2022-04-11 16:00:57 +02:00
ttm_module.c LoongArch: Add writecombine support for drm 2022-06-03 20:09:27 +08:00
ttm_module.h
ttm_pool.c mm: shrinkers: provide shrinkers with names 2022-07-03 18:08:40 -07:00
ttm_range_manager.c drm/ttm: rework on ttm_resource to use size_t type 2022-10-27 11:42:58 +02:00
ttm_resource.c drm/ttm: rework on ttm_resource to use size_t type 2022-10-27 11:42:58 +02:00
ttm_sys_manager.c drm/ttm: add back a reference to the bdev to the res manager 2022-01-26 15:29:24 +01:00
ttm_tt.c drm/ttm: use kvcalloc() instead of kvmalloc_array() in ttm_tt v2 2022-04-21 14:47:30 +02:00